Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(distill)
  > 
  > test_check("distill")
  Creating website directory C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21469618a/testblog
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21469618a/testblog/_site.yml
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21469618a/testblog/index.Rmd
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21469618a/testblog/about.Rmd
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21469618a/testblog/_posts/welcome/welcome.Rmd
  
  
  processing file: welcome.Rmd
    ordinary text without R code
  
  label: setup (with options) 
  List of 1
   $ include: logi FALSE
  
    ordinary text without R code
  
  output file: welcome.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS welcome.knit.md --to html5 --from markdown+autolink_bare_uris+tex_math_single_backslash --output welcome.html --lua-filter "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\latex-div.lua" --standalone --variable toc-float=1 --highlight-style "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/distill.Rcheck/distill/rmarkdown/templates/distill_article/resources/arrow.theme" --template "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\distill.Rcheck\distill\rmarkdown\templates\distill_article\resources\default.html" "--metadata=link-citations:true" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2146be86f5ehtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21438d87be6html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2143d3b1d69html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21435923b9html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2141d146a7bhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21461073f3fhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2147c7845html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2142312308html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21427af7836html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21424686086html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214582e100html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\rmarkdown-str1c214e381ab0.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21445c58e4html" 
  
  Output created: C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/tmp/RtmpsZoqNQ/file1c21469618a/testblog/_site/posts/welcome/index.html
  Rendering blog...
  
  Rendering: C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21469618a/testblog/about.Rmd
    ordinary text without R code
  
  label: setup (with options) 
  List of 1
   $ include: logi FALSE
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS about.knit.md --to html5 --from markdown+autolink_bare_uris+tex_math_single_backslash --output about.html --lua-filter "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\latex-div.lua" --standalone --variable toc-float=1 --highlight-style "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/distill.Rcheck/distill/rmarkdown/templates/distill_article/resources/arrow.theme" --template "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\distill.Rcheck\distill\rmarkdown\templates\distill_article\resources\default.html" "--metadata=link-citations:true" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214791d4070html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214e4f2e7ahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214d8c561ahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2144e711aahtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21458ae6f9ahtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214136e7e94html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214212a370html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214645a5268html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2143b862eb4html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21445004c23html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\rmarkdown-str1c214595d2a76.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2143a877fhtml" 
  
  Rendering: C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21469618a/testblog/index.Rmd
    ordinary text without R code
  
  NOTE: Not creating feed for posts (no base_url defined for site) 
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS index.knit.md --to html5 --from markdown+autolink_bare_uris+tex_math_single_backslash --output index.html --lua-filter "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\latex-div.lua" --standalone --variable toc-float=1 --highlight-style "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/distill.Rcheck/distill/rmarkdown/templates/distill_article/resources/arrow.theme" --template "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\distill.Rcheck\distill\rmarkdown\templates\distill_article\resources\default.html" "--metadata=link-citations:true" --variable layout=listing --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21420422b4dhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21424a95d55html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2147f7c3e15html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21471a177d1html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21421125277html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21477eae1ahtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21422dd3573html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21417491822html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214542a63behtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214ef73e6fhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21446dc6984html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\rmarkdown-str1c2143c613386.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2146b35e77html" 
  
  Output created: _site/index.html
  
  Processing posts:
    C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/tmp/RtmpsZoqNQ/file1c21469618a/testblog/_posts/welcome 
  v Created post at _posts/2021-08-15-my-post 
  Creating website directory testsite
  Creating testsite/_site.yml
  Creating testsite/index.Rmd
  Creating testsite/about.Rmd
  Rendering website...
  
  Rendering: testsite/about.Rmd
    ordinary text without R code
  
  label: setup (with options) 
  List of 1
   $ include: logi FALSE
  
    ordinary text without R code
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS about.knit.md --to html5 --from markdown+autolink_bare_uris+tex_math_single_backslash --output about.html --lua-filter "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\latex-div.lua" --standalone --variable toc-float=1 --highlight-style "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/distill.Rcheck/distill/rmarkdown/templates/distill_article/resources/arrow.theme" --template "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\distill.Rcheck\distill\rmarkdown\templates\distill_article\resources\default.html" "--metadata=link-citations:true" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21419b03868html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21450e07b9ahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21455fc469html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2144c1133b9html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2145c0b338bhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21429623475html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21469fa3449html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2144e904b68html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21457bf1eehtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21443ee533bhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\rmarkdown-str1c21465e27a92.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21470d639ebhtml" 
  
  Rendering: testsite/index.Rmd
    ordinary text without R code
  
  label: setup (with options) 
  List of 1
   $ include: logi FALSE
  
    ordinary text without R code
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS index.knit.md --to html5 --from markdown+autolink_bare_uris+tex_math_single_backslash --output index.html --lua-filter "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rmarkdown\rmarkdown\lua\latex-div.lua" --standalone --variable toc-float=1 --highlight-style "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/distill.Rcheck/distill/rmarkdown/templates/distill_article/resources/arrow.theme" --template "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\distill.Rcheck\distill\rmarkdown\templates\distill_article\resources\default.html" "--metadata=link-citations:true" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21411ff6800html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21472937e7ahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2145a7e36e4html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c2148f6800html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21417683254html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214760e52d3html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214e38b98html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c214651639cfhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21425d53fd2html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21455c32d51html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\rmarkdown-str1c2144a471d71.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpsZoqNQ\file1c21477f72353html" 
  
  Output created: _site/index.html
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-blog.R:9:3): blogs can be created ─────────────────────────────
  `{ ... }` threw an unexpected error.
  Message: more 'from' files than 'to' files
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-blog.R:9:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat:::.capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. └─distill::create_blog(blog_path, "Test Blog", edit = FALSE) test-blog.R:10:4
    8.   └─distill:::render_website(dir, "blog")
    9.     └─rmarkdown::render_site(dir)
   10.       └─generator$render(...)
   11.         └─distill:::render_collections(input, config, collections, quiet)
   12.           └─base::lapply(...)
   13.             └─distill:::FUN(X[[i]], ...)
   14.               └─distill:::render_collection(...)
   15.                 └─base::lapply(...)
   16.                   └─distill:::FUN(X[[i]], ...)
   17.                     └─distill:::render_collection_article(...)
   18.                       └─base::file.copy(...)
  
  [ FAIL 1 | WARN 1 | SKIP 1 | PASS 3 ]
  Error: Test failures
  Execution halted