Skip to content

Commit

Permalink
Add skips on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
JTPetter committed Jul 5, 2024
1 parent 509750f commit 7fb2586
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test-processCapabilityStudies.R
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ results <- runAnalysis("processCapabilityStudies",

test_that("LF10.1 (Normal) Missing value test of Process performance (total) table with all but one missing value in measurement", {
table <- results[["results"]][["capabilityAnalysis"]][["collection"]][["capabilityAnalysis_normalCapabilityAnalysis"]][["collection"]][["capabilityAnalysis_normalCapabilityAnalysis_capabilityTableOverall"]][["data"]]
testthat::skip_on_os("mac")
jaspTools::expect_equal_tables(table,
list(0.41, "", "", "*", "<unicode>", "NaN", Inf, "*", "", "*", "",
"1 (BL)", "NaN", "-", "-", "*", "<unicode>", "NaN", "NaN", "*",
Expand Down Expand Up @@ -1651,9 +1652,11 @@ set.seed(1)
results <- runAnalysis("processCapabilityStudies",
"datasets/processCapabilityStudy/processCapabilityAnalysisLongFormatDebug.csv", options)


test_that("LF23 (Non-Normal) Option test of report functionality with stages", {
plotName <- results[["results"]][["report"]][["data"]]
testPlot <- results[["state"]][["figures"]][[plotName]][["obj"]]
testthat::skip_on_os("mac")
jaspTools::expect_equal_plots(testPlot, "process-capability-report23")
})

Expand Down Expand Up @@ -2800,6 +2803,7 @@ results <- runAnalysis("processCapabilityStudies",
test_that("WF18 (Non-Normal) Option test of report functionality with stages", {
plotName <- results[["results"]][["report"]][["data"]]
testPlot <- results[["state"]][["figures"]][[plotName]][["obj"]]
testthat::skip_on_os("mac")
jaspTools::expect_equal_plots(testPlot, "process-capability-reportW18")
})

Expand Down

0 comments on commit 7fb2586

Please sign in to comment.