R/helpers.R

Defines functions req_injected

# inject into a function to avoid manually copying components of a list
# to avoid API changes breaking fn
# @param ... a list to break apart with !!!, e.g. `!!!args` for list `args`
req_injected <- function(req, ...) {
  rlang::inject(httr2::req_body_multipart(.req = req, ...))
}

Try the feltr package in your browser

Any scripts or data that you put into this service are public.

feltr documentation built on Nov. 6, 2023, 1:06 a.m.