Quick Wraps 2
Overview
A collection of (wrapper) functions the creator found useful for quickly placing data summaries and formatted regression results into '.Rnw' or '.Rmd' files. Functions for generating commonly used graphics, such as receiver operating curves or Bland-Altman plots, are also provided by 'qwraps2'. 'qwraps2' is an updated version of a package 'qwraps'. The original version 'qwraps' was never submitted to CRAN but can be found at https://github.com/dewittpe/qwraps/. The implementation and limited scope of the functions within 'qwraps2' https://github.com/dewittpe/qwraps2/ is fundamentally different from 'qwraps'.
Bug Fixes
- Correct
confusion_matrix()edge-case handling for sensitivity, positive predictive value, and F1 whenTP == 0and exactly one ofFPorFNis positive. These metrics now follow the documented GERBIL convention. - Improve
confusion_matrix()confidence intervals for boundary proportions of zero or one. - Allow
qrmst()to work with unstratifiedsurvfitobjects. - Correct
qsummary()formula generation for character and factor levels that contain quotes. - Add clearer error handling for empty
file_check()paths and invalidqable()row groups. - Correct and clarify vignette text for geometric means, geometric variance, and ROC terminology.
Show all changes in 0.6.3Hide the rest of the changes in 0.6.3
- Add
qkmplot_build_data_frame()as the correctly spelled helper and retainqkmplot_bulid_data_frame()as a deprecated wrapper for backward compatibility. - Add
GitHubpkg()as an alias forGithubpkg()
Documentation
- Improve the package-level overview, vignette navigation, and
summary_table()help for new users. - Add a pkgdown reference index and copy edit source documentation, including vignette spinners and utility help pages.
- Remove stale symlink setup instructions from contributor documentation and update the vignette-spinner
Makefiletemplate to generate real.Rmdfiles. - Update and extend URLs and build instructions in
README.md
Improvements
print.qwraps2_set_diffgainsverboseto control when long sets of unique values are printed.
Deprecations
- Functions
logitandinvlogithave been deprecated in favor of base Rqlogisandplogisrespectively. Whenlogitandinvlogitwere originally written they were faster thanqlogisandplogis, that is no longer true. qkmplot_bulid_data_frame()has been deprecated in favor of the correctly spelledqkmplot_build_data_frame().
From NEWS.md in the release
Install
Health
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: qwraps2/tests/test-frmtp.R (.Dim: 2, .Dimnames: 2) '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-21
- ERROR11 OK, 2 ERROR2026-06-11
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- OK14 OK2026-03-10
Documentation
- Help pages
- 37 (1 internal)includes a package overview page
- Examples that run
- 100%28 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 88%
- Documented parameters
- 93%
- Return-value docs
- 68%
- Help pages citing references
- 16%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Issues over time
PRs over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/dewittpe/qwraps2 on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-06-17 · The repository has a site deploy workflow
pkgdown site last built 2026-06-17, before release 0.6.3 (2026-06-18)
Show all practicesHide 2 practices
Dependencies
Installing qwraps2 adds 24 packages (11 with compiled code, 17 MB of source tarballs). Heaviest: ggplot2 6.0 MB, Rcpp 1.8 MB, isoband 1.5 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.6.3Latest
- RR 4.6.0 released · 2026-04-24
- 0.6.22026-02-28 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.6.12024-10-16 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.6.02023-11-10 · diff ↗ ·
removed 5 exports
auc, is.confusion_matrix, qsummary_042, summary_table_042, tab_summaryadded 5 exports
%s%, mean_se, qprc, qprc_build_data_frame, qrmst - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.5.22021-03-07 · diff ↗
- 0.5.12021-03-01 · diff ↗
- 0.5.0
- RR 4.0.0 released · 2020-04-24
- 0.4.2
- RR 3.6.0 released · 2019-04-26
Show 18 earlier eventsHide 18 earlier events
- 0.4.12019-03-15 · diff ↗
- 0.4.02019-01-14 · diff ↗ ·
removed 3 exports
create_data_raw, create_pkg, create_vignetteadded 5 exports
CRANpkg, Githubpkg, Gitlabpkg, Rpkg, qsummary - RR 3.5.0 released · 2018-04-23
- 0.3.02018-04-17 · diff ↗ ·
removed 1 export
cbind.qwraps2_summary_tableadded 13 exports
StatStepribbon, create_data_raw, create_pkg, create_vignette, file_check, gmean, gsd, gvar, lazyload_cache_dir, lazyload_cache_labels, pkg_check, stat_stepribbon, traprule - RR 3.4.0 released · 2017-04-21
- 0.2.42016-12-19 · diff ↗
- 0.2.3
- 0.2.2
- 0.2.1
- RR 3.3.0 released · 2016-05-03
- 0.2.0
- 0.1.42016-04-11 · diff ↗
- 0.1.32016-04-09 · diff ↗ ·
removed 2 exports
sensitivity, specificityadded 2 exports
gmean_sd, is.confusion_matrix - 0.1.22015-11-11 · diff ↗ ·
added 8 exports
confusion_matrix, median_iqr, n_perc0, perc_n, qable, qkmplot_bulid_data_frame, sensitivity, specificity - 0.1.1
- RR 3.2.0 released · 2015-04-16
- 0.12015-04-09
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2015-04-09
- Total releases
- 21 / 11 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 164 KB / 3 files
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("qwraps2")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-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.