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
I've run into the issue a few times, where when I call simobs get a cannot find function 'melt' error. When I run library(data.table), the issue goes away. I have not pinpointed if I have other libraries load that may cause the conflict, but I think changing melt to data.table::melt on line 749 of simulation.R may fix the issue. Though I see that data.table::melt has been commented out.
The text was updated successfully, but these errors were encountered:
Hi Bradley,
Thanks for filing this, but I can't replicate your issue. Is it possible that you don't have the latest version of data.table installed? Another possibility is that you may have reshape2 loaded in your environment, but I wouldn't expect that to cause an issue. data.table::melt had to be replaced with melt() to pass CRAN checks since data.table now exports its own S3 generic for melt, which might clash with the S3 generic for melt that is also exported by reshape2...
It may be a reshape2 issue, though I haven't add that package loaded when I've had the issue. I'll try to come up with a reproducible example, but it's not high priority.
I've run into the issue a few times, where when I call
simobs
get acannot find function 'melt'
error. When I runlibrary(data.table)
, the issue goes away. I have not pinpointed if I have other libraries load that may cause the conflict, but I think changingmelt
todata.table::melt
on line 749 of simulation.R may fix the issue. Though I see thatdata.table::melt
has been commented out.The text was updated successfully, but these errors were encountered: