From d1e7649afeb2bd701cbe3b4ddf5e8329fdbdafff Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 1 Oct 2023 15:22:49 +0200 Subject: [PATCH] lintr --- tests/testthat/test-different_models.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-different_models.R b/tests/testthat/test-different_models.R index c000f8ee2..4248c9770 100644 --- a/tests/testthat/test-different_models.R +++ b/tests/testthat/test-different_models.R @@ -46,12 +46,12 @@ test_that("bayesQR", { skip_on_os("mac") skip_if_not_or_load_if_installed("bayesQR") - invisible(capture.output( + invisible(capture.output({ x <- bayesQR(Sepal.Length ~ Petal.Width, data = iris, quantile = 0.1, alasso = TRUE, ndraw = 500 ) - )) + })) rez <- p_direction(x) expect_identical(c(nrow(rez), ncol(rez)), c(2L, 2L))