Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(namer)
  > 
  > test_check("namer")
  ── Naming all chunks ───────────────────────────────────────────────────────────
  Saving _problems/test-unname_chunks-45.R
  /usr/bin/pandoc +RTS -K512m -RTS example4.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output example4.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 --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --syntax-highlighting none --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpE7olb2/rmarkdown-str1f244a5dd58141.html 
  /usr/bin/pandoc +RTS -K512m -RTS example4.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output example4.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 --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --syntax-highlighting none --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpE7olb2/rmarkdown-str1f244a3b1b0271.html 
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 26 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-unname_chunks.R:20:3'): unname_chunks works in case is.null(chunk_name_prefix) == TRUE ──
  Error in `value[[3L]](cond)`: could not open file 'example4_files/figure-html/unnamed-chunk-3-1.png'
  Backtrace:
       ▆
    1. └─rmarkdown::render(temp_file_path) at test-unname_chunks.R:20:3
    2.   └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
    3.     └─knitr:::process_file(text, output)
    4.       ├─xfun:::handle_error(...)
    5.       ├─knitr:::with_options(...)
    6.       ├─base::withCallingHandlers(...)
    7.       └─knitr:::process_group(group)
    8.         └─knitr:::call_block(x)
    9.           └─knitr:::block_exec(params)
   10.             └─knitr:::eng_r(options)
   11.               ├─base::unlist(sew(res, options))
   12.               ├─knitr::sew(res, options)
   13.               └─knitr:::sew.list(res, options)
   14.                 └─base::lapply(x, sew, options, ...)
   15.                   ├─knitr (local) FUN(X[[i]], ...)
   16.                   └─knitr:::sew.recordedplot(X[[i]], ...)
   17.                     └─base::mapply(...)
   18.                       └─knitr (local) `<fn>`(...)
   19.                         ├─knitr:::in_base_dir(...)
   20.                         │ └─knitr:::in_dir(d, expr)
   21.                         └─knitr:::plot2dev(...)
   22.                           ├─base::print(plot)
   23.                           └─grDevices:::print.recordedplot(plot)
   24.                             └─grDevices::replayPlot(x)
   25.                               └─base::tryCatch(.External2(C_playSnapshot, x), error = restore)
   26.                                 └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   27.                                   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28.                                     └─value[[3L]](cond)
  ── Failure ('test-unname_chunks.R:45:3'): unname_chunks works in case is.null(chunk_name_prefix) == FALSE ──
  Expected `chunk_info$name[6]` to be identical to "sessioninfo".
  Differences:
  1/1 mismatches
  x[1]: NA
  y[1]: "sessioninfo"
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 26 ]
  Error:
  ! Test failures.
  Execution halted