From 320362e59a296729e40f95e35a1813e2ca62d4b6 Mon Sep 17 00:00:00 2001 From: eblondel Date: Mon, 10 Jun 2024 15:44:34 +0200 Subject: [PATCH] skip inspire tests from CRAN --- tests/testthat/test_config_metadata_gsheets_iso19115_inspire.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testthat/test_config_metadata_gsheets_iso19115_inspire.R b/tests/testthat/test_config_metadata_gsheets_iso19115_inspire.R index 01ffaea..1f3bfd6 100644 --- a/tests/testthat/test_config_metadata_gsheets_iso19115_inspire.R +++ b/tests/testthat/test_config_metadata_gsheets_iso19115_inspire.R @@ -10,6 +10,7 @@ cfg_file = system.file("extdata/workflows/config_metadata_gsheets_iso19115_inspi #init test_that("init",{ + testthat::skip_on_cran() CFG <- geoflow::initWorkflow(cfg_file) expect_is(CFG$metadata$content, "list") expect_equal(length(CFG$metadata$content), 2L) @@ -27,6 +28,7 @@ test_that("init",{ #debug test_that("debug",{ + testthat::skip_on_cran() DEBUG <- geoflow::debugWorkflow(cfg_file, entityIndex = 1, dir = ".") expect_equal(names(DEBUG), c("config", "entity")) expect_is(DEBUG$config, "list") @@ -35,6 +37,7 @@ test_that("debug",{ #execute test_that("execute",{ + testthat::skip_on_cran() EXEC <- geoflow::executeWorkflow(cfg_file, dir = ".") expect_true(dir.exists(EXEC)) expect_true(file.exists(file.path(EXEC, "job.json")))