Skip to content

Refactor add_pvalue#40

Merged
csdaw merged 13 commits intomasterfrom
refactor-pvalue
Jan 1, 2026
Merged

Refactor add_pvalue#40
csdaw merged 13 commits intomasterfrom
refactor-pvalue

Conversation

@csdaw
Copy link
Copy Markdown
Owner

@csdaw csdaw commented Jan 1, 2026

This PR involves:

  • Complete re-write of add_pvalue() and geom_bracket() to be easier to debug and inline with modern ggplot2 conventions.
  • Complete re-write geom_bracket() to be inline with modern ggplot2 conventions.
  • Add the functions create_bracket() and geom_pvalue()
  • Add the ggproto objects GeomBracket, GeomPValue, and StatPValue
  • Add the grob bracketGrob
  • Add the S3 method makeContent.bracket
  • Replaces the old fragile add_pvalue() tests with visual snapshot unit tests.
  • Slight changes to some vignettes

@csdaw csdaw merged commit a2bc406 into master Jan 1, 2026
7 checks passed
@csdaw csdaw deleted the refactor-pvalue branch January 2, 2026 01:50
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