dtlg 0.1.1
Bug fixes and behaviour changes
-
AET01_table(): the row label for AE-related withdrawals has been shortened from “Total number of patients withdrawn from study due to an AE” to “Total number of patients withdrawn due to an AE”, for consistency with the other terse event labels in the same table. Code that matches this label by string equality (e.g. snapshot tests) will need to be updated.
dtlg 0.1.0
CRAN release: 2026-04-29
New features
-
summary_table(),summary_table_by()andsummary_table_by_targets()gain aninc_missingargument controlling how the “Missing” row is rendered for numeric targets:TRUE(default) always shows it,NAshows it only when missing values are present, andFALSEsuppresses it. Plumbed through tocalc_desc()andcalc_stats(). -
summary_table_by()andsummary_table_by_targets()gain asepargument to set the separator between the heading and group labels when grouping by more than one variable inrows_by(defaults to".").
Bug fixes and behaviour changes
-
calc_desc(): thenrow now reports the count of non-missing values rather than the total row count (.N), sonand theMissingrow are now consistent. -
summary_table_by_targets(): removed the spurious “target needs to be length 2” message; multiple target variables are now properly supported and covered by tests.
Infrastructure and tooling
- Adopted
lintrwith default linters across the package and added alint.yamlGitHub Actions workflow. - Added a code-coverage workflow that posts a coverage summary as a comment on pull requests, gated on
pull_requestevents to avoid duplicate runs. - Expanded the test suite – new tests for
AET01_table(), the rounding helpers,tern_summary_table(), and additionalsummary_table*()cases (multiple targets, missing-value handling) – raising overall coverage.
Documentation and metadata
- Reorganised maintainership and contact details: maintainer e-mails moved to the
acuityanalytics.comdomain and copyright holder updated to Acuity Analytics. - Documentation cleanup for
dt_count(),dt_summarise()and thesummary_table*()family; minor README and benchmarks article fixes.