Running ‘testthat.R’ [128s/192s]
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!
  * 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!
  All dependencies are satisfied
  Pack complete!
  Pack complete!
  * 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)
  Updated DBI to 1.1.3 (was 1.1.3)
  Removed DBI!
  Pack complete!
  Run 'jetpack add <package>' to add packages!
  Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
    cannot open URL 'file:///data/gannet/ripley/R/src/contrib/Archive/DBI/DBI_1.1.1.tar.gz'
  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!
  All packages are up-to-date!
  [ 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 ════════════════════════════════════════════════════════════════
  ── Failure ('test-update.R:4'): it works ───────────────────────────────────────
  Package: appImports:    DBI (== 1.1.1) contains 1.1.1
  Backtrace:
      ▆
   1. ├─jetpack:::setup(...) at test-update.R:4:2
   2. │ └─withr::with_dir(app_dir, code) at tests/testthat/helper-setup.R:19:2
   3. │   └─base::force(code)
   4. └─jetpack:::refuteFileContains("DESCRIPTION", "1.1.1") at test-update.R:14:4
   5.   └─jetpack:::refuteContains(readFile(name), str) at tests/testthat/helper-expectations.R:26:2
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 23 ]
  Error: Test failures
  Execution halted