Skip to content

Commit

Permalink
Turn off tests on CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemahoney218 committed Oct 4, 2023
1 parent f93c940 commit 36fc069
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
library(testthat)
library(terrainr)

test_check("terrainr")
if (Sys.getenv("NOT_CRAN") == "") {
Sys.sleep(2)
} else {
test_check("terrainr")
}

0 comments on commit 36fc069

Please sign in to comment.