From d725b3521022de8090253f240833a7a34b02a3be Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 20 Mar 2024 20:59:52 +0100 Subject: [PATCH] lintr --- tests/testthat/test-check_residuals.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-check_residuals.R b/tests/testthat/test-check_residuals.R index b8419fac7..9be029c0c 100644 --- a/tests/testthat/test-check_residuals.R +++ b/tests/testthat/test-check_residuals.R @@ -52,8 +52,8 @@ test_that("check_residuals and simulate_residuals", { ) # outlier_values works expect_identical(sum(is.infinite(residuals(res, quantile_function = stats::qnorm))), 3L) - expect_identical(sum(is.infinite(residuals(res, quantile_function = stats::qnorm, outlier_values = c(-100, 100)))), 0L) - expect_error(residuals(res, quantile_function = stats::qnorm, outlier_values = 1:3), regex = "`outlier_values` must be") + expect_identical(sum(is.infinite(residuals(res, quantile_function = stats::qnorm, outlier_values = c(-100, 100)))), 0L) # nolint + expect_error(residuals(res, quantile_function = stats::qnorm, outlier_values = 1:3), regex = "`outlier_values` must be") # nolint # check_residuals out <- check_residuals(res)