* using log directory '/wrkdirs/usr/ports/devel/R-cran-cpp11/work/cpp11.Rcheck' * using R version 4.3.1 (2023-06-16) * using platform: amd64-portbld-freebsd13.1 (64-bit) * R was compiled by FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) GNU Fortran (FreeBSD Ports Collection) 12.2.0 * running under: FreeBSD 132amd64-main 13.2-RELEASE-p1 FreeBSD 13.2-RELEASE-p1 amd64 * using session charset: ASCII * using options '--no-manual --no-build-vignettes' * checking for file 'cpp11/DESCRIPTION' ... OK * this is package 'cpp11' version '0.4.4' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Packages suggested but not available for checking: 'bench', 'covr', 'ggplot2', 'lobstr', 'progress', 'rmarkdown', 'scales', 'Rcpp' * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package 'cpp11' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking startup messages can be suppressed ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Last 13 lines of output: Class: simpleError/error/condition Backtrace: x 1. +-cpp11:::expect_error_free(cpp11::cpp_source(clean = TRUE, code = "#include \n #include \n\n [[cpp11::linking_to(\"progress\")]]\n\n [[cpp11::register]] void show_progress() {\n RProgress::RProgress pb(\"Processing [:bar] ETA: :eta\");\n\n pb.tick(0);\n for (int i = 0; i < 100; i++) {\n usleep(2.0 / 100 * 1000000);\n pb.tick();\n }\n }\n ")) at test-source.R:132:2 2. | \-testthat::expect_error(..., regexp = regexp) at tests/testthat/helper.R:33:2 3. | \-testthat:::expect_condition_matching(...) 4. | \-testthat:::quasi_capture(...) 5. | +-testthat (local) .capture(...) 6. | | \-base::withCallingHandlers(...) 7. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. \-cpp11::cpp_source(clean = TRUE, code = "#include \n #include \n\n [[cpp11::linking_to(\"progress\")]]\n\n [[cpp11::register]] void show_progress() {\n RProgress::RProgress pb(\"Processing [:bar] ETA: :eta\");\n\n pb.tick(0);\n for (int i = 0; i < 100; i++) {\n usleep(2.0 / 100 * 1000000);\n pb.tick();\n }\n }\n ") [ FAIL 1 | WARN 0 | SKIP 4 | PASS 106 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking running R code from vignettes ... NONE 'FAQ.Rmd' using 'UTF-8'... OK 'converting.Rmd' using 'UTF-8'... OK 'cpp11.Rmd' using 'UTF-8'... OK 'internals.Rmd' using 'UTF-8'... OK 'motivations.Rmd' using 'UTF-8'... OK * checking re-building of vignette outputs ... SKIPPED * DONE Status: 1 ERROR, 1 NOTE