Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pkgdepends)
  > 
  > Sys.setenv(R_USER_CACHE_DIR = tempdir())
  > test_check("pkgdepends")
  ! Using bundled GitHub PAT. Please add your own PAT using `gitcreds::gitcreds_set()`.
  WARNING: Rtools is required to build R packages, but is not currently installed.
  
  Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/.
  WARNING: Rtools is required to build R packages, but is not currently installed.
  
  Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/.
  WARNING: Rtools is required to build R packages, but is not currently installed.
  
  Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/.
  WARNING: Rtools is required to build R packages, but is not currently installed.
  
  Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/.
  
  v Updated metadata database: 4.62 MB in 16 files.
  
  i R 4.2 windows packages are missing from Bioconductor
  i Updating metadata database
  v Updating metadata database ... done
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Offline (32)
  • On CRAN (42)
  • On Windows (2)
  • empty test (5)
  • external R does not work (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-install-binary.R:4:3): install_binary ───────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─pkgdepends:::binary_test_package("foo") test-install-binary.R:4:2
   2.   ├─withr::with_path(...) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\pkgdepends\pkgdepends.Rcheck\tests\testthat\helper-install.R:38:2
   3.   │ └─base::force(code)
   4.   └─pkgbuild::build(file.path(tmp, name), binary = TRUE, quiet = TRUE)
   5.     └─pkgbuild:::build_setup(...)
   6.       └─pkgbuild:::build_setup_binary(path, dest_path, args, needs_compilation)
   7.         └─pkgbuild::check_build_tools(quiet = TRUE)
  ── Error (test-install-metadata.R:4:3): install_binary metadata ────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─pkgdepends:::binary_test_package("foo") test-install-metadata.R:4:2
   2.   ├─withr::with_path(...) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\pkgdepends\pkgdepends.Rcheck\tests\testthat\helper-install.R:38:2
   3.   │ └─base::force(code)
   4.   └─pkgbuild::build(file.path(tmp, name), binary = TRUE, quiet = TRUE)
   5.     └─pkgbuild:::build_setup(...)
   6.       └─pkgbuild:::build_setup_binary(path, dest_path, args, needs_compilation)
   7.         └─pkgbuild::check_build_tools(quiet = TRUE)
  
  [ FAIL 2 | WARN 0 | SKIP 82 | PASS 899 ]
  Error: Test failures
  Execution halted