Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
Update data testing hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Noam Ross committed Sep 28, 2020
1 parent e6c551a commit 47fc3b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data-raw/process_trade_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ write_tsv(

# Clean up
file_delete(
dir_ls(here("data-raw"), regexp = "(zip|csv|docx)$")
list.files(here("data-raw"), pattern = "(zip|csv|docx)$", full.names = TRUE)
)

# Release the compressed data
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-04-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ test_that("CITES data source hasn't changed", {
hash <- tools::md5sum(tmpf)
unlink(tmpf)
skip_if(httr::http_error(response))
expect_equivalent(hash, "3d774b109c3ebf3594cf0fd4c20c1d1b")
expect_equivalent(hash, "d64d99182bdfb3696f6ce91687ccdd81")
})

0 comments on commit 47fc3b8

Please sign in to comment.