Closed hadley closed 2 years ago
Slowly bringing back my memory of how this works. I think this minimal reprex illustrates the problem:
local({
n <- 10
capture_dot(dt, x + n)
capture_dot(dt, tidyr::replace_na(x, n))
})
Maybe because https://github.com/tidyverse/dtplyr/blame/master/R/tidyeval.R#L107-L109 doesn't process the other arguments?
Created on 2021-10-05 by the reprex package (v2.0.1)
Presumably because we're not correctly inlining
x_miss
into the call as we normally do:Created on 2021-10-05 by the reprex package (v2.0.1)
@markfairbanks does this ring any bells?