Skip to content

Commit 894ba23

Browse files
committed
drop env arg; as_slide_computation no longer handles functions-as-strings
1 parent a18be49 commit 894ba23

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

R/utils.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ assert_sufficient_f_args <- function(f, ...) {
235235
#' computation only takes two of the standard arguments, group data and
236236
#' group key(s), plus any extra arguments. The `ref_time_value` argument is
237237
#' unnecessary since its value is being calculated within the computation.
238-
#' @param env Environment in which to fetch the function in case `x`
239-
#' is a string.
240238
#' @inheritParams rlang::args_dots_empty
241239
#' @inheritParams rlang::args_error_context
242240
#' @examples
@@ -257,7 +255,6 @@ assert_sufficient_f_args <- function(f, ...) {
257255
as_slide_computation <- function(x,
258256
before,
259257
calc_ref_time_value = FALSE,
260-
env = global_env(),
261258
...,
262259
arg = caller_arg(x),
263260
call = caller_env()) {

0 commit comments

Comments
 (0)