* using log directory 'd:/Rcompile/CRANpkg/local/4.1/jetpack.Rcheck' * using R version 4.1.3 (2022-03-10) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'jetpack/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'jetpack' version '0.5.2' * 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 * 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 ... 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 ... [4s] 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 ... [253s] ERROR Running 'testthat.R' [253s] 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 > > test_check("jetpack") Run 'jetpack add ' to add packages! trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.1/DBI_1.1.3.zip' Content type 'application/zip' length 762614 bytes (744 KB) ================================================== downloaded 744 KB package 'DBI' successfully unpacked and MD5 sums checked The downloaded binary packages are in D:\temp\RtmpSMgnpC\downloaded_packages Pack complete! All dependencies are satisfied Pack complete! Pack complete! trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.1/DBI_1.1.3.zip' Content type 'application/zip' length 762614 bytes (744 KB) ================================================== downloaded 744 KB package 'DBI' successfully unpacked and MD5 sums checked The downloaded binary packages are in D:\temp\RtmpSMgnpC\downloaded_packages Updated DBI to 1.1.3 (was 1.1.3) Removed DBI! Run 'jetpack add ' to add packages! Install Jetpack to use a virtual environment for this project * installing *source* package 'DBI' ... ** package 'DBI' successfully unpacked and MD5 sums checked ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location *** arch - i386 *** arch - x64 ** testing if installed package can be loaded from final location *** arch - i386 *** arch - x64 ** testing if installed package keeps a record of temporary installation path * DONE (DBI) Pack complete! DBI (1.1.1 -> 1.1.3) [CRAN] trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.1/DBI_1.1.3.zip' Content type 'application/zip' length 762614 bytes (744 KB) ================================================== downloaded 744 KB package 'DBI' successfully unpacked and MD5 sums checked The downloaded binary packages are in D:\temp\RtmpSMgnpC\downloaded_packages Updated DBI to 1.1.3 (was 1.1.1) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 23 ] == Skipped tests =============================================================== * !identical(Sys.getenv("TEST_JETPACK_GLOBAL"), "true") is TRUE (1) * On CRAN (1) == Failed tests ================================================================ -- Error (test-migrate.R:6:3): it works ---------------------------------------- Error: failed to retrieve 'https://mran.microsoft.com/snapshot/2022-06-07/bin/windows/contrib/4.1/DBI_1.1.2.zip' [error code 22] Backtrace: x 1. +-jetpack:::setup(...) at test-migrate.R:6:2 2. | \-withr::with_dir(app_dir, code) at d:\RCompile\CRANpkg\local\4.1\jetpack.Rcheck\tests\testthat\helper-setup.R:19:2 3. | \-base::force(code) 4. \-jetpack::install() at test-migrate.R:43:4 5. +-jetpack:::sandbox(...) 6. | \-jetpack:::configureRenv(code) 7. | \-base::eval(code) 8. \-jetpack:::installHelper(show_status = TRUE) 9. +-jetpack:::verboseRenv(...) 10. | \-base::eval(code) 11. +-base::suppressWarnings(...) 12. | \-base::withCallingHandlers(...) 13. \-renv::restore(project = dir, prompt = FALSE, clean = TRUE) 14. \-renv:::renv_restore_run_actions(...) 15. \-renv:::retrieve(packages) 16. +-renv (local) handler(package, renv_retrieve_impl(package)) 17. \-renv:::renv_retrieve_impl(package) 18. \-renv:::renv_retrieve_repos(record) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 23 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR