[rkward-cvs] SF.net SVN: rkward:[2870] trunk/rkward/tests/rkward_application_tests.R
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Wed Jun 2 15:44:08 UTC 2010
Revision: 2870
http://rkward.svn.sourceforge.net/rkward/?rev=2870&view=rev
Author: tfry
Date: 2010-06-02 15:44:07 +0000 (Wed, 02 Jun 2010)
Log Message:
-----------
Test is only meaningful, when library XML is loaded
Modified Paths:
--------------
trunk/rkward/tests/rkward_application_tests.R
Modified: trunk/rkward/tests/rkward_application_tests.R
===================================================================
--- trunk/rkward/tests/rkward_application_tests.R 2010-05-21 14:22:41 UTC (rev 2869)
+++ trunk/rkward/tests/rkward_application_tests.R 2010-06-02 15:44:07 UTC (rev 2870)
@@ -58,12 +58,12 @@
# This object was created by library (XML) v. 3.1-0
# xmlTreeParse ("<log><description>An unclosed quote\"</description></log>")
#
- # In R 2.11.0, str (x) produces an error "subecript out of bounds"
+ # In R 2.11.0, str (x) produces an error "subecript out of bounds" (only if library (XML) is loaded!
# The main concern is that we should handle this object gracefully, i.e. do not crash while syncing it.
load ("../rkward_application_tests_strange_object.RData")
rk.sync.global ()
rk.sync (x)
- })
+ }, libraries=c ("XML"))
# postCalls are run *after* all tests. Use this to clean up
), postCalls = list (
function () {
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