* using log directory 'd:/Rcompile/CRANpkg/local/4.0/jetpack.Rcheck' * using R version 4.0.5 (2021-03-31) * 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 ... 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 ... [73s] ERROR Running 'testthat.R' [72s] 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.0/DBI_1.1.2.zip' Content type 'application/zip' length 745961 bytes (728 KB) ================================================== downloaded 728 KB package 'DBI' successfully unpacked and MD5 sums checked The downloaded binary packages are in D:\temp\Rtmpacxzh8\downloaded_packages Pack complete! All dependencies are satisfied Pack complete! Pack complete! trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.0/DBI_1.1.2.zip' Content type 'application/zip' length 745961 bytes (728 KB) ================================================== downloaded 728 KB package 'DBI' successfully unpacked and MD5 sums checked The downloaded binary packages are in D:\temp\Rtmpacxzh8\downloaded_packages Updated DBI to 1.1.2 (was 1.1.2) Removed DBI! Pack complete! 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.2) [CRAN] trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.0/DBI_1.1.2.zip' Content type 'application/zip' length 745961 bytes (728 KB) ================================================== downloaded 728 KB package 'DBI' successfully unpacked and MD5 sums checked The downloaded binary packages are in D:\temp\Rtmpacxzh8\downloaded_packages Updated DBI to 1.1.2 (was 1.1.1) [ FAIL 4 | WARN 1 | SKIP 2 | PASS 17 ] == Skipped tests =============================================================== * !identical(Sys.getenv("TEST_JETPACK_GLOBAL"), "true") is TRUE (1) * On CRAN (1) == Failed tests ================================================================ -- Failure (test-cli.R:5:3): it works ------------------------------------------ DESCRIPTION does not exist Backtrace: x 1. +-jetpack:::setup(...) at test-cli.R:5:2 2. | \-withr::with_dir(app_dir, code) at d:\RCompile\CRANpkg\local\4.0\jetpack.Rcheck\tests\testthat\helper-setup.R:19:2 3. | \-base::force(code) 4. \-jetpack:::expectFile("DESCRIPTION") at test-cli.R:10:4 -- Failure (test-cli.R:5:3): it works ------------------------------------------ renv.lock does not exist Backtrace: x 1. +-jetpack:::setup(...) at test-cli.R:5:2 2. | \-withr::with_dir(app_dir, code) at d:\RCompile\CRANpkg\local\4.0\jetpack.Rcheck\tests\testthat\helper-setup.R:19:2 3. | \-base::force(code) 4. \-jetpack:::expectFile("renv.lock") at test-cli.R:11:4 -- Failure (test-cli.R:5:3): it works ------------------------------------------ .Rprofile does not exist Backtrace: x 1. +-jetpack:::setup(...) at test-cli.R:5:2 2. | \-withr::with_dir(app_dir, code) at d:\RCompile\CRANpkg\local\4.0\jetpack.Rcheck\tests\testthat\helper-setup.R:19:2 3. | \-base::force(code) 4. \-jetpack:::expectFile(".Rprofile") at test-cli.R:12:4 -- Error (test-cli.R:5:3): it works -------------------------------------------- Error in `file(con, "r")`: cannot open the connection Backtrace: x 1. +-jetpack:::setup(...) at test-cli.R:5:2 2. | \-withr::with_dir(app_dir, code) at d:\RCompile\CRANpkg\local\4.0\jetpack.Rcheck\tests\testthat\helper-setup.R:19:2 3. | \-base::force(code) 4. \-jetpack:::expectFileContains("DESCRIPTION", "DBI") at test-cli.R:15:4 5. +-jetpack:::expectContains(readFile(name), str) at d:\RCompile\CRANpkg\local\4.0\jetpack.Rcheck\tests\testthat\helper-expectations.R:22:2 6. | +-testthat::expect(...) at d:\RCompile\CRANpkg\local\4.0\jetpack.Rcheck\tests\testthat\helper-expectations.R:10:2 7. | \-jetpack:::contains(name, str) 8. | \-base::grepl(x, str, fixed = TRUE) at d:\RCompile\CRANpkg\local\4.0\jetpack.Rcheck\tests\testthat\helper-expectations.R:2:2 9. \-jetpack:::readFile(name) 10. +-base::paste(readLines(file), collapse = "") at d:\RCompile\CRANpkg\local\4.0\jetpack.Rcheck\tests\testthat\helper-expectations.R:6:2 11. \-base::readLines(file) 12. \-base::file(con, "r") [ FAIL 4 | WARN 1 | SKIP 2 | PASS 17 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR