Skip to content

Commit

Permalink
Add skips on EU grids
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Feb 18, 2022
1 parent c316761 commit c6278ae
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/esp_get_grid_EEA.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#'
#' @inheritSection esp_get_nuts About caching
#' @examplesIf esp_check_access()
#' \donttest{
#' \dontrun{
#'
#' grid <- esp_get_grid_EEA(type = "main", resolution = 100)
#' grid_can <- esp_get_grid_EEA(type = "canary", resolution = 100)
Expand Down
2 changes: 1 addition & 1 deletion R/esp_get_grid_ESDAC.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#'
#' @inheritSection esp_get_nuts About caching
#' @examplesIf esp_check_access()
#' \donttest{
#' \dontrun{
#' grid <- esp_get_grid_ESDAC()
#' esp <- esp_get_country(moveCAN = FALSE)
#'
Expand Down
2 changes: 1 addition & 1 deletion man/esp_get_grid_EEA.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/esp_get_grid_ESDAC.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions tests/testthat/test-esp_get_grid_EEA.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ test_that("Errors", {
test_that("EEA grid online", {
skip_on_cran()
skip_if_siane_offline()
skip_on_ci()
skip_on_covr()

expect_message(
esp_get_grid_EEA(
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-esp_get_grid_ESDAC.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ test_that("Errors", {
test_that("ESDAC grid online", {
skip_on_cran()
skip_if_siane_offline()
skip_on_ci()
skip_on_covr()

expect_message(
esp_get_grid_ESDAC(
Expand Down

0 comments on commit c6278ae

Please sign in to comment.