« first day (1499 days earlier)      last day (1676 days later) » 

2:18 PM
 
3:03 PM
I have a numeric method (an optimization problem, essentially) and I'm controlling it with testthat and a benchmark solution. R CMD CHECK is okay under Windows, but I'm experiencing small fluctuations (around 1e-6) when building with travis. Has anyone experienced anything similar? Should I bother?
 
if its the same random seed then I'd worry.
esp if there's C code in there that might be silently overrunning array bounds.
or if there's parallel code in there that could be doing things in a different order...
or is your benchmark solution generated on platform X and the difference is on platform Y? Is the platform Y output consistently the same?
etc etc.
 
Thought the same; fixed the seed and took away parallel code to narrow it down, the diff is still there. Hard to troubleshoot since I'm passing my data to a chain of other packages. I'll check if output under Y is consistent, thx.
 
3:28 PM
this should be closed as a dupe: stackoverflow.com/questions/27149833/…
 
3:42 PM
@Spacedman Seems I'm in trouble. Output in X is consistent, in Y as well, but they differ from each other.
I'm adding if (Sys.info()[['sysname']] != "Windows") tol <- 1e-6 and it makes me feel sad.
 
 
3 hours later…
6:52 PM
@tonytonov it seems like you are about to repeat my mistakes...
 

« first day (1499 days earlier)      last day (1676 days later) »