Skip to content

Commit

Permalink
read_habitatsprings(): add precondition for units_7220
Browse files Browse the repository at this point in the history
  • Loading branch information
florisvdh committed Sep 28, 2020
1 parent c090092 commit 2e4497d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/read_habitatdata.R
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,7 @@ read_habitatsprings <-
filepath <- file.path(path, file)
assert_that(file.exists(filepath))
assert_that(is.flag(filter_hab), noNA(filter_hab))
assert_that(is.flag(units_7220), noNA(units_7220))
assert_that(is.string(version))

typelevels <-
Expand Down

0 comments on commit 2e4497d

Please sign in to comment.