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\RtmpcRB9cX\file313073f14bb9/testblog
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313073f14bb9/testblog/_site.yml
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313073f14bb9/testblog/index.Rmd
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313073f14bb9/testblog/about.Rmd
  Creating C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313073f14bb9/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\RtmpcRB9cX\file313062e25cf7html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file3130127c265chtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313065552b3ahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31304384594chtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313052ff6bb6html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313076033html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file3130ead5dafhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313031e439a2html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313022ce4efhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file3130699064dfhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file3130778f6102html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\rmarkdown-str313052a054f0.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\RtmpcRB9cX\file313022a16d47html" 
  
  Output created: C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/tmp/RtmpcRB9cX/file313073f14bb9/testblog/_site/posts/welcome/index.html
  Rendering blog...
  
  Rendering: C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313073f14bb9/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\RtmpcRB9cX\file3130690b4ef0html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file3130643c6747html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313075644f46html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313068be554chtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file3130b6b5718html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31305e8c43ffhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313034b73336html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313020aa2c68html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313072c5211html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313031f339fhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\rmarkdown-str3130356e3da6.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\RtmpcRB9cX\file31304d2530abhtml" 
  
  Rendering: C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313073f14bb9/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\RtmpcRB9cX\file31301c127de9html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31301b696b53html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31303f77cfehtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31307e691e02html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31304d495f4chtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file3130415e4c95html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313050be5faahtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31301dd27af6html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file3130594c13c7html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file3130383a2891html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313066c33a04html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\rmarkdown-str3130d6b3ce1.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\RtmpcRB9cX\file31304a8a2b4fhtml" 
  
  Output created: _site/index.html
  
  Processing posts:
    C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/distill/tmp/RtmpcRB9cX/file313073f14bb9/testblog/_posts/welcome 
  v Created post at _posts/2021-08-13-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\RtmpcRB9cX\file313056ce25cdhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31303e132ecahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31302e1b506dhtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31308df241fhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313029c86a6dhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313014c24555html" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313016f27370html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31307fac3a79html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31301a0052f0html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313033d645e8html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\rmarkdown-str313026ab7649.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\RtmpcRB9cX\file3130376b1904html" 
  
  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\RtmpcRB9cX\file31302db929a7html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31304aa43a2ahtml" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313031316e4html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313024941f0ehtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31302adc265fhtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313030447cfchtml" --include-before-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31305f691fhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31301860712fhtml" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file313041c0af1html" --include-after-body "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\file31304aa95d00html" --include-in-header "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\distill\tmp\RtmpcRB9cX\rmarkdown-str31302e4e821.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\RtmpcRB9cX\file3130c90a3ahtml" 
  
  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