Running ‘testthat.R’ [8s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gitdown)
  > 
  > test_check("gitdown")
  4 commits found.
  
  
  processing file: index.Rmd
  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-devel-gcc/Work/build/Packages/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/anchor-sections.lua --metadata-file /home/hornik/tmp/scratch/RtmpfXl0lK/file14439a4eeb7145 --wrap preserve --standalone --section-divs --table-of-contents --toc-depth 3 --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/bookdown/templates/gitbook.html --highlight-style pygments --number-sections --css style.css --mathjax --include-in-header /home/hornik/tmp/scratch/RtmpfXl0lK/rmarkdown-str14439a602bb878.html 
  
  Output created: gitbook-for-git2r-14439a772e421a.html
  
  
  processing file: index.Rmd
  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-devel-gcc/Work/build/Packages/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/anchor-sections.lua --metadata-file /home/hornik/tmp/scratch/RtmpfXl0lK/file14439a3bdf4f76 --wrap preserve --standalone --section-divs --table-of-contents --toc-depth 3 --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/bookdown/templates/gitbook.html --highlight-style pygments --number-sections --css style.css --mathjax --include-in-header /home/hornik/tmp/scratch/RtmpfXl0lK/rmarkdown-str14439a58b460b6.html 
  
  Output created: gitbook-for-git2r-14439a772e421a.html
  
  
  processing file: index.Rmd
  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-devel-gcc/Work/build/Packages/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/anchor-sections.lua --metadata-file /home/hornik/tmp/scratch/RtmpfXl0lK/file14439a5d39f267 --wrap preserve --standalone --section-divs --table-of-contents --toc-depth 3 --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/bookdown/templates/gitbook.html --highlight-style pygments --number-sections --css style.css --mathjax --include-in-header /home/hornik/tmp/scratch/RtmpfXl0lK/rmarkdown-str14439a5eb808a9.html 
  
  Output created: gitbook-for-git2r-14439a772e421a.html
  
  
  processing file: index.Rmd
  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-devel-gcc/Work/build/Packages/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/anchor-sections.lua --metadata-file /home/hornik/tmp/scratch/RtmpfXl0lK/file14439a6515b944 --wrap preserve --standalone --section-divs --table-of-contents --toc-depth 3 --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/bookdown/templates/gitbook.html --highlight-style pygments --number-sections --css style.css --mathjax --include-in-header /home/hornik/tmp/scratch/RtmpfXl0lK/rmarkdown-str14439a38fb1a93.html 
  
  Output created: gitbook-for-git2r-14439a772e421a.html
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 71 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-git_down.R:27:5'): git_down function ─────────────────────────
  `one_line_exists` has length 0, not length 1.
  ── Failure ('test-git_down.R:28:5'): git_down function ─────────────────────────
  `sub_commit_1` has length 0, not length 1.
  ── Failure ('test-git_down.R:29:5'): git_down function ─────────────────────────
  `sub_commit_2` has length 0, not length 1.
  ── Failure ('test-git_down.R:51:5'): git_down no name function ─────────────────
  length(one_line_exists) == 1 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-git_down.R:79:5'): git_down multiple pattern works ───────────
  length(one_line_ticket_exists) == 1 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-git_down.R:85:5'): git_down multiple pattern works ───────────
  length(one_line_exists) == 1 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 71 ]
  Error: Test failures
  Execution halted