From cd748d885b5d789991229bebd9019f770e5c94ae Mon Sep 17 00:00:00 2001 From: Tomasz Kalinowski Date: Thu, 19 Aug 2021 14:24:21 -0400 Subject: [PATCH] skip tests on CRAN CRAN windows images apparently come with miniconda now. --- tests/testthat.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testthat.R b/tests/testthat.R index f7d9ad9a..42c456e0 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -1,4 +1,5 @@ library(testthat) library(tensorflow) -test_check("tensorflow") +if (identical(Sys.getenv("NOT_CRAN"), "true")) + test_check("tensorflow")