Skip to content

Commit 93e965f

Browse files
committed
document non-empty dots and update function imports
1 parent 7a1e0ba commit 93e965f

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

NAMESPACE

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,16 @@ importFrom(rlang,.env)
9696
importFrom(rlang,arg_match)
9797
importFrom(rlang,caller_arg)
9898
importFrom(rlang,caller_env)
99-
importFrom(rlang,check_dots_empty0)
10099
importFrom(rlang,enquo)
101100
importFrom(rlang,enquos)
102101
importFrom(rlang,env)
103102
importFrom(rlang,f_env)
104103
importFrom(rlang,f_rhs)
105-
importFrom(rlang,global_env)
106104
importFrom(rlang,is_environment)
107105
importFrom(rlang,is_formula)
108106
importFrom(rlang,is_function)
109107
importFrom(rlang,is_missing)
110108
importFrom(rlang,is_quosure)
111-
importFrom(rlang,is_string)
112109
importFrom(rlang,missing_arg)
113110
importFrom(rlang,new_function)
114111
importFrom(rlang,quo_is_missing)

R/utils.R

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ 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-
#' @inheritParams rlang::args_dots_empty
238+
#' @param ... Additional arguments to pass to the function or formula
239+
#' specified via `x`. If `x` is a quosure, any arguments passed via `...`
240+
#' will be ignored.
239241
#' @inheritParams rlang::args_error_context
240242
#' @examples
241243
#' f <- as_slide_computation(~ .x + 1)
@@ -247,9 +249,8 @@ assert_sufficient_f_args <- function(f, ...) {
247249
#' h <- as_slide_computation(~ .x - .group_key)
248250
#' h(6, 3)
249251
#'
250-
#' @importFrom rlang check_dots_empty0 is_function new_function f_env
251-
#' is_environment missing_arg f_rhs is_string is_formula caller_arg
252-
#' caller_env global_env
252+
#' @importFrom rlang is_function new_function f_env is_environment missing_arg
253+
#' f_rhs is_formula caller_arg caller_env
253254
#'
254255
#' @noRd
255256
as_slide_computation <- function(x,

0 commit comments

Comments
 (0)