[rkward-cvs] SF.net SVN: rkward:[2836] trunk/rkward/tests/all_tests.R

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Apr 21 14:32:58 UTC 2010


Revision: 2836
          http://rkward.svn.sourceforge.net/rkward/?rev=2836&view=rev
Author:   tfry
Date:     2010-04-21 14:32:58 +0000 (Wed, 21 Apr 2010)

Log Message:
-----------
Print info on list of used packages

Modified Paths:
--------------
    trunk/rkward/tests/all_tests.R

Modified: trunk/rkward/tests/all_tests.R
===================================================================
--- trunk/rkward/tests/all_tests.R	2010-04-21 14:05:57 UTC (rev 2835)
+++ trunk/rkward/tests/all_tests.R	2010-04-21 14:32:58 UTC (rev 2836)
@@ -22,6 +22,13 @@
 cat ("\n\nOverall results:\n")
 print (allresults)
 
+if (any (is.na (allresults at passed))) {
+	cat ("\nNOTE: Skipped tests due to missing libaries are not an indication of problems.")
+	cat ("\nCurrently, the following R packages are needed in order to run all available tests:")
+	# TODO: Make this list dynamic and / or print only the missing libs
+	cat ('\n"R2HTML", "tseries", "nortest", "outliers", "exactRankTests", "moments", "car", "hdrcde", "qcc", "xtable", "eRm", "ltm"')
+}
+
 sink()
 
 cat (paste ("\n\nThese output are saved in: ", paste (getwd(), plugintest.outfile, sep=.Platform$file.sep), ".\nIf needed, send them to rkward-devel at lists.sourceforge.net\n", sep=""))


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