Running 'testthat.R' [44s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(cpp11)
  > 
  > test_check("cpp11")
  ℹ 3 functions decorated with [[cpp11::register]]
  ✔ generated file 'cpp11.R'
  ✔ generated file 'cpp11.cpp'
  ℹ 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'
  i 1 functions decorated with [[cpp11::register]]
  v generated file 'cpp11.R'
  v generated file 'cpp11.cpp'
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 107 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On Windows (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-register.R:61:5): get_call_entries: returns an empty string for packages with .Call entries and NAMESPACE files ──
  get_call_entries(path, get_funs(path)$name, get_package_name(path)) (`actual`) not equal to c(...) (`expected`).
  
  actual[1:5] vs expected[1:5]
    "/* .Call calls */"
  - "extern SEXP bar(void);"
  + "extern SEXP bar();"
    ""
    "static const R_CallMethodDef CallEntries[] = {"
    "    {\"bar\", (DL_FUNC) &bar, 0},"
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 107 ]
  Error: Test failures
  Execution halted