- using R version 4.4.1 (2024-06-14 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 'pkgload/DESCRIPTION' ... OK
- this is package 'pkgload' version '1.4.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 'pkgload' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [1s] 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 ... [7s] 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 examples ... [2s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [26s] ERROR
Running 'testthat.R' [24s]
Running 'wipe.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(pkgload)
>
> # Needed so that install.packages works correctly
> Sys.setenv("R_TESTS" = "")
>
> test_check("pkgload")
Starting 2 test processes
[ FAIL 3 | WARN 0 | SKIP 16 | PASS 332 ]
══ Skipped tests (16) ══════════════════════════════════════════════════════════
• "pkgload" %in% dev_packages() is not TRUE (1): 'test-shim.R:126:3'
• On CRAN (14): 'test-depend.R:5:3', 'test-depend.R:15:3',
'test-depend.R:43:3', 'test-help.R:57:3', 'test-help.R:117:3',
'test-help.R:128:3', 'test-help.R:141:3', 'test-help.R:162:3',
'test-load-hooks.R:155:3', 'test-load.R:44:3', 'test-namespace.R:140:3',
'test-shim.R:59:3', 'test-shim.R:135:3', 'test-source.R:2:3'
• httr cannot be loaded (1): 'test-depend.R:58:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dll.R:43:3'): load_all() compiles and loads DLLs ───────────────
Error: Could not find tools necessary to compile a package
Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
Backtrace:
▆
1. └─pkgload::load_all("testDllLoad", reset = TRUE, quiet = TRUE) at test-dll.R:43:3
2. └─pkgbuild::compile_dll(path, quiet = quiet)
3. └─pkgbuild::check_build_tools(quiet = TRUE)
── Error ('test-dll.R:82:3'): Specific functions from DLLs listed in NAMESPACE can be called ──
Error: Could not find tools necessary to compile a package
Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
Backtrace:
▆
1. └─pkgload::load_all("testDllLoad", quiet = TRUE) at test-dll.R:82:3
2. └─pkgbuild::compile_dll(path, quiet = quiet)
3. └─pkgbuild::check_build_tools(quiet = TRUE)
── Error ('test-dll.R:108:3'): load_all() can compile and load DLLs linked to Rcpp ──
Error: Could not find tools necessary to compile a package
Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
Backtrace:
▆
1. └─pkgload::load_all("testDllRcpp", reset = TRUE, quiet = TRUE) at test-dll.R:108:3
2. └─pkgbuild::compile_dll(path, quiet = quiet)
3. └─pkgbuild::check_build_tools(quiet = TRUE)
[ FAIL 3 | WARN 0 | SKIP 16 | PASS 332 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [22s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR