* using log directory 'd:/Rcompile/CRANpkg/local/4.0/ymlthis.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'ymlthis/DESCRIPTION' ... OK * this is package 'ymlthis' version '0.1.5' * 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 'ymlthis' 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [7s] OK * checking Rd files ... 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 ... [8s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [4s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(ymlthis) > > test_check("ymlthis") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 29 ] == Failed tests ================================================================ -- Error (test-blogdown_yaml.R:6:3): multiplication works ---------------------- 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:6:2 2. +-ymlthis:::stringify_yaml(.) 3. | \-x %>% ymlthis:::capture_yml() %>% paste(collapse = "\n") at d:\RCompile\CRANpkg\local\4.0\ymlthis.Rcheck\tests\testthat\helper-utils.R:4:2 4. +-base::paste(., collapse = "\n") 5. +-ymlthis:::capture_yml(.) 6. | +-utils::capture.output(print(.yml)) 7. | | \-utils evalVis(expr) 8. | | +-base::withVisible(eval(expr, pf)) 9. | | \-base::eval(expr, pf) 10. | | \-base::eval(expr, pf) 11. | \-base::print(.yml) 12. \-ymlthis::yml_output(...) 13. \-ymlthis:::validate_output_yml(x) 14. \-purrr::walk(.function_calls, eval_tidy_yml) 15. \-purrr::map(.x, .f, ...) 16. \-ymlthis .f(.x[[i]], ...) 17. \-ymlthis:::stop_yml_eval(out, x) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 29 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [16s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR