Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(cpp11)
  > 
  > test_check("cpp11")
  Warning message:
  In system(cmd) : 'make' not found
  ℹ 1 functions decorated with [[cpp11::register]]
  ℹ 3 functions decorated with [[cpp11::register]]
  ℹ 1 functions decorated with [[cpp11::register]]
  ✔ generated file 'cpp11.R'
  ✔ generated file 'cpp11.cpp'
  ✔ generated file 'cpp11.R'
  ✔ generated file 'cpp11.cpp'
  ℹ 1 functions decorated with [[cpp11::register]]
  ✔ generated file 'cpp11.R'
  ✔ generated file 'cpp11.cpp'
  ℹ 1 functions decorated with [[cpp11::register]]
  ✔ generated file 'cpp11.R'
  ✔ generated file 'cpp11.cpp'
  ℹ 1 functions decorated with [[cpp11::register]]
  ✔ generated file 'cpp11.R'
  ✔ generated file 'cpp11.cpp'
  ℹ 1 functions decorated with [[cpp11::register]]
  ✔ generated file 'cpp11.R'
  ✔ generated file 'cpp11.cpp'
  i 1 functions decorated with [[cpp11::register]]
  v generated file 'cpp11.R'
  v generated file 'cpp11.cpp'
  i 3 functions decorated with [[cpp11::register]]
  v generated file 'cpp11.R'
  v generated file 'cpp11.cpp'
  Warning message:
  In system(cmd) : 'make' not found
  Warning message:
  In system(cmd) : 'make' not found
  Warning message:
  In system(cmd) : 'make' not found
  Warning message:
  In system(cmd) : 'make' not found
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On Windows (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-knitr.R:19:5): eng_cpp11: works when code is evaluated ──────────
  Error: Compilation failed.
  Backtrace:
      █
   1. ├─testthat::expect_equal(eng_cpp11(opts), code) test-knitr.R:19:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─cpp11:::eng_cpp11(opts)
   5.   └─cpp11::cpp_source(...)
  ── Error (test-source.R:3:3): cpp_source works with the `code` parameter ───────
  Error: Compilation failed.
  Backtrace:
      █
   1. └─cpp11::cpp_source(...) test-source.R:3:2
  ── Error (test-source.R:34:3): cpp_source works with the `file` parameter ──────
  Error: Compilation failed.
  Backtrace:
      █
   1. └─cpp11::cpp_source(tf, clean = TRUE, quiet = TRUE) test-source.R:34:2
  ── Error (test-source.R:51:3): cpp_source works with files called `cpp11.cpp` ──
  Error: Compilation failed.
  Backtrace:
      █
   1. └─cpp11::cpp_source(tf, clean = TRUE, quiet = TRUE) test-source.R:51:2
  ── Failure (test-source.R:106:3): check_valid_attributes does not return an error if all registers are correct ──
  `cpp11::cpp_source(code = "#include <cpp11.hpp>\n  using namespace cpp11::literals;\n  [[cpp11::register]]\n  cpp11::list fn() {\n    cpp11::writable::list x;\n    x.push_back({\"foo\"_nm = 1});\n    return x;\n  }\n [[cpp11::register]]\n  cpp11::list fn2() {\n    cpp11::writable::list x;\n    x.push_back({\"foo\"_nm = 1});\n    return x;\n  }")` threw an unexpected error.
  Message: Compilation failed.
  Class:   simpleError/error/condition
  Backtrace:
      █
   1. ├─cpp11:::expect_error_free(cpp11::cpp_source(code = "#include <cpp11.hpp>\n  using namespace cpp11::literals;\n  [[cpp11::register]]\n  cpp11::list fn() {\n    cpp11::writable::list x;\n    x.push_back({\"foo\"_nm = 1});\n    return x;\n  }\n [[cpp11::register]]\n  cpp11::list fn2() {\n    cpp11::writable::list x;\n    x.push_back({\"foo\"_nm = 1});\n    return x;\n  }")) test-source.R:106:2
   2. │ └─testthat::expect_error(..., regexp = regexp) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\cpp11\cpp11.Rcheck\tests\testthat\helper.R:24:2
   3. │   └─testthat:::expect_condition_matching(...)
   4. │     └─testthat:::quasi_capture(...)
   5. │       ├─testthat:::.capture(...)
   6. │       │ └─base::withCallingHandlers(...)
   7. │       └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   8. └─cpp11::cpp_source(code = "#include <cpp11.hpp>\n  using namespace cpp11::literals;\n  [[cpp11::register]]\n  cpp11::list fn() {\n    cpp11::writable::list x;\n    x.push_back({\"foo\"_nm = 1});\n    return x;\n  }\n [[cpp11::register]]\n  cpp11::list fn2() {\n    cpp11::writable::list x;\n    x.push_back({\"foo\"_nm = 1});\n    return x;\n  }")
  
  [ FAIL 5 | WARN 0 | SKIP 1 | PASS 93 ]
  Error: Test failures
  Execution halted