Skip to content

Commit

Permalink
skip on OS
Browse files Browse the repository at this point in the history
  • Loading branch information
FBartos committed Sep 20, 2023
1 parent 323493b commit 8edf6e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-bayesianmetaanalysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ results <- jaspTools::runAnalysis("BayesianMetaAnalysis", "BCG Vaccine.csv", opt
##############################################################

test_that("Posterior Estimates per Model table results match", {
testthat::skip_on_os(c("mac", "linux", "solaris"))
table <- results[["results"]][["bmaTable"]][["data"]]
jaspTools::expect_equal_tables(table,
list("TRUE", 4.70377989938849e+21, -0.434254495375077, 0.0413386758998794,
Expand All @@ -64,6 +65,7 @@ test_that("Posterior Estimates per Model table results match", {
})

test_that("Effect Sizes per Study table results match", {
testthat::skip_on_os(c("mac", "linux", "solaris"))
table <- results[["results"]][["effectSizePerStudy"]][["data"]]
jaspTools::expect_equal_tables(table,
list(-0.809128072433214, -1.65195861984318, 0.0291494666483802, -0.9387,
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-penalizedmetaanalysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ context("Bayesian Penalized Meta Analysis")
# when they start failing it might be due to seed issues
# you can skip the tests if this is the case
##############################################################
testthat::skip_on_os(c("mac", "linux", "solaris"))

# covariates, all output, no clustering
options <- analysisOptions("PenalizedMetaAnalysis")
Expand Down

0 comments on commit 8edf6e3

Please sign in to comment.