From 540d796d0d36539fdb377e88476e0011e3fbcf94 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 3 Oct 2023 11:06:35 +0200 Subject: [PATCH] skip tests on windows --- tests/testthat/test-describe_posterior.R | 1 + tests/testthat/test-rope.R | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tests/testthat/test-describe_posterior.R b/tests/testthat/test-describe_posterior.R index e8fcaf976..0daf5599a 100644 --- a/tests/testthat/test-describe_posterior.R +++ b/tests/testthat/test-describe_posterior.R @@ -158,6 +158,7 @@ test_that("describe_posterior", { # brms ------------------------------------------------- + skip_on_os("windows") x <- suppressWarnings(brms::brm(mpg ~ wt + (1 | cyl) + (1 + wt | gear), data = mtcars, refresh = 0)) rez <- describe_posterior(x, centrality = "all", dispersion = TRUE, ci = c(0.8, 0.9)) diff --git a/tests/testthat/test-rope.R b/tests/testthat/test-rope.R index 0cb19dd63..844008153 100644 --- a/tests/testthat/test-rope.R +++ b/tests/testthat/test-rope.R @@ -69,6 +69,8 @@ test_that("rope", { skip_if_not_or_load_if_installed("brms") +skip_on_os("windows") + set.seed(123) model <- suppressWarnings(brms::brm(mpg ~ wt + gear, data = mtcars, iter = 500)) rope <- rope(model, verbose = FALSE)