CRAN Package Check Results for Package iNZightTools

Last updated on 2026-06-08 14:50:27 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.3 11.56 132.72 144.28 OK
r-devel-linux-x86_64-debian-gcc 2.0.3 7.78 90.06 97.84 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.3 21.00 206.53 227.53 OK
r-devel-linux-x86_64-fedora-gcc 2.0.3 22.00 225.34 247.34 OK
r-devel-windows-x86_64 2.0.3 15.00 150.00 165.00 OK
r-patched-linux-x86_64 2.0.3 9.93 126.13 136.06 OK
r-release-linux-x86_64 2.0.3 9.37 126.27 135.64 OK
r-release-macos-arm64 2.0.3 3.00 31.00 34.00 OK
r-release-macos-x86_64 2.0.3 8.00 146.00 154.00 OK
r-release-windows-x86_64 2.0.3 16.00 152.00 168.00 OK
r-oldrel-macos-arm64 2.0.3 OK
r-oldrel-macos-x86_64 2.0.3 8.00 103.00 111.00 OK
r-oldrel-windows-x86_64 2.0.3 20.00 192.00 212.00 OK

Check Details

Version: 2.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [23s/31s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(iNZightTools) Attaching package: 'iNZightTools' The following object is masked from 'package:stats': filter The following object is masked from 'package:base': %||% > > test_check("iNZightTools") Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart Saving _problems/test_helpers-27.R Saving _problems/test_inzdf-17.R Saving _problems/test_inzdf-69.R Saving _problems/test_linked-71.R Saving _problems/test_linked-95.R Saving _problems/test_linked-120.R Saving _problems/test_smart_read-13.R Attaching package: 'magrittr' The following object is masked from 'package:purrr': set_names The following objects are masked from 'package:testthat': equals, is_less_than, not [ FAIL 8 | WARN 112 | SKIP 4 | PASS 348 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test_smart_read.R:29:5', 'test_smart_read.R:259:5' • {haven} is not installed (1): 'test_smart_read.R:39:5' • {surveyspec} is not installed (1): 'test_survey_design.R:6:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_helpers.R:27:5'): Vartype is correct ─────────────────────────── Error in `inzdf.SQLiteConnection(con, "iris", keep_con = TRUE)`: dbplyr is required to use inzdf with databases Backtrace: ▆ 1. ├─iNZightTools::inzdf(con, "iris", keep_con = TRUE) at test_helpers.R:27:5 2. └─iNZightTools:::inzdf.SQLiteConnection(con, "iris", keep_con = TRUE) ── Error ('test_inzdf.R:17:5'): SQLite database supported ────────────────────── Error in `inzdf.SQLiteConnection(con, "iris", keep_con = TRUE)`: dbplyr is required to use inzdf with databases Backtrace: ▆ 1. ├─iNZightTools::inzdf(con, "iris", keep_con = TRUE) at test_inzdf.R:17:5 2. └─iNZightTools:::inzdf.SQLiteConnection(con, "iris", keep_con = TRUE) ── Error ('test_inzdf.R:54:5'): Linked data in database supported ────────────── Error in `inzdf.SQLiteConnection(con, "iris_linked", schema = list(iris_data = list(links_to = list(iris_species = "species_id")), iris_species = list(links_to = list(iris_extra = c(type_id = "id")))), keep_con = TRUE)`: dbplyr is required to use inzdf with databases Backtrace: ▆ 1. ├─iNZightTools::inzdf(...) at test_inzdf.R:54:5 2. └─iNZightTools:::inzdf.SQLiteConnection(...) ── Error ('test_linked.R:65:5'): Linked data loading ─────────────────────────── Error in `inzdf.SQLiteConnection(con, name = name, schema = x$schema, var_attrs, dictionary = x$dictionary, keep_con = keep_con)`: dbplyr is required to use inzdf with databases Backtrace: ▆ 1. └─iNZightTools::load_linked(...) at test_linked.R:65:5 2. ├─iNZightTools::inzdf(...) 3. └─iNZightTools:::inzdf.SQLiteConnection(...) ── Error ('test_linked.R:95:5'): Link spec file ──────────────────────────────── Error in `inzdf.SQLiteConnection(con, name = name, schema = x$schema, var_attrs, dictionary = x$dictionary, keep_con = keep_con)`: dbplyr is required to use inzdf with databases Backtrace: ▆ 1. └─iNZightTools::load_linked(dl, con = con, keep_con = TRUE) at test_linked.R:95:5 2. ├─iNZightTools::inzdf(...) 3. └─iNZightTools:::inzdf.SQLiteConnection(...) ── Error ('test_linked.R:120:5'): Dicionaries load ───────────────────────────── Error in `inzdf.SQLiteConnection(con, name = name, schema = x$schema, var_attrs, dictionary = x$dictionary, keep_con = keep_con)`: dbplyr is required to use inzdf with databases Backtrace: ▆ 1. └─iNZightTools::load_linked(tc, con = con, keep_con = TRUE) at test_linked.R:120:5 2. ├─iNZightTools::inzdf(...) 3. └─iNZightTools:::inzdf.SQLiteConnection(...) ── Error ('test_smart_read.R:13:5'): files parsed correctly ──────────────────── Error in `.check_haven()`: Please install suggested package: 'haven Backtrace: ▆ 1. ├─testthat::expect_s3_class(smart_read("appbset1.sav"), "data.frame") at test_smart_read.R:13:5 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─iNZightTools::smart_read("appbset1.sav") 5. └─iNZightTools (local) fun(...) 6. └─iNZightTools:::.check_haven() ── Error ('test_smart_read.R:118:5'): SAS Import num to cat works ────────────── Error in `.check_haven()`: Please install suggested package: 'haven Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test_smart_read.R:118:5 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─iNZightTools::smart_read(...) 10. └─iNZightTools (local) fun(...) 11. └─iNZightTools:::.check_haven() [ FAIL 8 | WARN 112 | SKIP 4 | PASS 348 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc