tests/testthat/test-import_CH_municipality_inventory.R

test_that("error is thrown if file does not exist", {
  expect_error(object = import_CH_municipality_inventory("non_existing_file_path"))
})

Try the SMMT package in your browser

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

SMMT documentation built on May 29, 2024, 7:48 a.m.