Running ‘testthat.R’ [8s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gitdown)
  > 
  > test_check("gitdown")
  4 commits found.
  
  
  processing file: index.Rmd
     inline R code fragments
  
  output file: index.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS index.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output index.html --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --metadata-file /tmp/RtmpXbMCPV/file3deed2f43cf21 --wrap preserve --standalone --section-divs --table-of-contents --toc-depth 3 --template /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bookdown/templates/gitbook.html --highlight-style pygments --number-sections --css style.css --include-in-header /tmp/RtmpXbMCPV/rmarkdown-str3deed2588f8ea6.html --mathjax 
  
  Output created: gitbook-for-git2r-3deed24e7f880f.html
  
  
  processing file: index.Rmd
     inline R code fragments
  
  output file: index.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS index.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output index.html --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --metadata-file /tmp/RtmpXbMCPV/file3deed258d4ec26 --wrap preserve --standalone --section-divs --table-of-contents --toc-depth 3 --template /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bookdown/templates/gitbook.html --highlight-style pygments --number-sections --css style.css --include-in-header /tmp/RtmpXbMCPV/rmarkdown-str3deed25173904c.html --mathjax 
  
  Output created: gitbook-for-git2r-3deed24e7f880f.html
  
  
  processing file: index.Rmd
     inline R code fragments
  
  output file: index.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS index.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output index.html --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --metadata-file /tmp/RtmpXbMCPV/file3deed22316aef9 --wrap preserve --standalone --section-divs --table-of-contents --toc-depth 3 --template /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bookdown/templates/gitbook.html --highlight-style pygments --number-sections --css style.css --include-in-header /tmp/RtmpXbMCPV/rmarkdown-str3deed2573e41d8.html --mathjax 
  
  Output created: gitbook-for-git2r-3deed24e7f880f.html
  
  
  processing file: index.Rmd
     inline R code fragments
  
  output file: index.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS index.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output index.html --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --metadata-file /tmp/RtmpXbMCPV/file3deed226cf150d --wrap preserve --standalone --section-divs --table-of-contents --toc-depth 3 --template /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bookdown/templates/gitbook.html --highlight-style pygments --number-sections --css style.css --include-in-header /tmp/RtmpXbMCPV/rmarkdown-str3deed27661b450.html --mathjax 
  
  Output created: gitbook-for-git2r-3deed24e7f880f.html
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 74 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-get_info_files.R:20:3): get_info works ────────────────────────
  as.Date(infos$last_modif) is not more than `time_before_date`. Difference: -1
  ── Failure (test-get_info_files.R:22:3): get_info works ────────────────────────
  as.character(as.Date(infos$first_modif)) %in% ... is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-get_info_files.R:24:3): get_info works ────────────────────────
  as.character(as.Date(infos$last_modif)) %in% ... is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-get_info_files.R:30:3): get_info works ────────────────────────
  as.Date(infos_not_in_repo$last_modif) is not more than `time_before_date`. Difference: -1
  ── Failure (test-get_info_files.R:32:3): get_info works ────────────────────────
  as.character(as.Date(infos_not_in_repo$last_modif)) %in% ... is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 74 ]
  Error: Test failures
  Execution halted