From 17e1f29daa782de5c54185fccefb21619f42f8b9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 11 Feb 2024 19:45:57 +0100 Subject: [PATCH] skip tests --- tests/testthat/test-model_performance.bayesian.R | 2 +- tests/testthat/test-r2_bayes.R | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-model_performance.bayesian.R b/tests/testthat/test-model_performance.bayesian.R index 57ef8e0eb..a15e41a10 100644 --- a/tests/testthat/test-model_performance.bayesian.R +++ b/tests/testthat/test-model_performance.bayesian.R @@ -112,7 +112,7 @@ test_that("model_performance.BFBayesFactor", { }) expect_null(p) - + skip_on_os("linux") mod <- BayesFactor::regressionBF(mpg ~ cyl, mtcars, progress = FALSE) modF <- lm(mpg ~ cyl, mtcars) p <- model_performance(mod) diff --git a/tests/testthat/test-r2_bayes.R b/tests/testthat/test-r2_bayes.R index 7c176b8e3..00e3a54e2 100644 --- a/tests/testthat/test-r2_bayes.R +++ b/tests/testthat/test-r2_bayes.R @@ -1,3 +1,5 @@ +skip_on_os("linux") + test_that("r2_BayesFactor", { skip_if_not_installed("BayesFactor") set.seed(1)