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
CRAN
223
Last 30 days
19758th
888
Last 90 days
2.7K
Last year
Trend: +24.6% (30d vs prior 30d)
r2u
10
Last 30 days
27
Last 90 days
108
Last year
Trend: -41.2% (30d vs prior 30d)
r2u: no daily series yet
CRAN Check Status
1
ERROR
12
OK
Show all 13 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-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 | ERROR |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (1 non-OK)
ERROR
r-release-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_fo
...[truncated]...
▆
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
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 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 te ...[truncated]... ile(...) 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