-
Notifications
You must be signed in to change notification settings - Fork 985
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
Fread warning #3548
Comments
please share your sessionInfo() and confirm your error reproduces after running it in an |
it doesn't seems to be related to data.table directly, both packages R.oo and R.methodsS3 are defining same method |
Confirming. This is not on data.table. It's related to R.oo/R.methodsS3 and is a note that is produced in R (>= 3.6.0). Despite being annoying - it should be a harmless note. I'll investigate how to avoid it, but it'll most likely require a few release cycle of the two, so don't expect anything soon. |
Thanks for checking. I think we can then safely close this here. |
I came here from HenrikBengtsson/R.utils#95 Can @jangorecki (or anyone else) you please explain this warning appears for |
@geneorama We suggests R.utils (which uses R.oo and R.methodsS3), and just checking if it is available with |
@jangorecki Thanks. It's interesting that CRAN let something happen that introduced this issue. I guess it's because it's not an error or warning, it's just a message. Otherwise I think the checks would have caught it? For all the inconvenience of the CRAN checks, I would have thought it would prevent this! Also, it's weird that if I step through the function using What an annoying problem. I think it makes data.table look a little bad, even though it's not data.table. |
@geneorama It is just another example why it make sense to avoid dependencies, even those in Suggests. |
When I run fread first time, I get error,
ff <- fread(paste0("C:/tmp/dataset.csv.gz"),
sep = "|", dec = ".", stringsAsFactors = FALSE,
encoding = "UTF-8")
Registered S3 method overwritten by 'R.oo':
method from
throw.default R.methodsS3
The text was updated successfully, but these errors were encountered: