Running 'testthat.R' [77s]
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 <package>' to add packages!
  Pack complete!
  Run 'jetpack add <package>' 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
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (DBI)
  Pack complete!
  DBI (1.1.1 -> 1.1.3) [CRAN]
  [ FAIL 3 | WARN 3 | SKIP 2 | PASS 13 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • !identical(Sys.getenv("TEST_JETPACK_GLOBAL"), "true") is TRUE (1)
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-cli.R:5:3): it works ────────────────────────────────────────────
  Error in `run(cli, "add DBI")`: Command exited with status: 1 
   Installing 1 packages: DBI
  Installing package into 'D:/temp/Rtmp8soYyC/library312805d5db16/app312805d902edb-2866-a5e15028/R-4.2/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.2/renv/repos/bin/windows/contrib/4.2/PACKAGES', probable reason 'No such file or directory'
  Backtrace:
      ▆
   1. ├─jetpack:::setup(...) at test-cli.R:5:2
   2. │ └─withr::with_dir(app_dir, code) at D:\RCompile\CRANpkg\local\4.2\jetpack.Rcheck\tests\testthat\helper-setup.R:19:2
   3. │   └─base::force(code)
   4. └─jetpack::run(cli, "add DBI") at test-cli.R:14:4
  ── Error (test-jetpack.R:4:3): it works ────────────────────────────────────────
  Error in `read.dcf(file = tmpf)`: cannot open the connection
  Backtrace:
       ▆
    1. ├─jetpack:::setup(...) at test-jetpack.R:4:2
    2. │ └─withr::with_dir(app_dir, code) at D:\RCompile\CRANpkg\local\4.2\jetpack.Rcheck\tests\testthat\helper-setup.R:19:2
    3. │   └─base::force(code)
    4. └─jetpack::add("DBI") at test-jetpack.R:12:4
    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-update.R:4:3): it works ─────────────────────────────────────────
  Error in `read.dcf(file = tmpf)`: cannot open the connection
  Backtrace:
       ▆
    1. ├─jetpack:::setup(...) at test-update.R:4:2
    2. │ └─withr::with_dir(app_dir, code) at D:\RCompile\CRANpkg\local\4.2\jetpack.Rcheck\tests\testthat\helper-setup.R:19:2
    3. │   └─base::force(code)
    4. └─jetpack::update() at test-update.R:12:4
    5.   ├─jetpack:::sandbox(...)
    6.   │ └─jetpack:::configureRenv(code)
    7.   │   └─base::eval(code)
    8.   └─jetpack:::installHelper(update_all = TRUE, desc = desc)
    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 2 | PASS 13 ]
  Error: Test failures
  Execution halted