Skip to content

TBox

Useful Functions for Programming and Generating Documents

v0.2.2 · Apr 27, 2025 · MIT + file LICENSE

Description

Tools to help developers and producers manipulate R objects and outputs. It includes tools for displaying results and objects, and for formatting them in the correct format.

Downloads

400

Last 30 days

8397th

400

Last 90 days

400

Last year

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
ERROR r-devel-macos-arm64

tests

  Running ‘testthat.R’ [1s/1s]
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")
  Saving _problems/test-render_code-9.R
  Saving _problems/test-render_code-49.R
  Saving _problems/test-render_code-93.R
  [ FAIL 3 | WARN 3 | SKIP 0 | PASS 34 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-render_code.R:9:13'): Rmd 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. ├─base::file.path(render_code(eval = FALSE), "template.Rmd") at test-render_code.R:9:13
   2. └─TBox::render_code(eval = FALSE)
   3.   └─TBox::generate_rmd_file(...)
   4.     └─checkmate::assert_character(content)
   5.       └─checkmate::makeAssertion(x, res, .var.name, add)
   6.         └─checkmate:::mstop(...)
  ── Error ('test-render_code.R:49:13'): Rmd 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. ├─base::file.path(render_code(eval = FALSE), "template.Rmd") at test-render_code.R:49:13
   2. └─TBox::render_code(eval = FALSE)
   3.   └─TBox::generate_rmd_file(...)
   4.     └─checkmate::assert_character(content)
   5.       └─checkmate::makeAssertion(x, res, .var.name, add)
   6.         └─checkmate:::mstop(...)
  ── Error ('test-render_code.R:92: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. ├─base::file.path(...) at test-render_code.R:92:13
   2. └─TBox::render_code(output_format = "html_document")
   3.   └─TBox::generate_rmd_file(...)
   4.     └─checkmate::assert_character(content)
   5.       └─checkmate::makeAssertion(x, res, .var.name, add)
   6.         └─checkmate:::mstop(...)
  
  [ FAIL 3 | WARN 3 | SKIP 0 | PASS 34 ]
  Error:
  ! Test failures.
  Execution halted
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-macos-arm64

tests

  Running ‘testthat.R’ [1s/1s]
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 unu

Dependency Network

Dependencies Reverse dependencies checkmate clipr knitr rmarkdown TBox

Version History

new 0.2.2 Mar 9, 2026