Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 19, 2023
1 parent 815c582 commit f554db5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions tests/testthat/_snaps/describe_distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,3 @@
--------------------------------------------------------------------------------------
3.06 | 0.44 | 0.52 | [2.00, 4.40] | 2.80, 3.30 | 0.32 | 0.23 | 150 | 0

---

Code
format(x)
Output
Mean | SD | IQR | 95% CI | Range | Quartiles | Skewness | Kurtosis | n | n_Missing
-----------------------------------------------------------------------------------------------------
3.06 | 0.44 | 0.52 | [2.99, 3.12] | [2.00, 4.40] | 2.80, 3.30 | 0.32 | 0.23 | 150 | 0

2 changes: 0 additions & 2 deletions tests/testthat/test-describe_distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,4 @@ test_that("describe_distribution formatting", {
data(iris)
x <- describe_distribution(iris$Sepal.Width, quartiles = TRUE)
expect_snapshot(format(x))
x <- describe_distribution(iris$Sepal.Width, ci = 0.95, quartiles = TRUE)
expect_snapshot(format(x))
})

0 comments on commit f554db5

Please sign in to comment.