Skip to content

Commit

Permalink
Avoid dependence on x13binary for supported platform check
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelloharawild committed Aug 30, 2019
1 parent b721de1 commit 1a1c0f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test-seats.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
context("test-seats")

skip_if(!is.null(safely(seasonal::checkX13)(fail = TRUE)$error))
skip_if(!x13binary::supportedPlatform() || Sys.info()["sysname"] == "Darwin")
skip_if(!.Platform$OS.type == "windows" && Sys.info()["sysname"] != "Linux")

tsbl_co2 <- as_tsibble(co2)
test_that("Bad inputs for seats decomposition", {
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-x11.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
context("test-x11")

skip_if(!is.null(safely(seasonal::checkX13)(fail = TRUE)$error))
skip_if(!x13binary::supportedPlatform() || Sys.info()["sysname"] == "Darwin")
skip_if(!.Platform$OS.type == "windows" && Sys.info()["sysname"] != "Linux")

test_that("Bad inputs for X11 decomposition", {
expect_error(
Expand Down

0 comments on commit 1a1c0f1

Please sign in to comment.