[Rcpp-commits] r227 - pkg/tests
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Dec 29 19:47:06 CET 2009
Author: romain
Date: 2009-12-29 19:47:06 +0100 (Tue, 29 Dec 2009)
New Revision: 227
Modified:
pkg/tests/doRUnit.R
Log:
remove wd <- getwd()
Modified: pkg/tests/doRUnit.R
===================================================================
--- pkg/tests/doRUnit.R 2009-12-29 17:50:40 UTC (rev 226)
+++ pkg/tests/doRUnit.R 2009-12-29 18:47:06 UTC (rev 227)
@@ -13,11 +13,8 @@
## ----> put the bulk of the code e.g. in ../inst/unitTests/runTests.R :
if(require("RUnit", quietly = TRUE)) {
-
- ## --- Setup ---
pkg <- "Rcpp"
- wd <- getwd()
-
+
require( pkg, character.only=TRUE)
path <- system.file("unitTests", package = pkg)
More information about the Rcpp-commits
mailing list