Skip to content

Commit

Permalink
cleaner snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Jul 27, 2024
1 parent b3ea1f9 commit a4e6221
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
33 changes: 0 additions & 33 deletions tests/testthat/_snaps/extract-stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,28 +138,6 @@
Length Class Mode
[1,] 7 ggstatsplot_stats list
[2,] 7 ggstatsplot_stats list
Code
summary(extracted_data[[1L]])
Output
Length Class Mode
subtitle_data 13 statsExpressions list
caption_data 4 statsExpressions list
pairwise_comparisons_data 0 -none- NULL
descriptive_data 4 tbl_df list
one_sample_data 0 -none- NULL
tidy_data 0 -none- NULL
glance_data 0 -none- NULL
Code
summary(extracted_data[[2L]])
Output
Length Class Mode
subtitle_data 13 statsExpressions list
caption_data 4 statsExpressions list
pairwise_comparisons_data 0 -none- NULL
descriptive_data 4 tbl_df list
one_sample_data 0 -none- NULL
tidy_data 0 -none- NULL
glance_data 0 -none- NULL
Code
extract_subtitle(p8)
Output
Expand All @@ -173,15 +151,4 @@
widehat(italic("C"))["Pearson"] == "0.52", CI["95%"] ~ "[" *
"0.00", "0.74" * "]", italic("n")["obs"] == "13")
Code
extract_caption(p8)
Output
[[1]]
list(log[e] * (BF["01"]) == "-0.16", italic("a")["Gunel-Dickey"] ==
"1.00")
[[2]]
list(log[e] * (BF["01"]) == "0.82", italic("a")["Gunel-Dickey"] ==
"1.00")

3 changes: 0 additions & 3 deletions tests/testthat/test-extract-stats.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ test_that(
p8 <- grouped_ggpiestats(mtcars, x = cyl, grouping.var = am)
extracted_data <- extract_stats(p8)
summary(extracted_data)
summary(extracted_data[[1L]])
summary(extracted_data[[2L]])
extract_subtitle(p8)
extract_caption(p8)
})
}
)
Expand Down

0 comments on commit a4e6221

Please sign in to comment.