Skip to content

Commit 3d734fa

Browse files
skip pour passer les tests (#104)
1 parent 04a4f49 commit 3d734fa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/testthat/test-plot.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ skips <- function() {
99
)
1010
skip_if(packageVersion("ggplot2") < numeric_version("3.5.0"))
1111
skip_if(getRversion() < numeric_version("4.5.0"))
12+
skip_on_os("mac")
13+
# Des problèmes dans vdiffr sur mac
1214
}
1315

1416
# taken from the non exported of vdiffr

tests/testthat/test-reView.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ test_that("reView-withoutset",{
247247
testthat::skip_if(isTRUE(as.logical(Sys.getenv("CI"))) &&
248248
tolower(Sys.info()[["sysname"]]) == "windows")
249249
# Windows has some problems on CI with shinytest2
250+
skip_if(getRversion() < numeric_version("4.5.0"))
250251

251252
app <- shinytest2::AppDriver$new(test_path("shiny-withoutset"),
252253
wait = TRUE)
@@ -503,6 +504,7 @@ test_that("reView-setcoefconst",{
503504
testthat::skip_if(isTRUE(as.logical(Sys.getenv("CI"))) &&
504505
tolower(Sys.info()[["sysname"]]) == "windows")
505506
# Windows has some problems on CI with shinytest2
507+
skip_if(getRversion() < numeric_version("4.5.0"))
506508

507509
app <- shinytest2::AppDriver$new(test_path("shiny-setcoefconst"),
508510
wait = TRUE)
@@ -616,6 +618,7 @@ test_that("reView-outliers",{
616618
testthat::skip_if(isTRUE(as.logical(Sys.getenv("CI"))) &&
617619
tolower(Sys.info()[["sysname"]]) == "windows")
618620
# Windows has some problems on CI with shinytest2
621+
skip_if(getRversion() < numeric_version("4.5.0"))
619622

620623
app <- shinytest2::AppDriver$new(test_path("shiny-outliers"),
621624
options = list(shiny.reactlog = TRUE),
@@ -704,6 +707,7 @@ test_that("reView-outlierssetcoef",{
704707
testthat::skip_if(isTRUE(as.logical(Sys.getenv("CI"))) &&
705708
tolower(Sys.info()[["sysname"]]) == "windows")
706709
# Windows has some problems on CI with shinytest2
710+
skip_if(getRversion() < numeric_version("4.5.0"))
707711

708712
app <- shinytest2::AppDriver$new(test_path("shiny-outlierssetcoef"),
709713
wait = TRUE)

0 commit comments

Comments
 (0)