New features
report_ai(): add support for glm, merMod (lme4), and glmmTMB model classes.
report_ai(): ## Model section now includes a CI / degrees-of-freedom estimation line (e.g., Inference: 95% CI [Satterthwaite df]) when the information is available from parameters::model_parameters().
report_ai.default(): instead of stopping with an error, now emits a warning and falls back to the standard report() output so that documents continue to render for unsupported model classes.
report(): new audience argument ("humans" (default) or "ai"). When "ai", report() delegates to report_ai(). The default can be set globally via options(report_audience = "ai").
New vignette: AI-Optimized Reports — explains report_ai(), the audience argument, and how to convert an entire Quarto document with a single option.
Bug fixes
report_participants(): fix CRAN failure on r-devel due to row names contain missing values error by replacing datawizard::data_tabulate() with a direct table() call for country and race frequency tables (#593).
Fix report() crash when character vector has only one unique value (#578).
Bug fixes
attr() in R-devel (#590) to prevent CRAN removal.Bug fixes
report_effectsize.htest() called internal effectsize functions with undefined table parameter (#459)report.brmsfit(): significantly improved performance by using faster method = "basic" instead of method = "refit" for effect size calculation, reducing execution time from hours to minutes for large Bayesian models (#568)report.brmsfit(): fix issue where report text was printed multiple times when different parameters had different priors (#543)report() for glmmTMB objects by addressing both regex pattern and redundant CI information concatenation in report_info.lm() (#481)Minor changes
Bug fixes
Minor changes
report_htest_chi2 stops supporting rule "chen2010" (following change in effectsize).Breaking
Arguments named group, at and group_by will be deprecated in future
releases. of easystats packages. Please use by instead. This affects
following functions in report:
report_participants()report_sample()Minor changes
report now supports reporting of Bayesian model comparison with variables of class brms::loo_compare.report now supports reporting of BayesFactor objects with variables of class BFBayesFactor.report_sample() now suggests valid column names for misspelled columns in the select, by, weights and exclude arguments.Bug fixes
report() for htest objects.New features
report_s() to report the interpretation of S- and p-values in an easy-to-understand
language.Major Changes
{report} to an MIT license.Minor changes
report now supports variables of class htest for the Chi2, Friedman test, Fisher's exact test, and Kruskal-Wallis.
report now supports variables of class Date, treating them like factors.
report now supports objects of class estimate_contrasts, from easystats'
modelbased::estimate_contrasts, outputting either the results in text form,
or as a table.
report_sample
ci, ci_method and ci_adjust arguments, to compute
confidence intervals for proportions of factor levels. Currently, two different
methods (Wald and Wilson) are available.group_by argument.group_by is allowed to be longer than 1).The print method for report_sample gains a layout argument, to print
tables either in "horizontal" or "vertical" layout.
Bug fixes
Fixed issue in report_participants, which did not print the "gender"
category for grouped output when that argument was written in lower-case.
Gender now also supports more alternate spellings, and age converts the
respective column to numeric.
Fixed printing issue for intercept-only models.
Hotfix for CRAN reverse dependency compatibility.
Breaking Changes
3.6.Minor changes
report_sample improvement
n argument to also optionally include sample size.total parameter was not respected.report_effectsize improvement
t.test (htest) objects, now support the type (one of c("d", "g"))
and rules (one of c"cohen1988", "sawilowsky2009", "gignac2016"))
arguments.BREAKING CHANGES
Minor changes
report_participants improvement (@rempsyc, #260)
Now correctly reports NA values as % missing
Adds support for country and race demographic information
BUG FIXES
report().BREAKING CHANGES
{report} and now live in
{datawizard}
package:Data wrangling helpers:
data_addprefix()
data_addsuffix()
data_findcols()
data_remove()
data_rename()
data_reorder()
Text formatting helpers:
format_text()
text_fullstop()
text_lastchar()
text_concatenate()
text_paste()
text_remove()
text_wrap()
MAJOR CHANGES
Reporting participant's sex/gender information has improved (thanks to @drfeinberg, #212)
Separated sex and gender into different searches/columns
Sex is reported % female, % male, % other, % missing if any cases are missing
Gender is reported % Women, % Men, % Non-Binary, % missing if any cases are missing
Age reports % missing if any cases are missing.
total column from
report_sample(), when grouping variable contained missing values.ivreg (ivreg).