- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.8
flang version 21.1.8
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘DisImpact/DESCRIPTION’ ... OK
- this is package ‘DisImpact’ version ‘0.0.21’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘DisImpact’ can be installed ... [15s/19s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [22s/31s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [8s/11s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/10s] ERROR
Running ‘tinytest.R’
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ home <- (Sys.getenv('USERNAME') %in% c('vnguyen216', 'vinh')) # flag if at home; run tests involving parallel=TRUE at home only and not on CRAN
+
+ if ("env" %in% names(as.list(args(utils::getFromNamespace("[.data.table", "data.table"))))) { # run test only if most recent version of data.table with dt[, env] functionality; https://stackoverflow.com/a/63023801
+ tinytest::test_package('DisImpact', at_home = home)
+ }
+ }
test_consistency_of_iterate_functions.R 0 tests
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
test_consistency_of_iterate_functions.R 0 tests
Attaching package: 'data.table'
The following objects are masked from 'package:dplyr':
between, first, last
The following object is masked from 'package:base':
%notin%
test_consistency_of_iterate_functions.R 0 tests Loading required package: DBI
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests `summarise()` has grouped output by 'Math', 'English', 'Transfer',
'Cohort_Math', 'Cohort_English', 'Cohort', 'Ethnicity', 'Gender', 'Ed_Goal'.
You can override using the `.groups` argument.
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests `summarise()` has grouped output by 'Math', 'English', 'Transfer',
'Cohort_Math', 'Cohort_English', 'Cohort', 'Ethnicity', 'Gender', 'Ed_Goal'.
You can override using the `.groups` argument.
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests
test_consistency_of_iterate_functions.R 0 tests Error in `pmap()`:
ℹ In index: 1.
Caused by error in `[.data.table`:
! attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. ├─tinytest::test_package("DisImpact", at_home = home)
2. │ └─tinytest::run_test_dir(...)
3. │ └─base::lapply(...)
4. │ └─tinytest (local) FUN(X[[i]], ...)
5. │ └─base::eval(expr, envir = e)
6. │ └─base::eval(expr, envir = e)
7. │ └─DisImpact::di_iterate_dt(...)
8. │ ├─pmap(dScenarios, di_calc_dt, dt = dt_summ) %>% rbindlist
9. │ └─purrr::pmap(dScenarios, di_calc_dt, dt = dt_summ)
10. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
11. │ ├─purrr:::with_indexed_errors(...)
12. │ │ └─base::withCallingHandlers(...)
13. │ ├─purrr:::call_with_cleanup(...)
14. │ └─DisImpact (local) .f(...)
15. │ ├─...[]
16. │ └─data.table:::`[.data.table`(...)
17. ├─data.table::rbindlist(.)
18. └─base::.handleSimpleError(...)
19. └─purrr (local) h(simpleError(msg, call))
20. └─cli::cli_abort(...)
21. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [196s/256s] OK
- checking PDF version of manual ... [10s/13s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR