Skip to content

Commit

Permalink
try skip_on_cran parallel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenuer committed Jul 11, 2024
1 parent 5f25646 commit a343492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test_iris_parallel.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
context("(skip on cran) Global VSURF parallel test for classification iris data")

if (identical(Sys.getenv("NOT_CRAN"), "true")) {
# if (identical(Sys.getenv("NOT_CRAN"), "true")) {
set.seed(221921186, "L'Ecuyer-CMRG")
data(iris)
iris.vsurf <- VSURF(iris[,1:4], iris[,5],
Expand All @@ -9,7 +9,7 @@ if (identical(Sys.getenv("NOT_CRAN"), "true")) {
nfor.interp = 10, nfor.pred = 10,
parallel = TRUE, ncores = 2, clusterType = "FORK",
verbose = FALSE)
}
# }

test_that("Selected variables for the 3 steps", {
skip_on_cran()
Expand Down

0 comments on commit a343492

Please sign in to comment.