Skip to content

Commit

Permalink
Skip network-dependent tests for CRAN compliance (#154)
Browse files Browse the repository at this point in the history
Disabled network-dependent tests to align with CRAN policies and
prevent check issues.
  • Loading branch information
clnsmth committed Aug 16, 2024
1 parent c134d4b commit b7becac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test_validate_arguments.R
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ testthat::test_that("plot_*()", {
# read_data() -----------------------------------------------------------------

testthat::test_that("read_data()", {
testthat::skip_on_cran()
# id
expect_error(
validate_arguments("read_data", as.list(list(id = 1))),
Expand Down Expand Up @@ -420,6 +421,7 @@ testthat::test_that("read_data()", {
# save_data() -----------------------------------------------------------------

testthat::test_that("save_data()", {
testthat::skip_on_cran()
# path
expect_null(validate_arguments("save_data", as.list(list(path = tempdir())))) # exists
expect_error(
Expand Down

0 comments on commit b7becac

Please sign in to comment.