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\RtmpgbcOck\file36ec768622ed/testblog
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec768622ed/testblog/_site.yml
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec768622ed/testblog/index.Rmd
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec768622ed/testblog/about.Rmd
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec768622ed/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\RtmpgbcOck\file36ec43396f5html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec7d4b48cdhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec8525690html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec27fb2329html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ecd7f2871html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec78d03179html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec167042eahtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec6b7cfd2html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec5f2b55fehtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec354965f8html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec296d7c1fhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\rmarkdown-str36ec18fc7b82.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\RtmpgbcOck\file36ec5a3e6050html" 
  
  Output created: C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/tmp/RtmpgbcOck/file36ec768622ed/testblog/_site/posts/welcome/index.html
  Rendering blog...
  
  Rendering: C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec768622ed/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\RtmpgbcOck\file36ec3be04863html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec6d3179e2html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec678a24dahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec5256ed4html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec366e564html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec3c363be4html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec733939d1html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec4b6c668ahtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec59c247f5html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec4a233353html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\rmarkdown-str36ec323d69d8.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\RtmpgbcOck\file36ec53d026b3html" 
  
  Rendering: C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec768622ed/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\RtmpgbcOck\file36ec39c54009html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec126012aehtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec7f1a6c45html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ecd906b4ehtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec18a6335ehtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec77512f65html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec1bd11b3fhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec3f737198html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec2b2c76b5html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec39706d92html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec19374550html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\rmarkdown-str36ec5ff62521.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\RtmpgbcOck\file36ece23736ahtml" 
  
  Output created: _site/index.html
  
  Processing posts:
    C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/tmp/RtmpgbcOck/file36ec768622ed/testblog/_posts/welcome 
  v Created post at _posts/2021-09-01-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\RtmpgbcOck\file36ec2f9f1f57html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec7cf94417html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec2a863d52html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec76c26a32html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec1245a08html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec18f02c98html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec473f64a4html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec2b2a2677html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec3d314fafhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec2ab04aaahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\rmarkdown-str36ec23ed11fc.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\RtmpgbcOck\file36ec53803ccdhtml" 
  
  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\RtmpgbcOck\file36ec428b7c2fhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec40196150html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec368433cbhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec6a7e9bhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec46955791html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec68e4737bhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec1d6f1688html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec56976cf7html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec32464238html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\file36ec391b3fehtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpgbcOck\rmarkdown-str36ec30692b21.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\RtmpgbcOck\file36ec5cc72039html" 
  
  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