Running 'testthat.R' [10s]
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
  
  "D:/compiler/pandoc/pandoc" +RTS -K512m -RTS index.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output index.html --standalone --section-divs --table-of-contents --toc-depth 3 --template "D:\temp\Rtmp46xBGu\RLIBS_1a4487406294c\bookdown\templates\gitbook.html" --highlight-style pygments --number-sections --css style.css --include-in-header "D:\temp\RtmpGEF3Nt\rmarkdown-str187b864403e15.html" --mathjax 
  
  Output created: gitbook-for-git2r-187b8220f3dfb.html
  
  
  processing file: index.Rmd
     inline R code fragments
  
  output file: index.knit.md
  
  "D:/compiler/pandoc/pandoc" +RTS -K512m -RTS index.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output index.html --standalone --section-divs --table-of-contents --toc-depth 3 --template "D:\temp\Rtmp46xBGu\RLIBS_1a4487406294c\bookdown\templates\gitbook.html" --highlight-style pygments --number-sections --css style.css --include-in-header "D:\temp\RtmpGEF3Nt\rmarkdown-str187b8793b4fc9.html" --mathjax 
  
  Output created: gitbook-for-git2r-187b8220f3dfb.html
  
  
  processing file: index.Rmd
     inline R code fragments
  
  output file: index.knit.md
  
  "D:/compiler/pandoc/pandoc" +RTS -K512m -RTS index.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output index.html --standalone --section-divs --table-of-contents --toc-depth 3 --template "D:\temp\Rtmp46xBGu\RLIBS_1a4487406294c\bookdown\templates\gitbook.html" --highlight-style pygments --number-sections --css style.css --include-in-header "D:\temp\RtmpGEF3Nt\rmarkdown-str187b81b226630.html" --mathjax 
  
  Output created: gitbook-for-git2r-187b8220f3dfb.html
  
  
  processing file: index.Rmd
     inline R code fragments
  
  output file: index.knit.md
  
  "D:/compiler/pandoc/pandoc" +RTS -K512m -RTS index.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output index.html --standalone --section-divs --table-of-contents --toc-depth 3 --template "D:\temp\Rtmp46xBGu\RLIBS_1a4487406294c\bookdown\templates\gitbook.html" --highlight-style pygments --number-sections --css style.css --include-in-header "D:\temp\RtmpGEF3Nt\rmarkdown-str187b8128f21ca.html" --mathjax 
  
  Output created: gitbook-for-git2r-187b8220f3dfb.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