[rkward-cvs] SF.net SVN: rkward:[2569] trunk/rkward/tests/test_framework.R
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Thu Jul 23 10:34:42 UTC 2009
Revision: 2569
http://rkward.svn.sourceforge.net/rkward/?rev=2569&view=rev
Author: tfry
Date: 2009-07-23 10:34:42 +0000 (Thu, 23 Jul 2009)
Log Message:
-----------
Reduce default printed precision in the test runs to make more tests pass without fuzzy_output-option
Modified Paths:
--------------
trunk/rkward/tests/test_framework.R
Modified: trunk/rkward/tests/test_framework.R
===================================================================
--- trunk/rkward/tests/test_framework.R 2009-07-20 18:21:28 UTC (rev 2568)
+++ trunk/rkward/tests/test_framework.R 2009-07-23 10:34:42 UTC (rev 2569)
@@ -261,6 +261,9 @@
return ("DATE")
}
+# numerical precision is often a problem. To work around this in many places, reduce default printed precision to 5 digits
+options (digits=5)
+
# Make sure i18n does not get in the way
invisible (Sys.setenv (LANGUAGE="C"))
if (.Platform$OS.type == "unix") invisible (Sys.setlocale ("LC_MESSAGES", "C"))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list