Last updated on 2025-02-26 08:52:34 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.1 | 2.84 | 44.91 | 47.75 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.1 | 1.76 | 26.78 | 28.54 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.1.1 | 79.97 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.1 | 77.01 | OK | |||
r-devel-macos-arm64 | 1.1.1 | 36.00 | OK | |||
r-devel-macos-x86_64 | 1.1.1 | 36.00 | OK | |||
r-devel-windows-x86_64 | 1.1.1 | 5.00 | 69.00 | 74.00 | OK | |
r-patched-linux-x86_64 | 1.1.1 | 3.03 | 43.56 | 46.59 | OK | |
r-release-linux-x86_64 | 1.1.1 | 2.57 | 43.33 | 45.90 | OK | |
r-release-macos-arm64 | 1.1.1 | 39.00 | OK | |||
r-release-macos-x86_64 | 1.1.1 | 45.00 | OK | |||
r-release-windows-x86_64 | 1.1.1 | 5.00 | 70.00 | 75.00 | OK | |
r-oldrel-macos-arm64 | 1.1.1 | OK | ||||
r-oldrel-macos-x86_64 | 1.1.1 | 50.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.1 | 5.00 | 78.00 | 83.00 | OK |
Version: 1.1.1
Check: examples
Result: 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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.1
Check: tests
Result: 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
Flavor: r-devel-linux-x86_64-debian-gcc