Running ‘testthat.R’ [10s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > # Need to think harder about how we are doing testing. In particular, there are
  > # a lot of functions here which test all the tutorials in a package. But how
  > # should we test them here? And how do we use those functions in other tutorial
  > # packages? This was all easier when everything was bundled together.
  > 
  > library(testthat)
  > library(tutorial.helpers)
  > 
  > test_check("tutorial.helpers")
  
  
  processing file: good-tutorial.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/copy_button.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/info_section.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/download_answers.Rmd
  output file: good-tutorial.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS good-tutorial.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /home/hornik/tmp/scratch/RtmpESYyLJ/file3018e14eceaea3.html --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 --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --section-divs --reference-location=section --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/learnr/rmarkdown/templates/tutorial/resources/tutorial-format.htm --no-highlight --variable highlightjs=1 --variable progressive=true --variable allow-skip=true --variable learnr-version=0.11.3 --id-prefix section- --variable theme=cerulean --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/shiny-header.html 
  
  Output created: /home/hornik/tmp/scratch/RtmpESYyLJ/file3018e14eceaea3.html
  
  
  processing file: good-tutorial.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/copy_button.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/info_section.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/download_answers.Rmd
  output file: good-tutorial.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS good-tutorial.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /home/hornik/tmp/scratch/RtmpESYyLJ/file3018e170550cbb.html --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 --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --section-divs --reference-location=section --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/learnr/rmarkdown/templates/tutorial/resources/tutorial-format.htm --no-highlight --variable highlightjs=1 --variable progressive=true --variable allow-skip=true --variable learnr-version=0.11.3 --id-prefix section- --variable theme=cerulean --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/shiny-header.html 
  
  Output created: /home/hornik/tmp/scratch/RtmpESYyLJ/file3018e170550cbb.html
  
  
  processing file: no-info-tutorial.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/copy_button.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/download_answers.Rmd
  output file: no-info-tutorial.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS no-info-tutorial.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /home/hornik/tmp/scratch/RtmpESYyLJ/file3018e16b1fa61c.html --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 --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --section-divs --reference-location=section --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/learnr/rmarkdown/templates/tutorial/resources/tutorial-format.htm --no-highlight --variable highlightjs=1 --variable progressive=true --variable allow-skip=true --variable learnr-version=0.11.3 --id-prefix section- --variable theme=cerulean --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/shiny-header.html 
  
  Output created: /home/hornik/tmp/scratch/RtmpESYyLJ/file3018e16b1fa61c.html
  
  
  processing file: tutorial.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/copy_button.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/info_section.Rmd
  
  
  processing file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/child_documents/download_answers.Rmd
  [ FAIL 1 | WARN 1 | SKIP 3 | PASS 13 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (???): Rendering /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/tutorial.helpers/tutorials/getting-started/tutorial.Rmd ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─rmarkdown::render(i, output_file = tempfile())
   2.   └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
   3.     └─xfun::write_utf8(res, output)
   4.       └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   5.         └─base::file(con, "w")
  
  [ FAIL 1 | WARN 1 | SKIP 3 | PASS 13 ]
  Error: Test failures
  Execution halted