Skip to content

Commit

Permalink
- #116 add argument check
Browse files Browse the repository at this point in the history
  • Loading branch information
egouldo committed Sep 10, 2024
1 parent 22e0ecf commit 1e9ea1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/generate_rating_subsets.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#' @importFrom stringr str_detect
generate_rating_subsets <- function(data) {

pointblank::expect_col_exists(data, c("data", "diversity_data", "exclusion_set"))

out <- data %>%
filter(exclusion_set == "complete" | exclusion_set == "partial") %>%
mutate(
Expand Down

0 comments on commit 1e9ea1e

Please sign in to comment.