-
Notifications
You must be signed in to change notification settings - Fork 991
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
deprecate datatable.nomatch
; message first step
#3585
Comments
I don't see how this issue can be achieved, other than what I suggested: deprecate |
One idea is to ignore the option for calls from within packages, so only calls from non-package environment would the option. Ultimately it is best to deprecate and remove, agree. |
That could work -- a simpler version of cedta() then I guess. Would we still need the whitelist? IIRC some packages make it look as-if (to cedta) that they are not a package, which is why we needed the whitelist for those packages. First-time package authors, if they have used |
That would be actually relatively complex, probably better is just to inform, and not harm any existing code that relies on that. |
nomatch
could be less global when appropriatedatatable.nomatch
; message first step
Originally posted by @mattdowle in #3578 (comment)
I fear it's not sufficient to just document this. There should be something more robust. I've been aware of this issue for some time and have not created any new options that affect behavior, only to manage migration temporarily and stated in news that those options will eventually be removed (e.g.
datatable.old.unique.by.key
). We only have 1 long-standing option which changes the results:datatable.nomatch
. If a user changes that option for their own usage (because they prefer the nomatch=0L default), it could affect packages behavior. Even packages that didn't set any datatable options and were completely compliant with the text in this PR.datatable.naturaljoin
is now the 2nd one. Can we find an acceptable way for natural join to be explicit so we don't need the new option?Here are all the options as of now in dev : https://github.com/Rdatatable/data.table/blob/master/R/onLoad.R#L44. Other than the those two (
datatable.nomatch
anddatatable.naturaljoin
) they all affect printing, optimization, or are temporary for migration.This does mean we should try to remove
datatable.nomatch
too, or find a way for code inside packages to ignore its value.The text was updated successfully, but these errors were encountered: