Skip to content

Commit

Permalink
Skip some tests on CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
lmullen committed Dec 8, 2016
1 parent b1dcb73 commit 0d74c40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-files-download.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ files <- ia_files(items) %>%
downloads <- ia_download(files, dir, silence = TRUE)

test_that("ia_downloads() downloads a file", {
skip_on_cran()
expect_equal_to_reference(readLines(downloads$local_file[1]),
"hecker_txt.rds")
})
Expand All @@ -25,6 +26,7 @@ test_that("ia_downloads() returns a data frame", {
})

test_that("ia_metadata() returns a data frame", {
skip_on_cran()
expect_is(meta, c("data.frame", "tbl_df"))
expect_named(meta, c("id", "field", "value"))
expect_equal_to_reference(meta, "hecker_meta.rds")
Expand Down

0 comments on commit 0d74c40

Please sign in to comment.