Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pkgload)
  > 
  > # Needed so that install.packages works correctly
  > Sys.setenv("R_TESTS" = "")
  > 
  > test_check("pkgload")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-dll.r:72:3): load_all() compiles and loads DLLs ─────────────────
  Error: System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr:
  E> * installing *source* package 'testDllLoad' ...
  E> ** using staged installation
  E> ** libs
  E> Warning in system(cmd) : 'make' not found
  E> ERROR: compilation failed for package 'testDllLoad'
  E> * removing 'C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/pkgload/tmp/RtmpmCuqvN/devtools_install_2019469e94ef0/testDllLoad'
  Backtrace:
       █
    1. └─pkgload::load_all("testDllLoad", recompile = TRUE, quiet = TRUE) test-dll.r:72:2
    2.   └─pkgbuild::compile_dll(path, force = TRUE, quiet = quiet)
    3.     ├─withr::with_makevars(...)
    4.     │ ├─withr::with_envvar(...)
    5.     │ │ └─base::force(code)
    6.     │ └─base::force(code)
    7.     └─pkgbuild:::install_min(...)
    8.       └─pkgbuild::rcmd_build_tools(...)
    9.         ├─pkgbuild::with_build_tools(...)
   10.         │ └─withr::with_path(rtools_path(), code)
   11.         │   └─base::force(code)
   12.         └─callr::rcmd_safe(...)
   13.           └─callr:::run_r(options)
   14.             ├─base::with(...)
   15.             └─base::with.default(...)
   16.               └─base::eval(substitute(expr), data, enclos = parent.frame())
   17.                 └─base::eval(substitute(expr), data, enclos = parent.frame())
   18.                   ├─callr:::with_envvar(...)
   19.                   │ └─base::force(code)
   20.                   ├─base::do.call(...)
   21.                   └─(function (command = NULL, args = character(), error_on_status = TRUE, ...
   22.                     └─throw(...)
  ── Error (test-dll.r:108:3): load_all() can compile and load DLLs linked to Rcpp ──
  Error: System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr:
  E> * installing *source* package 'testDllRcpp' ...
  E> ** using staged installation
  E> ** libs
  E> Warning in system(cmd) : 'make' not found
  E> ERROR: compilation failed for package 'testDllRcpp'
  E> * removing 'C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/pkgload/tmp/RtmpmCuqvN/devtools_install_2019431b7aa/testDllRcpp'
  Backtrace:
       █
    1. └─pkgload::load_all("testDllRcpp", reset = TRUE, quiet = TRUE) test-dll.r:108:2
    2.   └─pkgbuild::compile_dll(path, quiet = quiet)
    3.     ├─withr::with_makevars(...)
    4.     │ ├─withr::with_envvar(...)
    5.     │ │ └─base::force(code)
    6.     │ └─base::force(code)
    7.     └─pkgbuild:::install_min(...)
    8.       └─pkgbuild::rcmd_build_tools(...)
    9.         ├─pkgbuild::with_build_tools(...)
   10.         │ └─withr::with_path(rtools_path(), code)
   11.         │   └─base::force(code)
   12.         └─callr::rcmd_safe(...)
   13.           └─callr:::run_r(options)
   14.             ├─base::with(...)
   15.             └─base::with.default(...)
   16.               └─base::eval(substitute(expr), data, enclos = parent.frame())
   17.                 └─base::eval(substitute(expr), data, enclos = parent.frame())
   18.                   ├─callr:::with_envvar(...)
   19.                   │ └─base::force(code)
   20.                   ├─base::do.call(...)
   21.                   └─(function (command = NULL, args = character(), error_on_status = TRUE, ...
   22.                     └─throw(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 314 ]
  Error: Test failures
  Execution halted