Skip to content

Change tidy() default to simplify = TRUE#61

Merged
joethorley merged 1 commit into
mainfrom
flip-tidy-simplify-default
Jul 15, 2026
Merged

Change tidy() default to simplify = TRUE#61
joethorley merged 1 commit into
mainfrom
flip-tidy-simplify-default

Conversation

@joethorley

Copy link
Copy Markdown
Member

The default value of simplify in tidy.nlists(), tidy.mcmc() and tidy.mcmc.list() is now TRUE, so default calls return the slim output (term, estimate, lower, upper, svalue) without the deprecation warning that previously fired on every default call. Explicit simplify = FALSE still works and returns the wide output with sd and zscore columns, but remains warn-deprecated.

This follows the migration pattern already completed for coef() in mcmcr 0.4.1 and embr 1.1.0. Staying at warn (rather than deprecate_stop()) for simplify = FALSE keeps the released mcmcr working, since tidy.mcmcr() passes its own simplify = FALSE default through explicitly; a companion mcmcr PR flips that default to match. simplify = FALSE can progress to deprecate_stop() once the mcmcr release is out.

  • Wide-output tests now pass simplify = FALSE explicitly; a new test pins the default to the simplified output.
  • The simplify parameter documentation notes that FALSE is deprecated.
  • tidy(directional_information = ) soft-deprecation is unchanged.

devtools::check(): 0 errors, 0 warnings, 0 notes. Tests: 461 passing (1 pre-existing skip).

🤖 Generated with Claude Code

The default value of simplify in tidy.nlists(), tidy.mcmc() and
tidy.mcmc.list() is now TRUE, so default calls return the term,
estimate, lower, upper and svalue columns without a deprecation
warning. Explicit simplify = FALSE still returns the sd and zscore
columns but remains warn-deprecated, matching the migration already
completed for coef() in mcmcr 0.4.1 and embr 1.1.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@joethorley
joethorley merged commit f6ae226 into main Jul 15, 2026
9 checks passed
@joethorley
joethorley deleted the flip-tidy-simplify-default branch July 15, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant