Skip to content

Commit

Permalink
Use skip_if_offline()
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Oct 16, 2024
1 parent 4096801 commit 5278445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-get_updates.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test_that("get_updates() returns a data.table", {
skip_on_cran()
skip_if_offline()
x <- get_updates()
expect_s3_class(x, "data.table")
expect_named(x, c("STNID", "YEAR", "DATE", "COMMENT"))
Expand Down

0 comments on commit 5278445

Please sign in to comment.