diff --git a/DESCRIPTION b/DESCRIPTION index 6e29fbf..0c98e48 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -33,6 +33,7 @@ Imports: terra, utils Suggests: + curl, httr2, testthat (>= 3.0.0), withr diff --git a/tests/testthat/test-prepInputsFireYear.R b/tests/testthat/test-prepInputsFireYear.R index fe1ce64..df37673 100644 --- a/tests/testthat/test-prepInputsFireYear.R +++ b/tests/testthat/test-prepInputsFireYear.R @@ -1,4 +1,5 @@ testthat::test_that("prepInputs fire year works", { + testthat::skip_if_not_installed("curl") # skip_if_offline() needs it testthat::skip_if_offline() testthat::skip_on_cran() testthat::skip_on_ci() diff --git a/tests/testthat/test-prepInputsStandAgeMap.R b/tests/testthat/test-prepInputsStandAgeMap.R index f3233c6..3a2738e 100644 --- a/tests/testthat/test-prepInputsStandAgeMap.R +++ b/tests/testthat/test-prepInputsStandAgeMap.R @@ -1,4 +1,5 @@ testthat::test_that("prepInputsStandAgeMap works", { + testthat::skip_if_not_installed("curl") # skip_if_offline() needs it testthat::skip_if_offline() testthat::skip_on_cran() testthat::skip_on_ci()