Running 'testthat.R' [35s]
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!
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.1/DBI_1.1.3.zip'
  Content type 'application/zip' length 762668 bytes (744 KB)
  ==================================================
  downloaded 744 KB
  
  package 'DBI' successfully unpacked and MD5 sums checked
  
  The downloaded binary packages are in
  	D:\temp\RtmpiaWXvB\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 762668 bytes (744 KB)
  ==================================================
  downloaded 744 KB
  
  package 'DBI' successfully unpacked and MD5 sums checked
  
  The downloaded binary packages are in
  	D:\temp\RtmpiaWXvB\downloaded_packages
  Updated DBI to 1.1.3 (was 1.1.3)
  All packages are up-to-date!
  All packages are up-to-date!
  Removed DBI!
  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!
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.1/DBI_1.1.3.zip'
  Content type 'application/zip' length 762668 bytes (744 KB)
  ==================================================
  downloaded 744 KB
  
  package 'DBI' successfully unpacked and MD5 sums checked
  
  The downloaded binary packages are in
  	D:\temp\RtmpiaWXvB\downloaded_packages
  Pack complete!
  Pack complete!
  Run 'jetpack::add(package)' to add packages!
  [ FAIL 6 | WARN 1 | SKIP 7 | PASS 17 ]
  
  == Skipped tests ===============================================================
  * local_path == "" is TRUE (1)
  * On CRAN (6)
  
  == Failed tests ================================================================
  -- Failure ('test-cli.R:5'): it works ------------------------------------------
   does not contain Creating virtual environment
  Backtrace:
      x
   1. +-jetpack:::setup(...) at test-cli.R:5:2
   2. | \-withr::with_dir(app_dir, code) at d:\RCompile\CRANpkg\local\4.1\jetpack.Rcheck\tests\testthat\helper-setup.R:23:2
   3. |   \-base::force(code)
   4. \-jetpack:::expectContains(output, "Creating virtual environment") at test-cli.R:10:4
  -- Failure ('test-cli.R:5'): 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.1\jetpack.Rcheck\tests\testthat\helper-setup.R:23:2
   3. |   \-base::force(code)
   4. \-jetpack:::expectFile("DESCRIPTION") at test-cli.R:11:4
  -- Failure ('test-cli.R:5'): 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.1\jetpack.Rcheck\tests\testthat\helper-setup.R:23:2
   3. |   \-base::force(code)
   4. \-jetpack:::expectFile("renv.lock") at test-cli.R:12:4
  -- Failure ('test-cli.R:5'): 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.1\jetpack.Rcheck\tests\testthat\helper-setup.R:23:2
   3. |   \-base::force(code)
   4. \-jetpack:::expectFile(".Rprofile") at test-cli.R:13:4
  -- Failure ('test-cli.R:5'): it works ------------------------------------------
   does not contain Using DBI
  Backtrace:
      x
   1. +-jetpack:::setup(...) at test-cli.R:5:2
   2. | \-withr::with_dir(app_dir, code) at d:\RCompile\CRANpkg\local\4.1\jetpack.Rcheck\tests\testthat\helper-setup.R:23:2
   3. |   \-base::force(code)
   4. \-jetpack:::expectContains(output, "Using DBI") at test-cli.R:16:4
  -- Error ('test-cli.R:5'): 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.1\jetpack.Rcheck\tests\testthat\helper-setup.R:23:2
    3. |   \-base::force(code)
    4. \-jetpack:::expectFileContains("DESCRIPTION", "DBI") at test-cli.R:17:4
    5.   +-jetpack:::expectContains(readFile(name), str) at d:\RCompile\CRANpkg\local\4.1\jetpack.Rcheck\tests\testthat\helper-expectations.R:22:2
    6.   | +-testthat::expect(...) at d:\RCompile\CRANpkg\local\4.1\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.1\jetpack.Rcheck\tests\testthat\helper-expectations.R:2:2
    9.   |     \-base::is.factor(x)
   10.   \-jetpack:::readFile(name)
   11.     +-base::paste(readLines(file), collapse = "") at d:\RCompile\CRANpkg\local\4.1\jetpack.Rcheck\tests\testthat\helper-expectations.R:6:2
   12.     \-base::readLines(file)
   13.       \-base::file(con, "r")
  
  [ FAIL 6 | WARN 1 | SKIP 7 | PASS 17 ]
  Error: Test failures
  Execution halted