Skip to content

Commit 07a7406

Browse files
committed
only test if not on CRAN
1 parent becce87 commit 07a7406

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/testthat.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ if (Sys.getenv("TENSORFLOW_EAGER") == "TRUE")
55

66
library(keras)
77

8-
test_check("keras")
8+
if (identical(Sys.getenv("NOT_CRAN"), "true")) {
9+
test_check("keras")
10+
}

0 commit comments

Comments
 (0)