{"id":32209852,"url":"https://github.com/dewittpe/qwraps2","last_synced_at":"2026-02-18T22:36:49.587Z","repository":{"id":29684982,"uuid":"33227475","full_name":"dewittpe/qwraps2","owner":"dewittpe","description":"An updated version of qwraps with a focus on flexibility and general purpose.  These functions are helpful for extracting and formatting results from R into .Rnw or .Rmd files.  Additional functions for routine work such as extracting results from regression models or finding sensitivity and specificity.","archived":false,"fork":false,"pushed_at":"2024-10-18T16:25:24.000Z","size":13295,"stargazers_count":37,"open_issues_count":4,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-12-04T11:42:17.878Z","etag":null,"topics":["cran","r","r-package"],"latest_commit_sha":null,"homepage":"http://www.peteredewitt.com/qwraps2/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dewittpe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-01T04:57:22.000Z","updated_at":"2025-04-15T20:47:20.000Z","dependencies_parsed_at":"2023-01-14T15:27:24.995Z","dependency_job_id":"a61098f9-a1c5-461c-bd0a-25b0fc8d7951","html_url":"https://github.com/dewittpe/qwraps2","commit_stats":{"total_commits":539,"total_committers":8,"mean_commits":67.375,"dds":0.5528756957328386,"last_synced_commit":"20de72488afad22025f9144513366be4fd92a4ea"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/dewittpe/qwraps2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewittpe%2Fqwraps2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewittpe%2Fqwraps2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewittpe%2Fqwraps2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewittpe%2Fqwraps2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dewittpe","download_url":"https://codeload.github.com/dewittpe/qwraps2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewittpe%2Fqwraps2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29597269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","r","r-package"],"created_at":"2025-10-22T06:19:12.217Z","updated_at":"2026-02-18T22:36:49.579Z","avatar_url":"https://github.com/dewittpe.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qwraps2 \u003cimg src=\"man/figures/qwraps2logo.png\" align=\"right\" height=\"150\"/\u003e\n\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)\n[![R-CMD-check](https://github.com/dewittpe/qwraps2/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/dewittpe/qwraps2/actions/workflows/R-CMD-check.yaml)\n[![codecov](https://codecov.io/gh/dewittpe/qwraps2/branch/master/graph/badge.svg)](https://codecov.io/gh/dewittpe/qwraps2)\n\n[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8049/badge)](https://www.bestpractices.dev/projects/8049)\n\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/qwraps2)](https://cran.r-project.org/package=qwraps2)\n[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/qwraps2)](http://www.r-pkg.org/pkg/qwraps2)\n[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/qwraps2)](http://www.r-pkg.org/pkg/qwraps2)\n\n[![License](https://img.shields.io/badge/licence-GPL--2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)\n[![minimal R version](https://img.shields.io/badge/R%3E%3D-3.5.0-6666ff.svg)](https://cran.r-project.org/)\n\nA collection of helpful functions for summarizing data and formatting results.\nThese or similar functions can be found in other R packages on github.com or\non CRAN.  However, this is a collection of methods I have generated to help with\nparticular projects I have worked on over the last several years.  Using my\noriginal `qwraps` package as the foundation, this work is aimed at simplicity\nand ease of use.\n\nSome of the tools provided by `qwraps2` are:\n\n* Formatting results:\n  * `frmt`, `frmtci`, and `frmtp` make it easier to consistently format numeric\n    values, confidence intervals, and p-values in reports.\n  * `qable` is a wrapper around `knitr::kable` with my preferred defaults.\n  * `summary_table` is used to generate data summary tables in markdown or LaTeX\n  * `mean_ci`, `mean_sd`, `median_iqr`, `n_perc` make it easy to report formatted\n    summary statistics.\n\n* Plotting:\n  Tools for building specific types of plots in\n  [ggplot2](https://cran.r-project.org/package=ggplot2)\n  * `qacf`: Autocorrelation plots\n  * `qblandaltman`: Bland Altman plots\n  * `qkmplot`: Kaplan-Meier plots\n  * `qprc`: Precision Recall Curves\n  * `qroc`: Receiver Operator Curves\n  * `ggplot2_extract_legend`: extract the legend from a ggplot.\n\n* R Programming and Development\n  * `lazyload_cache` Load the cache generated by knitr into an interactive\n    session.\n\n* Other Tools:\n  * `confusion_matrix`: building and generate statistics for confusion matrices.\n  * `logit` and `invlogit`: quick logit and inverse logit functions\n  * `ll`: a variant for `ls()`\n\n----\n\n## Contribute!\nIf you have a particular task or function used for data summaries or for\nreporting that you think would be helpful to include in this package please fork\nthe repo, add the feature, and send me a pull request.\n\n### Building the package\nUse the makefile.  RStudio users, you will find a `qwraps2.Rproj` that will set\nthe default to use the makefile in the build.  My preferred IDE is\n[neovim](https://neovim.io) with the\n[Nvim-R](https://github.com/jalvesaq/Nvim-R) plug-in and I prefer to work on a\nDebian system.  After cloning the repo, a simple call\n\n    make\n\nwill build the package.  This includes generating man files via\n[roxygen2](https://cran.r-project.org/package=roxygen2), building the vignettes,\nand then building the package via `R CMD build .`.\nPassing arguments to `R CMD build` can be done too.\nFor example, building the package without the vignettes is done via:\n\n    make build-options=--no-build-vignettes\n\n---\n\n## Install\n\n### From CRAN\nDownload and install from\n[The Comprehensive R Archive Network (CRAN)](https://cran.r-project.org/).\n\n    install.packages(\"qwraps2\", repo = \"http://cran.rstudio.com\")\n\n### Developmental\nInstall the development version of `qwraps2` directly from github via the\n[`remotes`](https://github.com/hadley/remotes/) package:\n\n    if (!(\"remotes\" %in% rownames(installed.packages()))) {\n      warning(\"installing remotes from https://cran.rstudio.com\")\n      install.packages(\"remotes\", repo = \"https://cran.rstudio.com\")\n    }\n\n    remotes::install_github(\"dewittpe/qwraps2\", build_vignettes = TRUE)\n\n*NOTE:* If you are working on a Windows machine you will need to download and\ninstall [`Rtools`](https://cran.r-project.org/bin/windows/Rtools/).\n\n### Cloned repo\nInstall with GNU `make`\n\n    make install\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdewittpe%2Fqwraps2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdewittpe%2Fqwraps2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdewittpe%2Fqwraps2/lists"}