From 7ad33b31b9f7c9c47f0de95f081487593b6a3721 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 9 Feb 2024 14:48:46 +0100 Subject: [PATCH] skip failing tests on Linux --- tests/testthat/test-BFBayesFactor.R | 2 ++ tests/testthat/test-describe_posterior.R | 1 + tests/testthat/test-describe_prior.R | 1 + tests/testthat/test-rope.R | 1 + 4 files changed, 5 insertions(+) diff --git a/tests/testthat/test-BFBayesFactor.R b/tests/testthat/test-BFBayesFactor.R index 1f8dfea17..2f686fbe0 100644 --- a/tests/testthat/test-BFBayesFactor.R +++ b/tests/testthat/test-BFBayesFactor.R @@ -1,3 +1,5 @@ +skip_on_os("linux") + test_that("p_direction", { skip_if_not_or_load_if_installed("BayesFactor") set.seed(333) diff --git a/tests/testthat/test-describe_posterior.R b/tests/testthat/test-describe_posterior.R index ec76f60cb..c2b4213fa 100644 --- a/tests/testthat/test-describe_posterior.R +++ b/tests/testthat/test-describe_posterior.R @@ -5,6 +5,7 @@ test_that("describe_posterior", { skip_if_not_or_load_if_installed("brms") skip_if_not_or_load_if_installed("httr") skip_if_not_or_load_if_installed("BayesFactor") + skip_on_os("linux") set.seed(333) diff --git a/tests/testthat/test-describe_prior.R b/tests/testthat/test-describe_prior.R index 585fa63d5..8ba26521f 100644 --- a/tests/testthat/test-describe_prior.R +++ b/tests/testthat/test-describe_prior.R @@ -4,6 +4,7 @@ test_that("describe_prior", { skip_if_not_or_load_if_installed("brms") skip_if_not_or_load_if_installed("httr") skip_if_not_or_load_if_installed("BayesFactor") + skip_on_os("linux") # Bayes Factor ---------------------------------------- diff --git a/tests/testthat/test-rope.R b/tests/testthat/test-rope.R index 4916cd414..8367e3d80 100644 --- a/tests/testthat/test-rope.R +++ b/tests/testthat/test-rope.R @@ -97,6 +97,7 @@ test_that("rope (brms, multivariate)", { ) }) +skip_on_os("linux") test_that("BayesFactor", { skip_if_not_or_load_if_installed("BayesFactor")