Skip to content

Modify dabestr print to make greeting/ending optional and fix formatting - #185

Open
marsiwiec wants to merge 19 commits into
ACCLAB:devfrom
marsiwiec:master
Open

Modify dabestr print to make greeting/ending optional and fix formatting#185
marsiwiec wants to merge 19 commits into
ACCLAB:devfrom
marsiwiec:master

Conversation

@marsiwiec

Copy link
Copy Markdown

Hi, this is a relatively straightforward change to make the additional text in printed summaries ("greeting" and "ending") optional via a print_greet_end boolean argument to print methods (defaulting to TRUE, thus not changing default behavior). This makes it easier to directly paste into reports etc.

Also included are some formatting fixes and improved formatting for confidence intervals, which facilitates automated reporting.

  • add 'print_greet_end' argument to print methods
  • add needed white-space for more readable formatting
  • fix unnecessary 'character 0' instead of empty string in print.
  • fix typos related to double-escaped newlines
  • rearrange wording for the reporting of confidence intervals in print methods

sunroofgod and others added 8 commits September 12, 2023 23:48
Merge dev branch into master branch
v2023.9.12 along with favicon updates
Added swarm bars, forest plot function
- add 'print_greet_end' argument to print methods
- fix unnecessary 'character 0' instead of empty string in print.
- fix typos related to double-escaped newlines
- rearrange wording for the reporting of confidence intervals in print
methods
ggplot2 transitioned from S3 class to S7 class, hence affecting several functions including 
```
expect_s3_class(p, "ggplot")
expect_length(p, 11)
expect_type(p, "list")
```
which directly affects the testing script for function add_scaling_component_to_delta_plot(). 
The output of this function is a list, and the first element of the list is a ggplot2 object.
@marsiwiec
marsiwiec force-pushed the master branch 3 times, most recently from 2f8eb5c to 00532d4 Compare January 23, 2026 11:47
maiyishan and others added 10 commits February 13, 2026 14:43
Original paired check looked at sample size across all groups; fixed to check each idx group separately
add import library(dplyr) to plot_aesthetics
added import library(dplyr) to tutorial vignettes
updated Namespace file:
added importFrom(dplyr, n)

This should help with tests failing due to not finding n() function.
attempt to fixing test_001_api.R and test_001_utils.R not working - potential problem with np_dataset definition?
Check if any error is being detected
Reworks paired check (again); previous paired check was failing with comparisons with 3 groups or more (e.g. in sequential experiments)

Paired check should now work with multi-2 groups as well as >2 group comparisons

Undid previous regexp change
Add a section to reflect that the code works for comparisons of different sample sizes as long as pairs are internally balanced in size.
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.

6 participants