Skip to content

Commit

Permalink
stop erddap test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Mar 25, 2024
1 parent 8046ed8 commit e14cb3b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/testthat/test-attributes.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ test_that("attributes works", {
test_that("attributes from Thredds works", {
context("avoiding thredds tests for RNetCDF")
skip_on_cran()
## skip() ## github can't do this atm 2022-08-15
du <- try(nc_atts(u))
if (!inherits(du, "try-error")) {
du %>% expect_s3_class("tbl_df") %>%
expect_named(c("id", "name", "variable", "value"))
# expect_that(nrow(du), equals(119L)) ## became 124 rows in 2022 August
expect_that(du$value, is_a("list"))
}
# ## skip() ## github can't do this atm 2022-08-15
# du <- try(nc_atts(u))
# if (!inherits(du, "try-error")) {
# du %>% expect_s3_class("tbl_df") %>%
# expect_named(c("id", "name", "variable", "value"))
# # expect_that(nrow(du), equals(119L)) ## became 124 rows in 2022 August
# expect_that(du$value, is_a("list"))
# }
})

test_that("individual attribute inquiry works", {
Expand Down

0 comments on commit e14cb3b

Please sign in to comment.