Running 'testthat.R' [5s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library("testthat") # nolint unused_import_linter
  > library("TBox") # nolint unused_import_linter
  > 
  > test_check("TBox")
  
  
  processing file: template.Rmd
  output file: template.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS template.knit.md --to docx --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc131cc3d8c396f.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.6\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.6/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.6\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_05_25_01_50_01_14654/RtmpUjuuIV/render_code131ccfa055ab/output.docx
  
  
  processing file: template.Rmd
  output file: template.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS template.knit.md --to docx --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc131cc5bc226a0.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.6\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.6/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.6\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_05_25_01_50_01_14654/RtmpUjuuIV/render_code131cc389d1644/output.docx
  
  
  processing file: template.Rmd
  output file: template.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS template.knit.md --to docx --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc131cc31eb138e.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.6\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.6/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.6\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_05_25_01_50_01_14654/RtmpUjuuIV/render_code131cc16cd6e96/output.docx
  
  
  processing file: template.Rmd
  output file: template.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS template.knit.md --to docx --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc131cc705a5284.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.6\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.6/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.6\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_05_25_01_50_01_14654/RtmpUjuuIV/render_code131cc14ef2042/output.docx
  
  
  processing file: template.Rmd
  output file: template.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS template.knit.md --to docx --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc131cc6a6445c2.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.6\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.6/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.6\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_05_25_01_50_01_14654/RtmpUjuuIV/render_code131cc10266798/output.docx
  
  
  processing file: template.Rmd
  output file: template.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS template.knit.md --to docx --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc131cc24d42051.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.6\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.6/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.6\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_05_25_01_50_01_14654/RtmpUjuuIV/render_code131cc3f021f9b/output.docx
  
  
  processing file: template.Rmd
  output file: template.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS template.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc131cc61f85a4f.html --lua-filter "D:\RCompile\CRANpkg\lib\4.6\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.6\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.6\rmarkdown\rmd\h\default.html" --highlight-style "D:/RCompile/CRANpkg/lib/4.6/rmarkdown/rmarkdown/highlight/arrow.theme" --variable theme=bootstrap --css "D:/RCompile/CRANpkg/lib/4.6/TBox/extdata/style.css" --mathjax --variable "mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --include-in-header "D:\temp\2025_05_25_01_50_01_14654\RtmpUjuuIV\rmarkdown-str131cc2dd41eff.html" 
  
  Output created: D:/temp/2025_05_25_01_50_01_14654/RtmpUjuuIV/render_code131cc2a5a4c79/output.html
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 41 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-render_code.R:103:13'): Output file is correct ─────────────────
  Error in `generate_rmd_file(content = content, output_format = output_format, 
      code = code, ...)`: Assertion on 'content' failed: Must be of type 'character', not 'NULL'.
  Backtrace:
      ▆
   1. └─TBox::render_code(output_format = "pdf_document") at test-render_code.R:103:13
   2.   └─TBox::generate_rmd_file(...)
   3.     └─checkmate::assert_character(content)
   4.       └─checkmate::makeAssertion(x, res, .var.name, add)
   5.         └─checkmate:::mstop(...)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 41 ]
  Error: Test failures
  Execution halted