* using log directory 'd:/Rcompile/CRANpkg/local/4.4/whirl.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'whirl/DESCRIPTION' ... OK * this is package 'whirl' version '0.2.0' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'whirl' 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] OK * checking whether startup messages can be suppressed ... [3s] 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 ... [10s] OK * checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [4s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [499s] ERROR Running 'testthat.R' [499s] 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(whirl) > > test_check("whirl") Unknown output format markua [ FAIL 1 | WARN 0 | SKIP 12 | PASS 116 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • On CRAN (11): 'test-approvedpkgs.R:2:3', 'test-custom_logging.R:54:3', 'test-examples.R:25:5', 'test-run.R:27:3', 'test-run.R:70:3', 'test-run.R:81:3', 'test-run.R:89:3', 'test-run.R:106:3', 'test-run.R:128:3', 'test-run.R:145:3', 'test-whirl_queue.R:9:3' • On Windows (1): 'test-strace.R:12:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-mdformats.R:14:3'): pandoc works ─────────────────────────────── Error in `(function (input, format, ext, exec, cfg) { cmn = NULL if (nrow(cfg) == 0L) cfg = character(0) else if (nrow(cfg) == 1L) { if ("t" %in% colnames(cfg)) { cfg = if (cfg[1L, "t"] == format) drop(cfg) else NA } else { cmn = drop(cfg) cfg = NA } } else { if (!("t" %in% colnames(cfg))) stop("for a config file with multiple output formats, there must be a field named \"t\"") if (sum(idx <- is.na(cfg[, "t"])) > 1L) stop("at most one \"t\" field can be NA") if (sum(idx) == 1L) cmn = cfg[idx, ] cfg = cfg[!idx, , drop = FALSE] cfg = cfg[cfg[, "t"] == format, ] if (!is.null(dim(cfg))) { if (nrow(cfg) > 1) stop("the output format is not unique in config") cfg = character(0) } } out = unname(if (!is.na(cfg["o"])) cfg["o"] else { if (!is.na(cfg["output"])) cfg["output"] else { with_ext(input, if (is.na(ext)) pandoc_ext(format) else ext) } }) cfg = cfg[setdiff(names(cfg), c("o", "output", "t"))] cmd = c(pandoc_arg(cfg), pandoc_arg(cmn), "-t", format, "-o", shQuote(out), shQuote(input)) message("Executing: pandoc ", paste(cmd, collapse = " ")) if (system2(exec, cmd) == 0L) out else stop("conversion failed") })(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]], dots[[4L]][[1L]], cfg = structure(character(0), dim = c(0L, 0L), dimnames = list( NULL, NULL)))`: conversion failed Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-mdformats.R:14:3 2. │ └─base::withCallingHandlers(...) 3. └─whirl:::mdformats(...) 4. └─knitr::pandoc(input = log_html, format = mdfmt[[i]], ext = "md") 5. └─base::mapply(...) 6. └─knitr (local) ``(...) [ FAIL 1 | WARN 0 | SKIP 12 | PASS 116 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2s] OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR