- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.7 (1)
Debian flang version 21.1.7 (1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘DisImpact/DESCRIPTION’ ... OK
- this is package ‘DisImpact’ version ‘0.0.21’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 serialization versions ... OK
- checking whether package ‘DisImpact’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/3s] OK
- checking whether startup messages can be suppressed ... [2s/3s] 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 ... [14s/18s] OK
- checking Rd files ... [0s/1s] 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 ... [0s/1s] 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 ... [5s/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/6s] ERROR
Running ‘tinytest.R’ [5s/6s]
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 ... [128s/160s] OK
- checking PDF version of manual ... [6s/9s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR