* using log directory 'd:/RCompile/CRANincoming/R-devel/checked.Rcheck' * using R Under development (unstable) (2024-10-22 r87265 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'checked/DESCRIPTION' ... OK * this is package 'checked' version '0.2.4' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [12s] 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'checked' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 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 ... 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 examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [49s] ERROR Running 'testthat.R' [49s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(checked) > > test_check("checked") alias version marginaleffects marginaleffects (dev) 0.23.0 marginaleffects1 marginaleffects (v2.3.0) 0.23.0 mlr3shiny mlr3shiny (dev) 0.3.0 mlr3shiny1 mlr3shiny (v2.3.0) 0.3.0 tidysdm tidysdm (dev) 0.9.5 tidysdm1 tidysdm (v2.3.0) 0.9.5 viralx viralx (dev) 1.3.0 viralx1 viralx (v2.3.0) 1.3.0 package custom marginaleffects marginaleffects1 mlr3shiny mlr3shiny1 tidysdm tidysdm1 viralx viralx1 [[1]] [[2]] [[3]] [[4]] [[5]] [[6]] [[7]] [[8]] attr(,"class") [1] "list_of_task_spec" "list" [[1]] [[2]] [[3]] [[4]] [[5]] [[6]] [[7]] [[8]] attr(,"class") [1] "list_of_task_spec" "list" Checks [0.2s][install] glue finished (restored) [0.2s][install] cli finished (restored) [0.2s][install] rlang finished (restored) [0.3s][install] lifecycle finished (restored) [0.3s][install] utf8 finished (restored) [0.3s][install] fansi finished (restored) [0.3s][install] vctrs finished (restored) [0.3s][install] R6 finished (restored) [0.4s][install] ps finished (restored) [0.4s][install] pkgconfig finished (restored) [0.4s][install] pillar finished (restored) [0.4s][install] magrittr finished (restored) [0.4s][install] processx finished (restored) [0.5s][install] fastmap started [0.5s][install] digest finished (restored) [0.5s][install] tibble finished (restored) [0.5s][install] crayon finished (restored) [0.6s][install] desc finished (restored) [0.6s][install] callr finished (restored) [0.6s][install] fs finished (restored) [0.6s][install] rematch2 finished (restored) [0.7s][install] diffobj finished (restored) [0.7s][install] pkgbuild finished (restored) [0.7s][install] rprojroot finished (restored) [0.8s][install] withr finished (restored) [0.8s][install] jsonlite finished (restored) [0.8s][install] evaluate finished (restored) [0.8s][install] waldo finished (restored) [0.9s][install] praise finished (restored) [0.9s][install] pkgload finished (restored) [0.9s][install] brio finished (restored) [0.9s][install] testthat finished (restored) [2.2s][install] base64enc started [3.4s][install] fastmap finished (3.0s) [3.4s][install] cachem started [5.8s][install] base64enc finished (3.5s) [5.9s][install] rappdirs started [7.1s][install] cachem finished (3.6s) [7.1s][install] htmltools started [9.6s][install] rappdirs finished (3.6s) [9.6s][install] xfun started [10.9s][install] htmltools finished (3.6s) [10.9s][install] mime started [13.3s][install] xfun finished (3.6s) [13.3s][install] memoise started [14.6s][install] mime finished (3.6s) [14.6s][install] sass started [17.0s][install] memoise finished (3.5s) [17.0s][install] jquerylib started [18.3s][install] sass finished (3.5s) [18.3s][install] highr started [20.6s][install] jquerylib finished (3.5s) [20.6s][install] yaml started [21.9s][install] highr finished (3.5s) [21.9s][install] DBI started [24.3s][install] yaml finished (3.6s) [24.4s][install] tinytex started [25.6s][install] DBI finished (3.6s) [25.6s][install] fontawesome started [28.0s][install] tinytex finished (3.5s) [28.0s][install] bslib started [29.3s][install] fontawesome finished (3.5s) [29.3s][install] knitr started [32.8s][install] bslib finished (4.6s) [32.9s][install] knitr finished (3.4s) [32.9s][install] rmarkdown started [36.7s][install] rmarkdown finished (3.5s) Finished in 36.7s [ FAIL 2 | WARN 2 | SKIP 2 | PASS 60 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-check-reverse.R:3:1', 'test-check.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-results.R:4:3'): results_to_file works as expected ─────────── Expected `... <- NULL` to run without any errors. i Actually got a with text: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. ── Error ('test-results.R:9:3'): results_to_file works as expected ───────────── Error in `eval(code, test_env)`: object 'plan' not found Backtrace: ▆ 1. └─checked::results(plan) at test-results.R:9:3 [ FAIL 2 | WARN 2 | SKIP 2 | PASS 60 ] Error: Test failures Execution halted * checking PDF version of manual ... [30s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR