Quick Wraps 2

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 a 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'.

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status Coverage Status

CRAN_Status_Badge CRAN RStudio mirror downloads CRAN RStudio mirror downloads

Licence minimal R version

A collection of helpful functions for summarizing data and formating results. These functions are almost certainly found in other R packages on github.com, or on CRAN. This is a collection of methods I have generated to help with particular projects I have worked on over the last several years. Using my origiinal qwraps package as the foundation, this work is aimed at simplicity and ease of use.


If you have a particular task or function used for data summaries or for reporting that you think would be helpful to include in this package please fork the repo, add the feature, and send me a pull request.



Download and install from The Comprehensive R Archive Network (CRAN).

install.packages("qwraps2", repo = "http://cran.rstudio.com")


Install the development version of qwraps2 directly from github via the devtools package:

if (!("devtools" %in% rownames(installed.packages()))) { 
  warning("installing devtools from https://cran.rstudio.com")
  install.packages("devtools", repo = "https://cran.rstudio.com")

devtools::install_github("dewittpe/qwraps2", build_vignettes = TRUE)

NOTE: If you are working on a Windows machine you will need to download and install Rtools before devtools will work for you.

Cloned repo

Install with GNU make

make install


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.5.2 by Peter DeWitt, 9 months ago


Browse source code at https://github.com/cran/qwraps2

Authors: Peter DeWitt [aut, cre] , Tell Bennett [ctb]

Documentation:   PDF Manual  

GPL-2 license

Imports dplyr, ggplot2, knitr, Rcpp, rlang, utils, xfun

Suggests survival, testthat, covr, rbenchmark, rmarkdown

Linking to Rcpp, RcppArmadillo

Suggested by REDCapExporter, ensr, pedalfast.data.

See at CRAN