Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTests 1590.3 & 1590.4 fail with data.table 1.11.2 on Windows 64 R 3.5.0 patched #2856
Comments
|
Previous tests were on Windows Server 2012. Same issued on Win7 64bit.
|
|
Did you set different locale in R? Seems to be duplicate of #2771 |
|
I don't make any specific changes to my environments. What you see in my sessionInfo output is the "natural" locale. FWIW, 1.11.0 didn't have this problem on the same computer. |
|
Could you retry on 1.11.2 and if possible also 1.11.0 using R --vanilla? |
|
It is related to #2771 iiuc. My locale is |
|
From the help in base::Comparisons
Perhaps that is the issue, as in #2813, the code says "data.table is deliberately C-locale only" |
|
Hi, @mattdowle. In lines 721 of forder.c, when you define StrCmp, you call strcmp after converting the encodings. That should make sense, as per Cplusplus "This function performs a binary comparison of the characters. For a function that takes into account locale-specific rules, see strcoll." However, since you're still having issues, perhaps not forcing the encoding and using strcoll is a possibility? |
Having a similar issue with
|
|
Aside: these tests pass on win-builder and on AppVeyor, because they aren't running there :( The logs show those test numbers aren't running. |
Package compiled from source using Rtool 3.5
#Minimal reproducible example#Output of sessionInfo()