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
TL;DR for folks who pasted the error message into Google :
Please close all R sessions to release the old datatable.dll and reinstall data.table in a fresh R session.
From 1.12.2, CdllVersion not found will be caught and you'll see this error instead :
The datatable.dll version (1.11.8 or before) does not match the package (1.12.0). Please close all R sessions to release the old datatable.dll and reinstall data.table in a fresh R session. The root cause is that R's package installer can in some unconfirmed circumstances leave a package in a state that is apparently functional but with new R code calling old C code: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17478. We think this only happens in the few days after an update on CRAN before Windows binaries are available: "There is a binary version available but the source version is later. Do you want to install from source? y/n:" However there is some debate on this. Please help by adding precise circumstances to 17478 to move the status to confirmed. This mismatch between R and C code can happen with any package not just data.table. It is just that data.table has added this check.
Follow up to #3056 and #3211
The CdllVersion can be caught using is.loaded() something like this :
Local testing on Ubuntu shows there has to be no dot in the package name (that argument is really the name of the dll/so which has the dot removed).
With this change implemented in 1.12.2, folk upgrading from pre-1.12.0 to 1.12.2+ and hitting the upgrade mismatch problem in the few days before Windows binary is available on CRAN, would then see the new long helpful message rather than the CdllVersion not found. In other words, nobody would ever see CdllVersion not found (regardless of which version they were upgrading from) as long as they were upgrading to 1.12.2+.
More background here: #3211 (comment)
The text was updated successfully, but these errors were encountered:
TL;DR for folks who pasted the error message into Google :
Please close all R sessions to release the old datatable.dll and reinstall data.table in a fresh R session.
From 1.12.2,
CdllVersion not found
will be caught and you'll see this error instead :Follow up to #3056 and #3211
The
CdllVersion
can be caught usingis.loaded()
something like this :Local testing on Ubuntu shows there has to be no dot in the package name (that argument is really the name of the dll/so which has the dot removed).
With this change implemented in 1.12.2, folk upgrading from pre-1.12.0 to 1.12.2+ and hitting the upgrade mismatch problem in the few days before Windows binary is available on CRAN, would then see the new long helpful message rather than the
CdllVersion not found
. In other words, nobody would ever seeCdllVersion not found
(regardless of which version they were upgrading from) as long as they were upgrading to 1.12.2+.More background here: #3211 (comment)
The text was updated successfully, but these errors were encountered: