-
Notifications
You must be signed in to change notification settings - Fork 985
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
test 1960 still failing (grouping sets output mismatch) #3267
Comments
I don't think it is an urgent issue for 1.12.0, using grouping sets and constant by = character(0L)
sets = list(character())
lapply(sets, function(by.set) strtoi(paste(c("1", "0")[by %chin% by.set + 1L], collapse=""), base=2L))
#[[1]]
#[1] 0 you can also try putting Lines 79 to 82 in 6346a88
and then finally also Lines 108 to 111 in 6346a88
removing bug as of now as it is possible it is machine dependent |
@jangorecki extra packages are attached by This was run via
And yes, indeed we've narrowed the issue:
and in fact:
From what I see I'm amazed other machines are coming out with |
Manual of
maybe macOS is not equipped with proper |
I have a remote machine where
so it's really down to
|
yes,
|
try pasting this code into #include <stdio.h>
#include <stdlib.h>
int main () {
char str[5] = "";
char *ptr;
int ans = strtol(str, &ptr, 2);
printf("ans: %d\n", ans);
printf("leftover: %s\n", ptr);
return(0);
} and gcc strtol.c -o strtol.out
./strtol.out
#ans: 0
#leftover: |
Hmm I get Maybe time to raise a bug on R-devel... at very least the documentation needs to be clarified... |
doc is correct, the problem is lack of consistency to C lib |
anyway we can ignore that and just add extra branch for |
Yes sounds like the right solution. And I'll follow up with r-devel separately. |
I'm not fully following. It sounds like some sort of change is needed to data.table in this 1.12.0 to ensure tests pass consistently on all platforms? |
@mattdowle yes, a very simple fix I think, testing now |
r-devel thread for the record: |
@jangorecki this came up earlier in #3168: #3168 (comment)
The output on my machine differs from that on yours and on Travis/Codecov...
It's still going on... if we can figure out and squash before CRAN release that'd be great
Output in
test.data.table()
(also forR --vanilla
):My
sessionInfo()
:Related: #3173
The text was updated successfully, but these errors were encountered: