Skip to content

airpol_get() does not throw an error with fake pollutants #33

@antaldaniel

Description

@antaldaniel
test_that("airpol_get returns informative error messages", {
  # Fake pollutant should error
  expect_error(
    airpol_get(airpol = "FAKEPOLLUTANT", geo = "germany_1995", year = 1995),
    regexp = "not recognized"
  )
})

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions