Running 'spelling.R' [0s]
  Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ymlthis)
  > 
  > test_check("ymlthis")
  Loading required namespace: blogdown
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 28 ]
  
  == Skipped tests ===============================================================
  * On CRAN (3)
  
  == Failed tests ================================================================
  -- Error ('test-blogdown_yaml.R:5'): multiplication works ----------------------
  Error in `map(.x, .f, ..., .progress = .progress)`: i In index: 1.
  Caused by error:
  ! Invalid argument in YAML output function bookdown::gitbook(lib_dir = "assets", split_by = "section", config = gitbook_config(toolbar_position = "static"))
  Error: Using anchor_sections requires Pandoc 2.0+
  Backtrace:
       x
    1. +-... %>% stringify_yaml() at test-blogdown_yaml.R:5:2
    2. +-ymlthis:::stringify_yaml(.)
    3. | \-x %>% ymlthis:::capture_yml() %>% paste(collapse = "\n") at d:\RCompile\CRANpkg\local\4.1\ymlthis.Rcheck\tests\testthat\helper-utils.R:3:2
    4. +-base::paste(., collapse = "\n")
    5. +-ymlthis:::capture_yml(.)
    6. | +-utils::capture.output(print(.yml))
    7. | | \-base::withVisible(...elt(i))
    8. | \-base::print(.yml)
    9. +-ymlthis::yml_output(...)
   10. | \-ymlthis:::validate_output_yml(x)
   11. |   \-purrr::walk(.function_calls, eval_tidy_yml)
   12. |     \-purrr::map(.x, .f, ..., .progress = .progress)
   13. |       \-purrr:::map_("list", .x, .f, ..., .progress = .progress)
   14. |         +-purrr:::with_indexed_errors(...)
   15. |         | \-base::withCallingHandlers(...)
   16. |         \-ymlthis (local) .f(.x[[i]], ...)
   17. |           \-ymlthis:::stop_yml_eval(out, x)
   18. |             \-base::stop(...)
   19. \-base::.handleSimpleError(...)
   20.   \-purrr (local) h(simpleError(msg, call))
   21.     \-cli::cli_abort(c(i = "In index: {i}."), parent = cnd, call = error_call)
   22.       \-rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 28 ]
  Error: Test failures
  Execution halted