-
Notifications
You must be signed in to change notification settings - Fork 979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(some?) eval expressions have issues with := #1181
Labels
bug
Low
non-atomic column
e.g. list columns, S4 vector columns
programming
parameterizing queries: get, mget, eval, env
Milestone
Comments
This is very similar to #1180 but looks to be resolved already dt1 = data.table(a = 1, key = 'a')
dt2 = data.table(c = 1, fn = list(quote(5*a)), key = 'c')
dt1[, n := eval(dt2[a]$fn[[1]], .SD)][]
# a n
#1: 1 5 To be closed by adding unit test to prevent future regression. |
Thanks @eantonya. Bisect testing showed it was fixed in v1.9.8 (Nov 2016), likely bug fix 16 for #880 :
PR #4361 adds your example to the test suite for completeness. |
mattdowle
pushed a commit
that referenced
this issue
May 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Low
non-atomic column
e.g. list columns, S4 vector columns
programming
parameterizing queries: get, mget, eval, env
Relevant SO post - http://stackoverflow.com/a/30899285/817778
The text was updated successfully, but these errors were encountered: