Skip to content

Commit

Permalink
#2138 Update to set_values_to
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyad committed Nov 27, 2023
1 parent fb8f45a commit c79eff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/derive_extreme_event.R
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ derive_extreme_event <- function(dataset = NULL,
values = c("none", "warning", "error"),
case_sensitive = FALSE
)
assert_varval_list(set_values_to)
assert_varval_list(set_values_to, optional = TRUE)
keep_source_vars <- assert_expr_list(keep_source_vars)

# Create new observations
Expand Down Expand Up @@ -700,7 +700,7 @@ derive_vars_extreme_event <- function(dataset,
mode = mode,
source_datasets = source_datasets,
check_type = check_type,
set_values_to = new_vars
set_values_to = NULL
)

derive_vars_merged(
Expand Down

0 comments on commit c79eff2

Please sign in to comment.