Skip to content

Commit

Permalink
conditional test
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Oct 7, 2024
1 parent 020668c commit 7469a09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-describe_distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ test_that("describe_distribution formatting", {
# other -----------------------------------

test_that("return NA in CI if sample is too sparse", {
skip_if_not_install("bayestestR")
set.seed(123456)
expect_warning(
res <- describe_distribution(mtcars[mtcars$cyl == "6", ], wt, centrality = "map", ci = 0.95), #nolint
Expand Down

0 comments on commit 7469a09

Please sign in to comment.