CRAN Package Check Results for Package cpp11

Last updated on 2021-09-21 07:50:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 2.36 58.25 60.61 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 1.54 39.87 41.41 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 84.98 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 65.42 OK
r-devel-windows-x86_64 0.3.1 4.00 64.00 68.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.3.1 ERROR
r-patched-linux-x86_64 0.3.1 2.15 53.00 55.15 OK
r-patched-solaris-x86 0.3.1 72.90 OK
r-release-linux-x86_64 0.3.1 2.14 52.99 55.13 OK
r-release-macos-arm64 0.3.1 OK
r-release-macos-x86_64 0.3.1 WARN
r-release-windows-ix86+x86_64 0.3.1 6.00 62.00 68.00 OK
r-oldrel-macos-x86_64 0.3.1 OK
r-oldrel-windows-ix86+x86_64 0.3.1 6.00 77.00 83.00 OK

Check Details

Version: 0.3.1
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     WARNING: installation-time patches will not be applied, could not get the patches index
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.3.1
Check: tests
Result: ERROR
     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
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.3.1
Check: PDF version of manual
Result: WARN
    LaTeX errors when creating PDF version.
    This typically indicates Rd problems.
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.3.1
Check: PDF version of manual without hyperrefs or index
Result: ERROR
    Re-running with no redirection of stdout/stderr.
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.3.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘converting.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Quitting from lines 116-129 (converting.Rmd)
    Error: processing vignette 'converting.Rmd' failed with diagnostics:
    package or namespace load failed for 'ggplot2' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
     there is no package called 'utf8'
    --- failed re-building ‘converting.Rmd’
    
    --- re-building ‘cpp11.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    Warning in get_engine(options$engine) :
     Unknown language engine 'cpp11' (must be registered via knit_engines$set()).
    --- finished re-building ‘cpp11.Rmd’
    
    --- re-building ‘internals.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    --- finished re-building ‘internals.Rmd’
    
    --- re-building ‘motivations.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    --- finished re-building ‘motivations.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘converting.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-macos-x86_64