Skip to content
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

Possible bug in the construct/deconstruct_and_eval internals #774

Closed
ihaddad-md opened this issue Aug 19, 2014 · 1 comment
Closed

Possible bug in the construct/deconstruct_and_eval internals #774

ihaddad-md opened this issue Aug 19, 2014 · 1 comment
Assignees
Milestone

Comments

@ihaddad-md
Copy link

Contructs of form dt[, a := b$c()] fail (data.table version 1.9.3). A more detailed example taken from http://stackoverflow.com/questions/25383110 would be

RF <- setRefClass(
  Class = "RF",
  methods = list(
    get = function() { "/foo/bar" }
  )
)
rf <- RF$new()

mdt <- data.table( x= c("a", "b"), y = 1:2 )
mdt[ , z := rf$get() ] # gives warning

mdt$z
@eantonya eantonya added the bug label Aug 19, 2014
@arunsrinivasan arunsrinivasan added this to the v1.9.6 milestone Sep 24, 2014
@arunsrinivasan arunsrinivasan self-assigned this Oct 10, 2014
@arunsrinivasan
Copy link
Member

Updated the SO post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants