datawizard 1.1.0
BREAKING CHANGES
-
data_read()now also returns Bayesian models from packages brms and
rstanarm as original model objects, and no longer coerces them into data
frames (#606). -
The output format of
describe_distribution()on grouped data has changed.
Before, it printed one table per group combination. Now, it prints a single
table with group columns at the start (#610). -
The output format of
describe_distribution()when confidence intervals are
requested has changed. Now, for each centrality measure a confidence interval
is calculated (#617). -
data_modify()now always uses values of a vector for a modified or newly
created variable, and no longer tries to detect whether a character value
possibly contains an expression. To allow expression provided as string (or
character vectors), use the helper-functionas_expr(). Only literal
expressions or strings wrapped inas_expr()will be evaluated as
expressions, everything else will be treated as vector with values for new
variables (#605).
CHANGES
-
display()is now re-exported from package insight. -
data_read()anddata_write()now rely on base-R functions for files of
type.rds,.rdaor.rdata. Thus, package rio is no longer required
to be installed for these file types (#607). -
data_codebook()gives an informative warning when no column names matched
the selection pattern (#601). -
data_to_long()now errors when columns selected to reshape do not exist in
the data, to avoid nonsensical results that could be missed (#602). -
New argument
byindescribe_distribution()(#604). -
describe_distribution()now gives informative errors when column names
in the input data frame conflict with column from the output table (#612). -
The methods for
parameters_distributionobjects are now defined in
datawizard(they were previously inparameters) (#613).
BUG FIXES
-
Fixed bug in
data_to_wide(), where new column names innames_fromwere
ignored when that column only contained one unique value. -
Fixed bug in
describe_distribution()when some group combinations
didn't appear in the data (#609). -
Fixed bug in
describe_distribution()when more than one value for the
centralityargument were specified (#617). -
Fixed bug in
describe_distribution()where settingverbose = FALSE
didn't hide some warnings (#617). -
Fixed warning in
data_summary()when a variable had the same name as
another object in the global environment (#585).