Running ‘testthat.R’ [164s/425s]
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!
  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!
  [ FAIL 1 | WARN 0 | SKIP 6 | PASS 35 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (5)
  • local_path == "" is TRUE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-github.R:4'): it works ─────────────────────────────────────────
  <install_error/error/condition>
  Error: Failed to install 'unknown package' from GitHub:
    cannot open URL 'https://api.github.com/repos/ankane/dbx/commits/HEAD'
  Backtrace:
       ▆
    1. ├─jetpack:::setup(...) at test-github.R:4:2
    2. │ └─withr::with_dir(app_dir, code) at tests/testthat/helper-setup.R:23:2
    3. │   └─base::force(code)
    4. └─jetpack::add("dbx", remote = "ankane/dbx") at test-github.R:7: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_remotes(...)
   13.           └─base::tryCatch(...)
   14.             └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   15.               └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16.                 └─value[[3L]](cond)
  
  [ FAIL 1 | WARN 0 | SKIP 6 | PASS 35 ]
  Error: Test failures
  Execution halted