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\RtmpEfxC2r\file2385052db41dc/testblog
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385052db41dc/testblog/_site.yml
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385052db41dc/testblog/index.Rmd
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385052db41dc/testblog/about.Rmd
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385052db41dc/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\RtmpEfxC2r\file238508b056cbhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238509391176html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238505f9937a2html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385067ec13chtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385042664887html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850657334a8html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385068246d2html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850121111d0html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238503f1b26f1html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238505e666b30html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238504e075ed5html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\rmarkdown-str23850213972df.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\RtmpEfxC2r\file23850d1122f6html" 
  
  Output created: C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/tmp/RtmpEfxC2r/file2385052db41dc/testblog/_site/posts/welcome/index.html
  Rendering blog...
  
  Rendering: C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385052db41dc/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\RtmpEfxC2r\file23850423e6220html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385048964514html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850386c10e3html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850142d2618html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385018938d7html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238507c9a3910html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850702756cfhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238503a3c28e7html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238504e5335b5html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238502a12570dhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\rmarkdown-str2385038a97a9a.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\RtmpEfxC2r\file23850624aa38html" 
  
  Rendering: C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385052db41dc/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\RtmpEfxC2r\file23850e851393html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850305f6408html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238501a8dccehtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238503c8a15b2html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385054582ed8html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385056031bcdhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850368dc50html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385074624858html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385017a81c97html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385072574c97html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238503f9f4e9ehtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\rmarkdown-str2385057a84fcc.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\RtmpEfxC2r\file2385042fe3121html" 
  
  Output created: _site/index.html
  
  Processing posts:
    C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/tmp/RtmpEfxC2r/file2385052db41dc/testblog/_posts/welcome 
  v Created post at _posts/2021-08-21-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\RtmpEfxC2r\file238506ae45a8html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385038c668bahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238504329eb4html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385016c636cehtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385058ae3c56html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850489b443html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238502392b7ahtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850292847e0html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385024581ee7html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238505bb15aahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\rmarkdown-str238502c123eda.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\RtmpEfxC2r\file238506a61d01html" 
  
  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\RtmpEfxC2r\file238505da963fehtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385051ec3a1bhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385070726bb1html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850a4235d1html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238505ba7f8html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850708b7e56html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file23850623173d3html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385052085ca7html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file238503c516347html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\file2385068a12812html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpEfxC2r\rmarkdown-str238502fc6222f.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\RtmpEfxC2r\file2385049a2146dhtml" 
  
  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