- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'CimpleG/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'CimpleG' version '1.0.0'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'CimpleG' can be installed ... 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [2s] OK
- checking whether startup messages can be suppressed ... [1s] 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 ... [10s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 ... [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 ... [21s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [159s] ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [158s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(CimpleG)
---------------------
CimpleG version 1.0.0
---------------------
>
> test_check("CimpleG")
Starting 2 test processes.
> test-CimpleG.R: Setting options('download.file.method.GEOquery'='auto')
> test-CimpleG.R: Setting options('GEOquery.inmemory.gpl'=FALSE)
Saving _problems/test3-CimpleG-xgboost-13.R
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 62 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test1-CimpleG-decisiontree.R:3:3', 'test1-CimpleG-nnet.R:3:3',
'test1-CimpleG-rf.R:3:3'
• parallel not working properly locally (1): 'test8-CimpleG-parallel.R:4:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test3-CimpleG-xgboost.R:5:3'): signatures are generated w/ xgboost ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `purrr::map(.x = target_columns, .f = work_helper)`: i In index: 1.
Caused by error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x),
body(x)), env = rlang::base_env()))`:
! ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test3-CimpleG-xgboost.R:5:3
2. │ └─base::withCallingHandlers(...)
3. ├─base::suppressMessages(...)
4. │ └─base::withCallingHandlers(...)
5. ├─CimpleG::CimpleG(...)
6. ├─CimpleG:::CimpleG.matrix(...)
7. │ └─CimpleG:::CimpleG_main(...)
8. │ ├─purrr::map(.x = target_columns, .f = work_helper) %>% ...
9. │ └─purrr::map(.x = target_columns, .f = work_helper)
10. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
11. │ ├─purrr:::with_indexed_errors(...)
12. │ │ └─base::withCallingHandlers(...)
13. │ ├─purrr:::call_with_cleanup(...)
14. │ └─CimpleG (local) .f(.x[[i]], ...)
15. │ └─CimpleG:::train_general_model(...)
16. │ └─cimpleg_final_model %>% butcher::axe_call() %>% butcher::axe_env()
17. ├─butcher::axe_env(.)
18. ├─workflows:::axe_env.workflow(.)
19. │ ├─butcher::axe_env(fit, verbose = verbose, ...)
20. │ └─butcher:::axe_env.model_fit(fit, verbose = verbose, ...)
21. │ ├─butcher::axe_env(x$fit, verbose = verbose, ...)
22. │ └─butcher:::axe_env.xgb.Booster(x$fit, verbose = verbose, ...)
23. └─base::.handleSimpleError(...)
24. └─purrr (local) h(simpleError(msg, call))
25. └─cli::cli_abort(...)
26. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 62 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [17s] OK
- checking PDF version of manual ... [18s] OK
- checking HTML version of manual ... [5s] OK
- DONE
Status: 1 ERROR