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\RtmpUxH0CI\file25864765047bf/testblog
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864765047bf/testblog/_site.yml
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864765047bf/testblog/index.Rmd
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864765047bf/testblog/about.Rmd
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864765047bf/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\RtmpUxH0CI\file2586447fa3336html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864474328cbhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864163c33c8html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864417350b7html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586411177da4html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258644ab16519html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586454fef00html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586494133b1html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258644bfd6889html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586410b47a2ahtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864485a29d6html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\rmarkdown-str2586478996e84.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\RtmpUxH0CI\file258646a251f93html" 
  
  Output created: C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/tmp/RtmpUxH0CI/file25864765047bf/testblog/_site/posts/welcome/index.html
  Rendering blog...
  
  Rendering: C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864765047bf/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\RtmpUxH0CI\file258641fdd1012html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258642c114555html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258642a1d6fc7html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258647dd3450dhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586454cb406dhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258643c115a5ehtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586475215062html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586419697804html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258645b1d7ebfhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864556f2613html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\rmarkdown-str258642f9d4556.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\RtmpUxH0CI\file25864317f6706html" 
  
  Rendering: C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864765047bf/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\RtmpUxH0CI\file2586415fe21ffhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258641d7c45a3html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258643aec394dhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864346e7717html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258646894816html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586450599dhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258646d7a515html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258643024c57html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864330e7c3dhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586410fb747dhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864624821d3html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\rmarkdown-str258647067161f.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\RtmpUxH0CI\file25864378c3fdbhtml" 
  
  Output created: _site/index.html
  
  Processing posts:
    C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/tmp/RtmpUxH0CI/file25864765047bf/testblog/_posts/welcome 
  v Created post at _posts/2021-09-24-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\RtmpUxH0CI\file25864756d1455html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258644baa38dahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258644cf8258ahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258646c99598ehtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586415404c7html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586425db31f7html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258645e34ec6html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864521e989html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586456b91255html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864430a41a5html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\rmarkdown-str2586466487911.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\RtmpUxH0CI\file25864698376efhtml" 
  
  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\RtmpUxH0CI\file2586466d3b82html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258641d735960html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586412ca4a97html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864ce431cchtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258641fc33670html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file258646bb02e95html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file25864386859d8html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586479d0154dhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586443586be0html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\file2586467724eaahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpUxH0CI\rmarkdown-str258642bc85d10.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\RtmpUxH0CI\file2586414229dhtml" 
  
  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