Running ‘testthat.R’ [195s/199s]
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!
  * 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)
  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!
  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)
  * checking for file ‘/tmp/RtmpvXpaTT/working_dir/RtmpjHaGXq/remotes2f737a1e13113e/ankane-dbx-acfd9c5/DESCRIPTION’ ... OK
  * preparing ‘dbx’:
  * checking DESCRIPTION meta-information ... OK
  * checking for LF line-endings in source and make files and shell scripts
  * checking for empty or unneeded directories
  * building ‘dbx_0.2.8.tar.gz’
  Install Jetpack to use a virtual environment for this project
  * installing *source* package ‘dbx’ ...
  ** using staged installation
  ** R
  ** byte-compile and prepare package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** 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 (dbx)
  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!
  Removed dbx!
  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!
  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!
  Pack complete!
  Run 'jetpack::add(package)' to add packages!
  Run 'jetpack::add(package)' to add packages!
  * Updated 1 record in "/tmp/RtmpvXpaTT/working_dir/RtmpjHaGXq/app2f737a31ba0582/renv.lock".
  [ FAIL 1 | WARN 0 | SKIP 5 | PASS 37 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (4)
  • local_path == "" is TRUE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-update-renv.R:4'): it works ────────────────────────────────────
  Error: failed to find source for 'renv 0.14.0' in package repositories
  Backtrace:
       ▆
    1. ├─jetpack:::setup(...) at test-update-renv.R:4:2
    2. │ └─withr::with_dir(app_dir, code) at tests/testthat/helper-setup.R:23:2
    3. │   └─base::force(code)
    4. └─jetpack::install() at test-update-renv.R:10: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)
   19.               └─(function() {...
  
  [ FAIL 1 | WARN 0 | SKIP 5 | PASS 37 ]
  Error: Test failures
  Execution halted