Running 'testthat.R' [20s]
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 pandoc33243fa5e39.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_08_26_01_50_00_7068/RtmpMJvweB/render_code33244a3e3845/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 pandoc3324491f400a.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_08_26_01_50_00_7068/RtmpMJvweB/render_code3324192f34be/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 pandoc332456cf3196.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_08_26_01_50_00_7068/RtmpMJvweB/render_code33243fcb607c/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 pandoc332461d27fae.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_08_26_01_50_00_7068/RtmpMJvweB/render_code3324320c23ff/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 pandoc33245d0d4bd8.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_08_26_01_50_00_7068/RtmpMJvweB/render_code33242869c2f/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 pandoc332477c72da6.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_08_26_01_50_00_7068/RtmpMJvweB/render_code3324132165db/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 pandoc33244a3d6cf7.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_08_26_01_50_00_7068\RtmpMJvweB\rmarkdown-str3324f775ea8.html" 
  
  Output created: D:/temp/2025_08_26_01_50_00_7068/RtmpMJvweB/render_code332431627ec5/output.html
  
  
  processing file: template.Rmd
  output file: template.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS template.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc33244b1872dd.tex --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 --highlight-style "D:/RCompile/CRANpkg/lib/4.6/rmarkdown/rmarkdown/highlight/arrow.theme" --pdf-engine xelatex --include-before-body "D:\temp\2025_08_26_01_50_00_7068\RtmpMJvweB\render_code33242f421e94\preamble.tex" --variable graphics --variable "geometry:margin=1in" 
  
  Output created: D:/temp/2025_08_26_01_50_00_7068/RtmpMJvweB/render_code33242f421e94/output.pdf
  [ FAIL 6 | WARN 2 | SKIP 0 | PASS 35 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-render_code.R:14:13'): Rmd file is correct ───────────────────
  `rmd_content` (`actual`) not identical to `written_content` (`expected`).
  
  actual[9:13] vs expected[9:17]
    "## Running Code"
    ""
    "```{r, eval = FALSE}"
  - "plot(AirPassengers)"
  + "\"\"\t\"N\"\t\"M\"\t\"SD\"\t\"1.\"\t\"2.\"\t\"3.\"\t\"4.\""
  + "\"1. mpg\"\t\"32\"\t\" 20.09\"\t\" 6.03\"\t\" - \"\t\"-0.78***\"\t\" 0.42*\"\t\"-0.87***\""
  + "\"2. hp\"\t\"32\"\t\"146.69\"\t\"68.56\"\t\"\"\t\" - \"\t\"-0.71***\"\t\" 0.66***\""
  + "\"3. qsec\"\t\"32\"\t\" 17.85\"\t\" 1.79\"\t\"\"\t\"\"\t\" - \"\t\"-0.17\""
  + "\"4. wt\"\t\"32\"\t\"  3.22\"\t\" 0.98\"\t\"\"\t\"\"\t\"\"\t\" - \""
    "```"
  ── Failure ('test-render_code.R:25:13'): Rmd file is correct ───────────────────
  `rmd_content` (`actual`) not identical to `written_content` (`expected`).
  
       actual                | expected                  
   [9] "## Running Code"     | "## Running Code"     [9] 
  [10] ""                    | ""                    [10]
  [11] "```{r, eval = TRUE}" | "```{r, eval = TRUE}" [11]
  [12] "plot(AirPassengers)" - ""                    [12]
  [13] "```"                 | "```"                 [13]
  ── Failure ('test-render_code.R:36:13'): Rmd file is correct ───────────────────
  `rmd_content` (`actual`) not identical to `written_content` (`expected`).
  
  `actual[9:13]`:   "## Running Code" "" "" "Bonjour les amis" ""
  `expected[9:13]`: "## Running Code" "" "" ""                 ""
  ── Failure ('test-render_code.R:65:13'): Rmd file is correct ───────────────────
  `rmd_content` (`actual`) not identical to `written_content` (`expected`).
  
       actual                | expected                  
   [9] "## Running Code"     | "## Running Code"     [9] 
  [10] ""                    | ""                    [10]
  [11] "```{r, eval = TRUE}" | "```{r, eval = TRUE}" [11]
  [12] "plot(AirPassengers)" - ""                    [12]
  [13] "```"                 | "```"                 [13]
  ── Failure ('test-render_code.R:75:13'): Rmd file is correct ───────────────────
  `rmd_content` (`actual`) not identical to `written_content` (`expected`).
  
  `actual[9:13]`:   "## Running Code" "" "" "Bonjour les amis" ""
  `expected[9:13]`: "## Running Code" "" "" ""                 ""
  ── Failure ('test-render_code.R:99:13'): Output file is correct ────────────────
  `txt_output_html` (`actual`) not identical to `txt_template_output_html` (`expected`).
  
  lines(actual) vs lines(expected)
    "Format code"
    ""
    "Running Code"
  + ""
  + "print(AirPassengers)"
  + ""
  + "## Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec ## 1949 112 118 132 129 121 135 148 148 136 119 104 118 ## 1950 115 126 141 135 125 149 170 170 158 133 114 140 ## 1951 145 150 178 163 172 178 199 199 184 162 146 166 ## 1952 171 180 193 181 183 218 230 242 209 191 172 194 ## 1953 196 196 236 235 229 243 264 272 237 211 180 201 ## 1954 204 188 235 227 234 264 302 293 259 229 203 229 ## 1955 242 233 267 269 270 315 364 347 312 274 237 278 ## 1956 284 277 317 313 318 374 413 405 355 306 271 306 ## 1957 315 301 356 348 355 422 465 467 404 347 305 336 ## 1958 340 318 362 348 363 435 491 505 404 359 310 337 ## 1959 360 342 406 396 420 472 548 559 463 407 362 405 ## 1960 417 391 419 461 472 535 622 606 508 461 390 432"
  + ""
  + "plot(AirPassengers)"
  + ""
  and 3 more ...
  
  [ FAIL 6 | WARN 2 | SKIP 0 | PASS 35 ]
  Error: Test failures
  Execution halted