Hi,h I have a package that has been in CRAN for years and is now failing checks because some of the output of a test script is differing on some machines in the fifth or sixth decimal place. I have managed to fix most of these issues (by using the "digits" argument in calls to "summary" to hide the differences). the only one that remains yields this R CMD check report:
Comparing ‘testDiff.Rout’ to ‘testDiff.Rout.save’ ...52c52 < 2.600e-06 1.328e-01 4.666e-01 1.060e+00 1.369e+00 1.091e+01 --- > 0.000003 0.132800 0.466600 1.060000 1.369000 10.910000 Here the digit-limited output is the same (to a human mathematician, though not to a string-matching computer), but one machine has decided to report the output in scientific notation. Both versions were produced by a command equivalent to print(summary(x, digits = 4)) What is the best cross-platform way to ensure that the output gets printed in the same format? Set "options(scipen=999)"? Pass some argument to "print" as well as to "summary"? (The other alternative I am considering is to just delete the script from the "tests" directory.) Thanks, Kevin [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel