- using R version 4.3.3 (2024-02-29 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- R was compiled by
gcc.exe (GCC) 12.3.0
GNU Fortran (GCC) 12.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'jetpack/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'jetpack' version '0.5.5'
- 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 'jetpack' 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [0s] 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 ... [3s] 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 ... [1s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [26s] ERROR
Running 'testthat.R' [26s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(jetpack)
Attaching package: 'jetpack'
The following object is masked from 'package:stats':
update
The following objects are masked from 'package:base':
load, remove
>
> # for renv reverse dependency check
> # https://github.com/ankane/jetpack/pull/25
> requireNamespace("renv", quietly=TRUE)
>
> test_check("jetpack")
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
All dependencies are satisfied
Run 'jetpack::install()' to install them
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
[ FAIL 3 | WARN 3 | SKIP 7 | PASS 15 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• local_path == "" is TRUE (1): 'test-local.R:5:3'
• On CRAN (6): 'test-global.R:5:3', 'test-bioconductor.R:7:3',
'test-github.R:6:3', 'test-migrate.R:8:3', 'test-update-renv.R:7:3',
'test-update.R:6:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cli.R:15:5'): it works ─────────────────────────────────────────
Error in `run(cli, "add DBI")`: Command exited with status: 1
Installing 1 packages: DBI
Installing package into 'D:/temp/2025_01_29_01_50_00_32701/RtmpQtwBcg/library1e9243e9d2912/app1e924ad01649-4365-642445b6/R-4.3/x86_64-w64-mingw32'
(as 'lib' is unspecified)
cannot open the connection
Warning message:
In read.dcf(file = tmpf) :
cannot open compressed file 'D:/RCompile/CRANpkg/lib/4.3/renv/repos/bin/windows/contrib/4.3/PACKAGES', probable reason 'No such file or directory'
Backtrace:
▆
1. ├─jetpack:::setup(...) at test-cli.R:5:3
2. │ └─withr::with_dir(app_dir, code) at D:\RCompile\CRANpkg\local\4.3\jetpack.Rcheck\tests\testthat\helper-setup.R:23:3
3. │ └─base::force(code)
4. └─jetpack::run(cli, "add DBI") at test-cli.R:15:5
── Error ('test-all.R:10:5'): it works ─────────────────────────────────────────
Error in `read.dcf(file = tmpf)`: cannot open the connection
Backtrace:
▆
1. ├─jetpack:::setup(...) at test-all.R:4:3
2. │ └─withr::with_dir(app_dir, code) at D:\RCompile\CRANpkg\local\4.3\jetpack.Rcheck\tests\testthat\helper-setup.R:23:3
3. │ └─base::force(code)
4. └─jetpack::add("DBI") at test-all.R:10:5
5. ├─jetpack:::sandbox(...)
6. │ └─jetpack:::configureRenv(code)
7. │ └─base::eval(code)
8. └─jetpack:::installHelper(desc = desc, show_status = TRUE)
9. └─remotes::install_deps(...)
10. ├─stats::update(...)
11. └─remotes:::update.package_deps(...)
12. └─remotes:::install_packages(...)
13. ├─base::do.call(...)
14. └─remotes (local) `<fn>`(...)
15. ├─remotes:::with_options(...)
16. │ └─base::force(code)
17. ├─remotes:::with_envvar(...)
18. │ └─base::force(code)
19. └─utils (local) i.p(...)
20. └─utils::available.packages(...)
21. └─base::read.dcf(file = tmpf)
── Error ('test-install.R:7:5'): it works ──────────────────────────────────────
Error in `read.dcf(file = tmpf)`: cannot open the connection
Backtrace:
▆
1. ├─jetpack:::setup(...) at test-install.R:4:3
2. │ └─withr::with_dir(app_dir, code) at D:\RCompile\CRANpkg\local\4.3\jetpack.Rcheck\tests\testthat\helper-setup.R:23:3
3. │ └─base::force(code)
4. └─jetpack::add("DBI") at test-install.R:7:5
5. ├─jetpack:::sandbox(...)
6. │ └─jetpack:::configureRenv(code)
7. │ └─base::eval(code)
8. └─jetpack:::installHelper(desc = desc, show_status = TRUE)
9. └─remotes::install_deps(...)
10. ├─stats::update(...)
11. └─remotes:::update.package_deps(...)
12. └─remotes:::install_packages(...)
13. ├─base::do.call(...)
14. └─remotes (local) `<fn>`(...)
15. ├─remotes:::with_options(...)
16. │ └─base::force(code)
17. ├─remotes:::with_envvar(...)
18. │ └─base::force(code)
19. └─utils (local) i.p(...)
20. └─utils::available.packages(...)
21. └─base::read.dcf(file = tmpf)
[ FAIL 3 | WARN 3 | SKIP 7 | PASS 15 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [13s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR