Useful Functions for Programming and Generating Documents
Overview
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.
Install
Health
ERRORtestsr-release-macos-arm64
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- ERROR12 OK, 1 ERRORNow
- ERROR13 OK, 1 ERROR2026-03-10
Documentation
- Help pages
- 10 (1 internal)includes a package overview page
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 90%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Moved from tanguybarthelemy/tbox.
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 8
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
12 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/tanguybarthelemy/tbox on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-01-28 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing TBox adds 28 packages (16 with compiled code, 18 MB of source tarballs). Heaviest: bslib 5.6 MB, sass 2.9 MB, rmarkdown 2.1 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.2Latest2025-04-27 · current release · diff ↗ ·
added 8 exports
create_preamble_tex, generate_chunk_header, generate_rmd_file, get_data, get_fira_path, get_latex_engine, get_word_template_path, write_data - RR 4.5.0 released · 2025-04-11
- 0.1.22024-06-14 · diff ↗
- 0.1.02024-06-07
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-06-07
- Total releases
- 3 / 2 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.6
- Download size
- 727 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("TBox")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.