Skip to content

tfrmt

0.4.0Package record

Applies Display Metadata to Analysis Results Datasets

1packages dependsuggested by 1
7.5Kdownloads / year
95.7%test coverage
8/13flavors OK

Overview

About
Maintained by Alanah JonasCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funders: Atorus Research LLC and GlaxoSmithKline Research & Development Limited

Creates a framework to store and apply display metadata to Analysis Results Datasets (ARDs). The use of 'tfrmt' allows users to define table format and styling without the data, and later apply the format to the data.

Changes in 0.4.0

Improvements

  • footnote_plan() receives a new argument, order, allowing users to specify the order of footnotes (#605, @alanahjonas95).
  • Add markdown processing of stub column labels (#617)
  • Update default for row_grp_plan()/row_grp_structure() to remove trailing post-space rows (#630, @alanahjonas95).
  • Added extract_data() function to enable data to be easily extracted from a tfrmt into a data frame (#628, @alanahjonas95).
  • shuffle_card() now automatically strips inherited ARD attributes from objects of class bind_ard to avoid unreliable metadata (#650).
  • shuffle_card() now prioritises the user-supplied by argument over inherited ARD attributes, giving users control to override attributes and updating the mismatch message to reflect this change (#650).

Bug fixes

  • Fix bug in tfrmt_sigdig so it correctly passes the 'missing' argument to the body_plan (#621, @alanahjonas95).
  • Fix bug in page_plan where the max_rows argument was returning an error if a value in the group variable was an empty string (#539, @alanahjonas95).
  • Fix bug in row_grp_plan where identical labels repeated across different groups were incorrectly forced to the top of the table instead of maintaining their correct order (#634, @alanahjonas95).
  • Fix bug in as.character.span_structure where the regex was incorrectly capturing content wrapped in parentheses as an R function even though it did not have a valid R function identifier immediately before the (. i.e., "n (%)" incorrectly captured as a function (#643, @LiamHobby).

From NEWS.md in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  tfrmt/tests/testthat/test_print_to_ggplot.R (.Label: 1, .Names: 1)
'.Label' should be changed to 'levels'.
'.Names' should be changed to 'names'.

CRAN check page ↗

Slowest check: 6.8 min · r-oldrel-macos-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • ERROR11 OK, 2 ERROR2026-07-07
  • OK13 OK2026-05-09
  • ERROR12 OK, 1 ERROR2026-05-03
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.0
READMEYes · 593 wordsVignettes· In the repository, left out of the releaseNEWSYes · 100% structured · mentions 0.4.0Citation fileNoWebsiteYes · pkgdown
Help pages
45 (3 internal)
Examples that run
93%28 run in a plain check · 2 never run
Exported functions with examples
73%
Documented parameters
96%
Return-value docs
98%
Help pages citing references
0%

Downloads

7.5K
CRAN downloads in the past year
Rank #4,012 · ~20/day · ~621/mo
Daily download trend is not available in this view yet.
1K30 days
2.3K90 days
7.5K1 year
Compare downloads with other packages →
Also on151 r2u4 autocran

Repository

92Stars
16Forks
40Open issues
6Open PRs
11Releases
2,713Commits
15Commit identities
2,713 commits · Last activity 2026-08-26 · 0% stars, 30d · Default branch at 0.4.0.9000, ahead of CRAN 0.4.0 (checked 2026-10-21) · Discussions: 1 post
Responsiveness
How these are sampled
PRs merged (all time)
90%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-10-08 · 802026-08-28 · 92
PracticesBeta

16 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/gsk-biostatistics/tfrmt on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (1)
Issue templates
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-08-26 · The repository has a site deploy workflow

pkgdown site last built 2026-07-14

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (5)
lintrLint workflowAirVS CodeRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-07-13
    Commits: at least 46 crediting it in the message
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
24 external dependencies (excludes base and recommended)

Installing tfrmt adds 65 packages (33 with compiled code, 56 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

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

Datasets

People & History

People (9)
Author, Maintainer since 0.4.0 (2026) · added in 0.3.0
Author · added in 0.2.0
Copyright holder, Funder

Previously maintained by Becca Krouse (0.1.0 to 0.3.0) and Christina Fillmore (0.0.1 to 0.0.3).

Releases (11)

Pick two releases to compare their code metrics.

  • 0.4.0Latest
    record
    2026-07-10 · current release · diff ↗ ·
    added 2 exports
    extract_data, reset_component
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.0
    record
    2026-01-24 · diff ↗
  • 0.2.1
    record
    2025-10-04 · diff ↗
  • 0.2.0
    record
    2025-09-06 · diff ↗ ·
    added 5 exports
    prep_big_n, prep_combine_vars, prep_hierarchical_fill, prep_label, shuffle_card
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.3
    record
    2024-10-15 · diff ↗
  • 0.1.2
    record
    2024-07-06 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.1
    record
    2024-03-15 · diff ↗
  • 0.1.0
    record
    2023-10-18 · diff ↗ ·
    added 5 exports
    cleaned_data_to_gt, display_val_frmts, make_mock_data, page_plan, page_structure
  • 0.0.3
    record
    2023-06-22 · diff ↗ ·
    added 1 export
    json_to_tfrmt
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.2
    record
    2023-02-13 · diff ↗ ·
    added 3 exports
    as_json, is_frmt_when, tfrmt_to_json
  • 0.0.1
    record
    2022-12-06
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-12-06
Total releases
11 / 4 yrs
License
Apache License (>= 2)
Minimum R
≥ 4.2.0
Bundled data
55 KB / 4 files
Download size
244 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tfrmt")
Jonas, A., Atorus Research LLC, GlaxoSmithKline Research & Development Limited, Ahmad, K., Fillmore, C., Haughton, S., Hughes, E., Krouse, B., & Moldovan-Grünfeld, D. (2026). tfrmt: Applies Display Metadata to Analysis Results Datasets (Version 0.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.tfrmt

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 tfrmt version 0.4.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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