From bccd20d9fd798907efd3a41d8100be105071a9d5 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 18 Dec 2023 18:39:46 +0100 Subject: [PATCH] fix test --- tests/testthat/test-describe_distribution.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-describe_distribution.R b/tests/testthat/test-describe_distribution.R index a33e2c52a..5871708b2 100644 --- a/tests/testthat/test-describe_distribution.R +++ b/tests/testthat/test-describe_distribution.R @@ -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)) })