diff --git a/R/standalone-purrr.R b/R/standalone-purrr.R index 3a642669..f836ae25 100644 --- a/R/standalone-purrr.R +++ b/R/standalone-purrr.R @@ -199,7 +199,7 @@ accumulate_right <- function(.x, .f, ..., .init) { Reduce(f, .x, init = .init, right = TRUE, accumulate = TRUE) } -detect <- function(.x, .f, ..., .right = FALSE, .p = is_true) { +detect <- function(.x, .f, ..., .right = FALSE, .p = rlang::is_true) { .p <- rlang::as_function(.p, env = rlang::global_env()) .f <- rlang::as_function(.f, env = rlang::global_env()) @@ -210,7 +210,7 @@ detect <- function(.x, .f, ..., .right = FALSE, .p = is_true) { } NULL } -detect_index <- function(.x, .f, ..., .right = FALSE, .p = is_true) { +detect_index <- function(.x, .f, ..., .right = FALSE, .p = rlang::is_true) { .p <- rlang::as_function(.p, env = rlang::global_env()) .f <- rlang::as_function(.f, env = rlang::global_env())