spicy: Publication-Ready Tables for Descriptive Statistics and Regression Models

Provides publication-ready tables for descriptive statistics and regression models: frequency tables and cross-tabulations with association measures (Cramer's V, Kendall's Tau-b, and others), categorical and continuous summary tables, by group or from a complex survey design, and regression tables for one or more models side by side, across more than thirty model classes from mixed-effects to survival and Bayesian, with robust standard errors, average marginal effects, and univariable screening. Tables follow APA conventions by default, can switch to named journal styles such as JAMA, NEJM, or The Lancet, and render identically in the console and in 'gt', 'tinytable', 'flextable', 'Word', 'Excel', or the clipboard. Declared missing values in labelled data are honored and disclosed throughout the descriptive tables. Helpers cover codebooks, variable inspection, and row-wise summaries.

Version: 0.13.0
Depends: R (≥ 4.1.0)
Imports: crayon, dplyr, labelled, rlang (≥ 1.1.0), sandwich (≥ 3.1-2), stats, stringr, tibble, tidyselect, utils
Suggests: bit64, boot, broom, car, clipr, clubSandwich, DT, effectsize, emmeans, estimatr (≥ 1.0.0), fixest (≥ 0.11), flexsurv (≥ 2.2), flextable, geepack (≥ 1.3.9), gt, haven, htmltools, insight, glmmTMB (≥ 1.1.7), knitr, lme4 (≥ 1.1-35), lmerTest (≥ 3.1-3), lmtest, merDeriv (≥ 0.2.6), marginaleffects, modelsummary, collapse, MASS, mgcv (≥ 1.9), nlme (≥ 3.1-160), nnet, numDeriv, ordinal (≥ 2022.11), AER (≥ 1.2), betareg (≥ 3.1), mlogit (≥ 1.1), pscl (≥ 1.5), quantreg (≥ 5.86), RLRsim, reformulas, rms (≥ 6.7), sampleSelection (≥ 1.2), posterior (≥ 1.5.0), rstanarm (≥ 2.21), brms (≥ 2.20), loo (≥ 2.6), rstan, survey (≥ 4.5), survival (≥ 3.5), officer, openxlsx2, parameters, performance, rmarkdown, spelling, testthat (≥ 3.0.0), tinytable, withr
Published: 2026-10-01
DOI: 10.32614/CRAN.package.spicy
Author: Amal Tawfik ORCID iD ROR ID [aut, cre, cph]
Maintainer: Amal Tawfik <amal.tawfik at hesav.ch>
BugReports: https://github.com/amaltawfik/spicy/issues
License: MIT + file LICENSE
URL: https://amaltawfik.github.io/spicy/, https://github.com/amaltawfik/spicy
NeedsCompilation: no
Language: en-US
Citation: spicy citation info
Materials: README, NEWS
CRAN checks: spicy results

Documentation:

Reference manual: spicy.html , spicy.pdf
Vignettes: Getting started with spicy (source, R code)

Downloads:

Package source: spicy_0.13.0.tar.gz
Windows binaries: r-devel: spicy_0.12.0.zip, r-release: spicy_0.12.0.zip, r-oldrel: spicy_0.12.0.zip
macOS binaries: r-release (arm64): spicy_0.12.0.tgz, r-oldrel (arm64): spicy_0.12.0.tgz, r-release (x86_64): spicy_0.13.0.tgz, r-oldrel (x86_64): spicy_0.13.0.tgz
Old sources: spicy archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=spicy to link to this page.