-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update plot.n_factors.R * delete unnecessary file * effectsize vdiffr test * add another vdiffr test * Update NEWS.md * also add merDeriv * bump version * get rid of ggrepel warnings * size -> linewidth * cran submission
- Loading branch information
1 parent
6a646ac
commit 90be1b5
Showing
14 changed files
with
217 additions
and
437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
tests/testthat/_snaps/plot.effectsize_table/aov-eta-squared-dot-plot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
test_that("`plot.see_effectsize_table()` works", { | ||
library(effectsize) | ||
m <- aov(mpg ~ factor(am) * factor(cyl), data = mtcars) | ||
result <- eta_squared(m) | ||
expect_s3_class(plot(result), "gg") | ||
}) | ||
|
||
test_that("`plot.see_equivalence_test()` works", { | ||
library(effectsize) | ||
m <- aov(mpg ~ factor(am) * factor(cyl), data = mtcars) | ||
result <- eta_squared(m) | ||
expect_s3_class(plot(result), "gg") | ||
result <- effectsize::eta_squared(m) | ||
set.seed(123) | ||
vdiffr::expect_doppelganger( | ||
title = "aov - eta_squared - dot plot", | ||
fig = plot(result) | ||
) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.