Skip to content

Commit

Permalink
Merge branch 'forMapObject' of github.com:PredictiveEcology/reproduci…
Browse files Browse the repository at this point in the history
…ble into forMapObject
  • Loading branch information
eliotmcintire committed Nov 6, 2018
2 parents 7c54456 + 131628c commit a44414d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/testthat/test-preProcessDoesntWork.R
Expand Up @@ -33,7 +33,8 @@ test_that("preProcess fails if user provides a directory as a targetFile", {
testthat::skip_on_cran()
testthat::skip_on_travis()
testthat::skip_on_appveyor()
testInitOut <- testInit("raster", needGoogle = TRUE)
testInitOut <- testInit("raster", needGoogle = TRUE,
opts = list('reproducible.overwrite' = TRUE))
on.exit({
testOnExit(testInitOut)
}, add = TRUE)
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-preProcessMessages.R
Expand Up @@ -2,7 +2,8 @@ test_that("preProcess returns messages for deprecated arguments", {
testthat::skip_on_cran()
testthat::skip_on_travis()
testthat::skip_on_appveyor()
testInitOut <- testInit("raster", needGoogle = TRUE)
testInitOut <- testInit("raster", needGoogle = TRUE,
opts = list("reproducible.overwrite" = TRUE))
on.exit({
testOnExit(testInitOut)
}, add = TRUE)
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-preProcessWorks.R
Expand Up @@ -2,7 +2,8 @@ test_that("preProcess works in different situations", {
testthat::skip_on_cran()
testthat::skip_on_travis()
testthat::skip_on_appveyor()
testInitOut <- testInit("raster", needGoogle = TRUE)
testInitOut <- testInit("raster", needGoogle = TRUE,
opts = list("reproducible.overwrite" = TRUE))
on.exit({
testOnExit(testInitOut)
}, add = TRUE)
Expand Down

0 comments on commit a44414d

Please sign in to comment.