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 pandoc5abc781a58cf.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.5/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.5\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_04_28_01_50_01_31658/RtmpemquX7/render_code5abc407f6a08/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 pandoc5abc49305738.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.5/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.5\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_04_28_01_50_01_31658/RtmpemquX7/render_code5abc36fb7ac/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 pandoc5abc6b091442.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.5/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.5\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_04_28_01_50_01_31658/RtmpemquX7/render_code5abc7c456a5/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 pandoc5abc4a4a6fb5.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.5/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.5\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_04_28_01_50_01_31658/RtmpemquX7/render_code5abc43d5fbd/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 pandoc5abceaf5ff6.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.5/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.5\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_04_28_01_50_01_31658/RtmpemquX7/render_code5abc5d637d91/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 pandoc5abc57325beb.docx --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --highlight-style "D:/RCompile/CRANpkg/lib/4.5/rmarkdown/rmarkdown/highlight/arrow.theme" --reference-doc "D:\RCompile\CRANpkg\lib\4.5\TBox\extdata\template.docx" 
  
  Output created: D:/temp/2025_04_28_01_50_01_31658/RtmpemquX7/render_code5abc34d53a57/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 pandoc5abc28e15e74.html --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmd\h\default.html" --highlight-style "D:/RCompile/CRANpkg/lib/4.5/rmarkdown/rmarkdown/highlight/arrow.theme" --variable theme=bootstrap --css "D:/RCompile/CRANpkg/lib/4.5/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_04_28_01_50_01_31658\RtmpemquX7\rmarkdown-str5abc1d855c41.html" 
  
  Output created: D:/temp/2025_04_28_01_50_01_31658/RtmpemquX7/render_code5abc49c2bfd/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