Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 18, 2023
1 parent 5ce56de commit bccd20d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-describe_distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ test_that("describe_distribution - list: correctly handles missing values", {
test[1] <- NA
test2[1] <- NA
with_missing <- describe_distribution(list(test, test2))
expect_identical(unique(with_missing$n), 31)
expect_identical(unique(with_missing$n_Missing), 1)
expect_identical(unique(with_missing$n), 31L)
expect_identical(unique(with_missing$n_Missing), 1L)
expect_false(unique(with_missing$Mean == no_missing$Mean))
})

Expand Down

0 comments on commit bccd20d

Please sign in to comment.