tests/testthat/test-unzip.R

test_that("unzip_faerszip", {
  testthat::expect_no_error(unzip_faerszip(zip_folders_dir = "resources/xml_files",
                                           ex_dir = "resources/test_zip_ex_dir/"))
  
  testthat::expect_no_error(unzip_faerszip(zip_folders_dir = "resources/ascii_files/",
                                           ex_dir = "resources/test_zip_ex_dir/"))
})

Try the faersquarterlydata package in your browser

Any scripts or data that you put into this service are public.

faersquarterlydata documentation built on June 23, 2024, 1:06 a.m.