On Monday, February 15, 2021, David Winsemius
wrote:
>
> On 2/15/21 1:10 PM, Hadley Wickham wrote:
>
>> This is a nice example of the motivation for tidy evaluation — since
>> enquo() captures the environment in which the promise should be
>> evaluated, there's no need for an additional explicit
On 2/15/21 1:10 PM, Hadley Wickham wrote:
This is a nice example of the motivation for tidy evaluation — since
enquo() captures the environment in which the promise should be
evaluated, there's no need for an additional explicit argument.
library(rlang)
replicate2 <- function (n, expr,
This is a nice example of the motivation for tidy evaluation — since
enquo() captures the environment in which the promise should be
evaluated, there's no need for an additional explicit argument.
library(rlang)
replicate2 <- function (n, expr, simplify = "array") {
exnr <- enquo(expr)