Running 'testthat.R' [11m]
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)
  renv was unable to query available packages from the following repositories:
  - # https://bioconductor.statistik.tu-dortmund.de/cran/src/contrib -------------
  error downloading 'https://bioconductor.statistik.tu-dortmund.de/cran/src/contrib/PACKAGES.rds' [error code 28]
  error downloading 'https://bioconductor.statistik.tu-dortmund.de/cran/src/contrib/PACKAGES.gz' [error code 28]
  error downloading 'https://bioconductor.statistik.tu-dortmund.de/cran/src/contrib/PACKAGES' [error code 28]
  
  
  > 
  > test_check("jetpack")
  Run 'jetpack::add(package)' to add packages!
  The following required packages are not installed:
  - DBI
  Packages must first be installed before renv can snapshot them.
  If these packages are no longer required, consider removing them from your DESCRIPTION file.
  
  Pack complete!
  Run 'jetpack::install()' to install them
  The following required packages are not installed:
  - DBI
  Packages must first be installed before renv can snapshot them.
  If these packages are no longer required, consider removing them from your DESCRIPTION file.
  
  Pack complete!
  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!
  The following required packages are not installed:
  - DBI
  Packages must first be installed before renv can snapshot them.
  If these packages are no longer required, consider removing them from your DESCRIPTION file.
  
  Pack complete!
  The following required packages are not installed:
  - DBI
  Packages must first be installed before renv can snapshot them.
  If these packages are no longer required, consider removing them from your DESCRIPTION file.
  
  Pack complete!
  Run 'jetpack::add(package)' to add packages!
  [ FAIL 6 | WARN 1 | SKIP 7 | PASS 18 ]
  
  ══ Skipped tests (7) ═══════════════════════════════════════════════════════════
  • local_path == "" is TRUE (1): 'test-local.R:5:3'
  • On CRAN (6): 'test-global.R:5:3', 'test-bioconductor.R:7:3',
    'test-github.R:6:3', 'test-migrate.R:8:3', 'test-update-renv.R:7:3',
    'test-update.R:6:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-cli.R:16:5'): it works ───────────────────────────────────────
  The following required packages are not installed:
  - DBI
  Packages must first be installed before renv can snapshot them.
  If these packages are no longer required, consider removing them from your DESCRIPTION file.
  
  Using boot 1.3-32
  Using class 7.3-23
  Using cluster 2.1.8.2
  Using codetools 0.2-20
  Using foreign 0.8-91
  Using KernSmooth 2.23-26
  Using lattice 0.22-9
  Using MASS 7.3-65
  Using Matrix 1.7-5
  Using mgcv 1.9-4
  Using nlme 3.1-169
  Using nnet 7.3-20
  Using renv 1.2.4
  Using rpart 4.1.27
  Using spatial 7.3-18
  Using survival 3.8-6
  Pack complete! does not contain Using DBI
  Backtrace:
      ▆
   1. ├─jetpack:::setup(...) at test-cli.R:5:3
   2. │ └─withr::with_dir(app_dir, code) at ./helper-setup.R:23:3
   3. │   └─base::force(code)
   4. └─jetpack:::expectContains(output, "Using DBI") at test-cli.R:16:5
  ── Failure ('test-cli.R:18:5'): it works ───────────────────────────────────────
  {  "R": {    "Version": "4.6.1",    "Repositories": [      {        "Name": "RENV",        "URL": "file:///D:/RCompile/CRANpkg/lib/4.6/renv/repos"      },      {        "Name": "CRAN",        "URL": "https://bioconductor.statistik.tu-dortmund.de/cran"      }    ]  },  "Packages": {    "renv": {      "Package": "renv",      "Version": "1.2.4",      "Source": "Repository",      "Type": "Package",      "Title": "Project Environments",      "Authors@R": "c( person(\"Kevin\", \"Ushey\", role = c(\"aut\", \"cre\"), email = \"kevin@rstudio.com\", comment = c(ORCID = \"0000-0003-2880-7407\")), person(\"Hadley\", \"Wickham\", role = c(\"aut\"), email = \"hadley@rstudio.com\", comment = c(ORCID = \"0000-0003-4757-117X\")), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\")) )",      "Description": "A dependency management toolkit for R. Using 'renv', you can create and manage project-local R libraries, save the state of these libraries to a 'lockfile', and later restore your library as required. Together, these tools can help make your projects more isolated, portable, and reproducible.",      "License": "MIT + file LICENSE",      "URL": "https://rstudio.github.io/renv/, https://github.com/rstudio/renv",      "BugReports": "https://github.com/rstudio/renv/issues",      "Imports": [        "utils"      ],      "Suggests": [        "BiocManager",        "cli",        "compiler",        "covr",        "cpp11",        "curl",        "devtools",        "generics",        "gitcreds",        "jsonlite",        "jsonvalidate",        "knitr",        "miniUI",        "modules",        "packrat",        "pak",        "R6",        "remotes",        "reticulate",        "rmarkdown",        "rstudioapi",        "shiny",        "testthat",        "uuid",        "waldo",        "yaml",        "webfakes"      ],      "Encoding": "UTF-8",      "VignetteBuilder": "knitr",      "Config/Needs/website": "tidyverse/tidytemplate",      "Config/testthat/edition": "3",      "Config/testthat/parallel": "true",      "Config/testthat/start-first": "bioconductor,python,install,restore,snapshot,retrieve,remotes",      "Config/roxygen2/version": "8.0.0",      "NeedsCompilation": "no",      "Author": "Kevin Ushey [aut, cre] (ORCID: <https://orcid.org/0000-0003-2880-7407>), Hadley Wickham [aut] (ORCID: <https://orcid.org/0000-0003-4757-117X>), Posit Software, PBC [cph, fnd]",      "Maintainer": "Kevin Ushey <kevin@rstudio.com>",      "Repository": "CRAN"    }  }} does not contain DBI
  Backtrace:
      ▆
   1. ├─jetpack:::setup(...) at test-cli.R:5:3
   2. │ └─withr::with_dir(app_dir, code) at ./helper-setup.R:23:3
   3. │   └─base::force(code)
   4. └─jetpack:::expectFileContains("renv.lock", "DBI") at test-cli.R:18:5
   5.   └─jetpack:::expectContains(readFile(name), str) at ./helper-expectations.R:22:3
  ── Error ('test-cli.R:20:5'): it works ─────────────────────────────────────────
  Error in `run(cli, "check")`: Command exited with status: 1 
   Missing packages: DBI
  Run 'jetpack install' to install them
  Backtrace:
      ▆
   1. ├─jetpack:::setup(...) at test-cli.R:5:3
   2. │ └─withr::with_dir(app_dir, code) at ./helper-setup.R:23:3
   3. │   └─base::force(code)
   4. └─jetpack::run(cli, "check") at test-cli.R:20:5
  ── Failure ('test-all.R:12:5'): it works ───────────────────────────────────────
  {  "R": {    "Version": "4.6.1",    "Repositories": [      {        "Name": "RENV",        "URL": "file:///D:/RCompile/CRANpkg/lib/4.6/renv/repos"      },      {        "Name": "CRAN",        "URL": "https://bioconductor.statistik.tu-dortmund.de/cran"      }    ]  },  "Packages": {    "renv": {      "Package": "renv",      "Version": "1.2.4",      "Source": "Repository",      "Type": "Package",      "Title": "Project Environments",      "Authors@R": "c( person(\"Kevin\", \"Ushey\", role = c(\"aut\", \"cre\"), email = \"kevin@rstudio.com\", comment = c(ORCID = \"0000-0003-2880-7407\")), person(\"Hadley\", \"Wickham\", role = c(\"aut\"), email = \"hadley@rstudio.com\", comment = c(ORCID = \"0000-0003-4757-117X\")), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\")) )",      "Description": "A dependency management toolkit for R. Using 'renv', you can create and manage project-local R libraries, save the state of these libraries to a 'lockfile', and later restore your library as required. Together, these tools can help make your projects more isolated, portable, and reproducible.",      "License": "MIT + file LICENSE",      "URL": "https://rstudio.github.io/renv/, https://github.com/rstudio/renv",      "BugReports": "https://github.com/rstudio/renv/issues",      "Imports": [        "utils"      ],      "Suggests": [        "BiocManager",        "cli",        "compiler",        "covr",        "cpp11",        "curl",        "devtools",        "generics",        "gitcreds",        "jsonlite",        "jsonvalidate",        "knitr",        "miniUI",        "modules",        "packrat",        "pak",        "R6",        "remotes",        "reticulate",        "rmarkdown",        "rstudioapi",        "shiny",        "testthat",        "uuid",        "waldo",        "yaml",        "webfakes"      ],      "Encoding": "UTF-8",      "VignetteBuilder": "knitr",      "Config/Needs/website": "tidyverse/tidytemplate",      "Config/testthat/edition": "3",      "Config/testthat/parallel": "true",      "Config/testthat/start-first": "bioconductor,python,install,restore,snapshot,retrieve,remotes",      "Config/roxygen2/version": "8.0.0",      "NeedsCompilation": "no",      "Author": "Kevin Ushey [aut, cre] (ORCID: <https://orcid.org/0000-0003-2880-7407>), Hadley Wickham [aut] (ORCID: <https://orcid.org/0000-0003-4757-117X>), Posit Software, PBC [cph, fnd]",      "Maintainer": "Kevin Ushey <kevin@rstudio.com>",      "Repository": "CRAN"    }  }} does not contain DBI
  Backtrace:
      ▆
   1. ├─jetpack:::setup(...) at test-all.R:4:3
   2. │ └─withr::with_dir(app_dir, code) at ./helper-setup.R:23:3
   3. │   └─base::force(code)
   4. └─jetpack:::expectFileContains("renv.lock", "DBI") at test-all.R:12:5
   5.   └─jetpack:::expectContains(readFile(name), str) at ./helper-expectations.R:22:3
  ── Failure ('test-all.R:15:5'): it works ───────────────────────────────────────
  Check should return true
  ── Error ('test-all.R:18:5'): it works ─────────────────────────────────────────
  Error in `eval(code)`: Missing packages: DBI
  Backtrace:
      ▆
   1. ├─jetpack:::setup(...) at test-all.R:4:3
   2. │ └─withr::with_dir(app_dir, code) at ./helper-setup.R:23:3
   3. │   └─base::force(code)
   4. └─jetpack::install(deployment = TRUE) at test-all.R:18:5
   5.   └─jetpack:::sandbox(...)
   6.     └─jetpack:::configureRenv(code)
   7.       └─base::eval(code)
  
  [ FAIL 6 | WARN 1 | SKIP 7 | PASS 18 ]
  Error:
  ! Test failures.
  Execution halted