* using log directory ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/accessr.Rcheck’ * using R Under development (unstable) (2025-02-25 r87824) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-14 (Debian 14.2.0-16) 14.2.0 GNU Fortran (Debian 14.2.0-16) 14.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘accessr/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘accessr’ version ‘1.1.1’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * 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 serialization versions ... OK * checking whether package ‘accessr’ can be installed ... OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/accessr-00install.html' for details. * checking package directory ... OK * checking for future file timestamps ... 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking use of S3 registration ... 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 ... [4s/6s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 examples ... [4s/7s] ERROR Running examples in ‘accessr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: rmd2many > ### Title: Create content in multiple formats > ### Aliases: rmd2many > > ### ** Examples > > # Create documents from example.Rmd > got_hux <- requireNamespace("huxtable", quietly = TRUE) > got_flex <- requireNamespace("flextable", quietly = TRUE) > got_pandoc <- rmarkdown::pandoc_available("1.14") > got_all <- got_hux && got_flex && got_pandoc > # This example needs packages huxtable and flextable > # We pass pdf = FALSE because OfficeToPDF is needed to convert Word to PDF > # and this is only relevant on Windows Operating System. > # > if (got_all) { + ex_file <- system.file(package = "accessr", "examples", "example.Rmd") + file.copy(ex_file, tdir <- tempdir(check = TRUE), overwrite = TRUE) + ex_file <- list.files(tdir, pattern = "example.Rmd", full.names = TRUE) + ex_file <- sub(".Rmd", "", ex_file) + rmd2many(ex_file, params = list(hide = TRUE), pdf = FALSE, zip = TRUE) + } Error in strsplit(x, as.character(split), fixed, perl, useBytes) : NA in coercion to Rboolean Calls: rmd2many ... lapply -> FUN -> <Anonymous> -> get_fun -> strsplit Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [5s/6s] ERROR Running ‘testthat.R’ [4s/6s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(accessr) > > test_check("accessr") [ FAIL 2 | WARN 0 | SKIP 0 | PASS 7 ] â•â• Failed tests â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• ── Error ('test-rmd2many.R:7:3'): (code run outside of `test_that()`) ────────── Error in `strsplit(x, as.character(split), fixed, perl, useBytes)`: NA in coercion to Rboolean Backtrace: â–† 1. └─accessr::rmd2many(...) at test-rmd2many.R:7:3 2. └─accessr::rmd2word(...) 3. └─base::sapply(1:lenx, docx_fun) 4. └─base::lapply(X = X, FUN = FUN, ...) 5. └─accessr (local) FUN(X[[i]], ...) 6. └─officedown::rdocx_document(reference_docx = doc[i], ...) 7. └─officedown:::get_fun(base_format) 8. └─base::strsplit(x, split = "::", x, fixed = TRUE) ── Error ('test-rmd2word.R:7:3'): (code run outside of `test_that()`) ────────── Error in `strsplit(x, as.character(split), fixed, perl, useBytes)`: NA in coercion to Rboolean Backtrace: â–† 1. └─accessr::rmd2word(...) at test-rmd2word.R:7:3 2. └─base::sapply(1:lenx, docx_fun) 3. └─base::lapply(X = X, FUN = FUN, ...) 4. └─accessr (local) FUN(X[[i]], ...) 5. └─officedown::rdocx_document(reference_docx = doc[i], ...) 6. └─officedown:::get_fun(base_format) 7. └─base::strsplit(x, split = "::", x, fixed = TRUE) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 7 ] Error: Test failures Execution halted * checking PDF version of manual ... [4s/6s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * DONE Status: 2 ERRORs