Tidy Presentation of Clinical Reporting
Overview
Streamlined statistical reporting in 'Rmarkdown' environments. Facilitates the automated reporting of descriptive statistics, multiple univariate models, multivariable models and tables combining these outputs. Plotting functions include customisable survival curves, forest plots from logistic and ordinal regression and bivariate comparison plots.
New features
rm_mvsum()andforestplotMV()now supportinclude_unadjustedparameter to display univariate (unadjusted) estimates alongside multivariable (adjusted) estimates in a single table or plotforestplotMV()data parameter is now optional - data will be automatically extracted from the model object if not provided- new
extract_package_details()function to extract R packages used by a script or markdown file, along with citations. - new
scrolling_table()creates scrollable HTML tables for long outputs or keeps regular tables for non-HTML formats
Minor improvements and fixes
- improved plotting of survival curves
- Cox proportional hazards clustering: fixed bug when clustering is used in coxph models
- Date handling in Word tables fixed bug where tables with date columns containing NA values caused errors in Word output
- rm_compactsum improvements: fixed output formatting issues, fixed bug with difftime variable handling, improved bolding for corrected p-values, better handling of negative numbers
- rm_uvsum fixes: fixed handling of integer predictors, various bug fixes for edge cases
- more robust handling of tidy evaluation
Show all changes in 0.1.3Hide the rest of the changes in 0.1.3
- HTML output improvements: improved display for special characters in HTML rendered tables
From NEWS.md in the release
Install
Health
ERRORtestsr-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-linux-x86_64
r-devel-linux-x86_64-debian-gcc
Running ‘testthat.R’ [7s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(reportRmd)
>
> test_check("reportRmd")
Using MC sim. Use set.seed() prior to function for reproducible results.
Using MC sim. Use set.seed() prior to function for reproducible results.
Saving _problems/test_calculations-348.R
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 66 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_calculations.R:348:3'): rm_mvsum outputs glmer binomial model with ORs correctly ──
Expected `output[, 2]` to equal `est`.
Differences:
actual | expected
[1] NA | NA [1]
[2] "Reference" | "Reference" [2]
[3] "0.37 (0.20, 0.68)" - "0.37 (0.20, 0.67)" [3]
[4] "0.32 (0.17, 0.61)" | "0.32 (0.17, 0.61)" [4]
[5] "0.21 (0.09, 0.48)" - "0.21 (0.09, 0.47)" [5]
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 66 ]
Error:
! Test failures.
Execution haltedr-devel-linux-x86_64-fedora-clang
Running ‘testthat.R’ [8s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(reportRmd)
>
> test_check("reportRmd")
Using MC sim. Use set.seed() prior to function for reproducible results.
Using MC sim. Use set.seed() prior to function for reproducible results.
Saving _problems/test_calculations-348.R
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 66 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_calculations.R:348:3'): rm_mvsum outputs glmer binomial model with ORs correctly ──
Expected `output[, 2]` to equal `est`.
Differences:
actual | expected
[1] NA | NA [1]
[2] "Reference" | "Reference" [2]
[3] "0.37 (0.20, 0.68)" - "0.37 (0.20, 0.67)" [3]
[4] "0.32 (0.17, 0.61)" | "0.32 (0.17, 0.61)" [4]
[5] "0.21 (0.09, 0.48)" - "0.21 (0.09, 0.47)" [5]
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 66 ]
Error:
! Test failures.
Execution haltedr-devel-linux-x86_64-fedora-gcc
Running ‘testthat.R’ [7s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(reportRmd)
>
> test_check("reportRmd")
Using MC sim. Use set.seed() prior to function for reproducible results.
Using MC sim. Use set.seed() prior to function for reproducible results.
Saving _problems/test_calculations-348.R
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 66 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_calculations.R:348:3'): rm_mvsum outputs glmer binomial model with ORs correctly ──
Expected `output[, 2]` to equal `est`.
Differences:
actual | expected
[1] NA | NA [1]
[2] "Reference" | "Reference" [2]
[3] "0.37 (0.20, 0.68)" - "0.37 (0.20, 0.67)" [3]
[4] "0.32 (0.17, 0.61)" | "0.32 (0.17, 0.61)" [4]
[5] "0.21 (0.09, 0.48)" - "0.21 (0.09, 0.47)" [5]
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 66 ]
Error:
! Test failures.
Execution haltedr-release-linux-x86_64
Running ‘testthat.R’ [11s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(reportRmd)
>
> test_check("reportRmd")
Using MC sim. Use set.seed() prior to function for reproducible results.
Using MC sim. Use set.seed() prior to function for reproducible results.
Saving _problems/test_calculations-348.R
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 66 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_calculations.R:348:3'): rm_mvsum outputs glmer binomial model with ORs correctly ──
Expected `output[, 2]` to equal `est`.
Differences:
actual | expected
[1] NA | NA [1]
[2] "Reference" | "Reference" [2]
[3] "0.37 (0.20, 0.68)" - "0.37 (0.20, 0.67)" [3]
[4] "0.32 (0.17, 0.61)" | "0.32 (0.17, 0.61)" [4]
[5] "0.21 (0.09, 0.48)" - "0.21 (0.09, 0.47)" [5]
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 66 ]
Error:
! Test failures.
Execution haltedNOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘ggkmcif2_2025.Rd’ \arguments should not be documented without \usage.
- ERROR8 OK, 1 NOTE, 4 ERRORNow
- ERROR9 OK, 1 NOTE, 3 ERROR2026-10-24
- NOTE12 OK, 1 NOTE2026-07-11
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-03-21
- OK14 OK2026-03-10
Documentation
- Help pages
- 101 (37 internal)
- Examples that run
- 81%22 run in a plain check · 5 never run
- Exported functions with examples
- 57%
- Documented parameters
- 97%
- Return-value docs
- 78%
- Help pages citing references
- 6%
- reportRmd Package HTML
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- 20
- Median days to close, 50 most recently updated closed PRs
- 218
Stars over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/biostatspmh/reportrmd on 2026-10-22.
GitHub Pages site last deployed 2026-03-23 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing reportRmd adds 98 packages (51 with compiled code, 84 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.3Latest2026-03-20 · current release · diff ↗ ·
removed 1 export
ggkmcif_pasteadded 13 exports
autoreg, coeffSum, delta_l, delta_u, extract_package_details, get_cluster_ids, get_event_counts, get_model_coef, get_model_data, ggkmcif2Parameters, gp, mterms, xvar_function - RR 4.5.0 released · 2025-04-11
- 0.1.1
- RR 4.4.0 released · 2024-04-24
- 0.1.02023-11-16 · diff ↗ ·
added 10 exports
clear_labels, excelColLetters, extract_labels, forestplotMV, forestplotUV, forestplotUVMV, ggkmcif2, rm_cifsum, set_labels, set_var_labels - RR 4.3.0 released · 2023-04-21
- 0.0.22023-01-13 · diff ↗
- 0.0.12022-10-17
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-10-17
- Total releases
- 5 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.2
- Bundled data
- 7.4 KB / 2 files
- Download size
- 2.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("reportRmd")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-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.