Skip to content

Commit

Permalink
add a TODO since this issue is eventually fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Sep 24, 2024
1 parent 11d613b commit 6b92fd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/onLoad.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
if (dllV != RV) {
dll = if (.Platform$OS.type=="windows") "dll" else "so"
# https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17478
# TODO(R>=4.0.0): Remove or adjust this message once we're sure all users are unaffected
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))
}
builtPath = system.file("Meta", "package.rds", package="data.table")
Expand Down

0 comments on commit 6b92fd1

Please sign in to comment.