You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search for duplicates among the existing issues, both open and closed.
Advanced users: verify that the bug still persists in the current development version (i.e. remotes::install_github("ropensci/drake")) and mention the SHA-1 hash of the Git commit you install.
Description
drake accidentally detects list elements as dependencies. Sorry everyone, fixing this bug might invalidate some workflows.
Reproducible example
drake:::analyze_code(quote(x$y))
#> $globals#> [1] "x" "y"
drake:::analyze_code(quote(x$y))
#> $globals#> [1] "x" "y"
But isn't this non-standard evaluation?
Yes, $ is technically NSE, and I know I said drake would not get into any of that. But $ is just too clear, simple, predictable, and ubiquitous to ignore.
The text was updated successfully, but these errors were encountered:
Prework
drake
's code of conduct.remotes::install_github("ropensci/drake")
) and mention the SHA-1 hash of the Git commit you install.Description
drake
accidentally detects list elements as dependencies. Sorry everyone, fixing this bug might invalidate some workflows.Reproducible example
Created on 2019-07-12 by the reprex package (v0.3.0)
Expected output
y
should be ignored.But isn't this non-standard evaluation?
Yes,
$
is technically NSE, and I know I saiddrake
would not get into any of that. But$
is just too clear, simple, predictable, and ubiquitous to ignore.The text was updated successfully, but these errors were encountered: