Running 'testthat.R' [334s]
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!
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.2/DBI_1.1.3.zip'
  Content type 'application/zip' length 767200 bytes (749 KB)
  ==================================================
  downloaded 749 KB
  
  package 'DBI' successfully unpacked and MD5 sums checked
  
  The downloaded binary packages are in
  	D:\temp\Rtmpm2FtvX\downloaded_packages
  Pack complete!
  All dependencies are satisfied
  Pack complete!
  Pack complete!
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.2/DBI_1.1.3.zip'
  Content type 'application/zip' length 767200 bytes (749 KB)
  ==================================================
  downloaded 749 KB
  
  package 'DBI' successfully unpacked and MD5 sums checked
  
  The downloaded binary packages are in
  	D:\temp\Rtmpm2FtvX\downloaded_packages
  Updated DBI to 1.1.3 (was 1.1.3)
  Removed DBI!
  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]
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.2/DBI_1.1.3.zip'
  Content type 'application/zip' length 767200 bytes (749 KB)
  ==================================================
  downloaded 749 KB
  
  package 'DBI' successfully unpacked and MD5 sums checked
  
  The downloaded binary packages are in
  	D:\temp\Rtmpm2FtvX\downloaded_packages
  Updated DBI to 1.1.3 (was 1.1.1)
  [ 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 ════════════════════════════════════════════════════════════════
  ── Error (test-migrate.R:6:3): it works ────────────────────────────────────────
  Error: failed to retrieve 'https://mran.microsoft.com/snapshot/2022-06-19/bin/windows/contrib/4.2/DBI_1.1.2.zip' [error code 22]
  Backtrace:
       ▆
    1. ├─jetpack:::setup(...) at test-migrate.R:6: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::install() at test-migrate.R:43: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)
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 23 ]
  Error: Test failures
  Execution halted