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
Do not rename data.table.dll to data_table.dll (#7777)
Since R-2.15, R automatically replaces dots with understores in
R_init_<DLL name>(...), so renaming is no longer necessary. This also
has the side effect of working around the behaviour change from R r90101
and producing correct source tarballs on Windows again: R CMD build
cleans up data.table.dll, but misses data_table.dll.
* Accomodate new DLL name in atime tests
# TODO(R>=4.0.0): Remove or adjust this message once we're sure all users are unaffected
21
-
stopf("The data_table.%s version (%s) does not match the package (%s). Please close all R sessions to release the old %s and reinstall data.table in a fresh R session. Prior to R version 3.6.0 patched, R's package installer could leave a package in an apparently functional state where new R code was calling old C code silently: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17478. Once a package is in this mismatch state it may produce wrong results silently until you next upgrade the package. 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.", dll, dllV, RV, toupper(dll))
21
+
stopf("The data.table.%s version (%s) does not match the package (%s). Please close all R sessions to release the old %s and reinstall data.table in a fresh R session. Prior to R version 3.6.0 patched, R's package installer could leave a package in an apparently functional state where new R code was calling old C code silently: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17478. Once a package is in this mismatch state it may produce wrong results silently until you next upgrade the package. 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.", dll, dllV, RV, toupper(dll))
if (builtPath!=""&&!identical(session_r_version>="4.0.0", (build_r_version<- readRDS(builtPath)$Built$R)>="4.0.0")) {
@@ -143,7 +143,7 @@ getRversion = function(...) stopf("Reminder to data.table developers: don't use
143
143
# 4) Defining getRversion with a stopf() here helps prevent new switches on getRversion() being added in future. Easily circumvented but the point is to issue the message above.
0 commit comments