Skip to content

Commit

Permalink
speed up processing
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherkenny committed Jun 6, 2024
1 parent b00a30c commit 7022362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/process.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ process_plans <- function(plans) {
if (!is.matrix(plans)) {
plans <- as.matrix(plans)
}
if (any(is.na(plans))) {
if (anyNA(plans)) {
cli::cli_abort('{.val NA} in argument to {.arg plans}.')
}
plans
Expand Down

0 comments on commit 7022362

Please sign in to comment.