[R-gregmisc-users] SF.net SVN: r-gregmisc:[1787] trunk/gdata
Brought to you by:
warnes
From: <wa...@us...> - 2014-04-05 12:53:41
|
Revision: 1787 http://sourceforge.net/p/r-gregmisc/code/1787 Author: warnes Date: 2014-04-05 12:53:38 +0000 (Sat, 05 Apr 2014) Log Message: ----------- Complete changes so that the unit tests are run as part of R CMD check Modified Paths: -------------- trunk/gdata/DESCRIPTION trunk/gdata/man/gdata-package.Rd trunk/gdata/tests/runRUnitTests.R Added Paths: ----------- trunk/gdata/tests/unitTests/ Removed Paths: ------------- trunk/gdata/inst/unitTests/ Modified: trunk/gdata/DESCRIPTION =================================================================== --- trunk/gdata/DESCRIPTION 2014-04-05 02:25:54 UTC (rev 1786) +++ trunk/gdata/DESCRIPTION 2014-04-05 12:53:38 UTC (rev 1787) @@ -12,4 +12,4 @@ Maintainer: Gregory R. Warnes <gr...@wa...> License: GPL-2 NeedsCompilation: no -Depends: RUnit +Recommends: RUnit Modified: trunk/gdata/man/gdata-package.Rd =================================================================== --- trunk/gdata/man/gdata-package.Rd 2014-04-05 02:25:54 UTC (rev 1786) +++ trunk/gdata/man/gdata-package.Rd 2014-04-05 12:53:38 UTC (rev 1787) @@ -32,13 +32,4 @@ } -\section{Testing}{ - -If you want to perform the validity/unit testing of the installed -\pkg{ggmisc} package on your own computer, take a look at -\code{\link{.runRUnitTestsGdata}} function - please note that -you need the \pkg{RUnit} package for this to work. - -} - \keyword{package} \ No newline at end of file Modified: trunk/gdata/tests/runRUnitTests.R =================================================================== --- trunk/gdata/tests/runRUnitTests.R 2014-04-05 02:25:54 UTC (rev 1786) +++ trunk/gdata/tests/runRUnitTests.R 2014-04-05 12:53:38 UTC (rev 1787) @@ -39,9 +39,10 @@ if(require("RUnit", quietly=TRUE)) { - pkg <- c(read.dcf(file="../DESCRIPTION", fields="Package")) - path <- normalizePath( file.path(getwd(), "..", "inst", "unitTests") ) + pkg <- 'gdata' + path <- normalizePath("unitTests") + cat("\nRunning unit tests\n") print(list(pkg=pkg, getwd=getwd(), pathToUnitTests=path)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |