Running 'testthat.R' [486s]
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) `<fn>`(...)
  
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 116 ]
  Error: Test failures
  Execution halted