Skip to content

Useful Functions for Programming and Generating Documents

1packages depend
3.1Kdownloads / year
35.7%test coverage
12/13flavors OK

Overview

About

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

CRAN checks
1ERROR12OK
Check messages
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

CRAN check page ↗

Slowest check: 1.5 min · r-oldrel-windows-x86_64
Status changes
  • ERROR12 OK, 1 ERRORNow
  • ERROR13 OK, 1 ERROR2026-03-10
Advisories

none known

Documentation

In release 0.2.2
READMEYes · 62 wordsVignettesNoNEWSYes · 100% structured · does not mention 0.2.2Citation fileNoWebsiteYes · pkgdown
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

3.1K
CRAN downloads in the past year
Rank #16,489 · ~9/day · ~262/mo
Daily download trend is not available in this view yet.
26230 days
75490 days
3.1K1 year
Compare downloads with other packages →
Also on75 r2u3 autocran

Repository

Moved from tanguybarthelemy/tbox.

0Stars
1Forks
4Open issues
0Open PRs
8Releases
135Commits
4Commit identities
rrenderingrmarkdownrstatsr-packagepackage
135 commits · Last activity 2026-08-31
Responsiveness
How these are sampled
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

2024-06-27 · 12026-07-07 · 1
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-01-28 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (4)
lintrLint workflowAirRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.6
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2024)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.2Latest
    record
    2025-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
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.2
    record
    2024-06-14 · diff ↗
  • 0.1.0
    record
    2024-06-07
  • R
    R 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")
Barthelemy, T. (2025). TBox: Useful Functions for Programming and Generating Documents (Version 0.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for TBox version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy