[Rcpp-commits] r3624 - pkg/Rcpp/inst/doc/Rcpp-package

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri May 25 20:31:21 CEST 2012


Author: edd
Date: 2012-05-25 20:31:21 +0200 (Fri, 25 May 2012)
New Revision: 3624

Modified:
   pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw
Log:
add missing setwd() to revert back to current working directory


Modified: pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw	2012-05-25 15:41:10 UTC (rev 3623)
+++ pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw	2012-05-25 18:31:21 UTC (rev 3624)
@@ -123,6 +123,7 @@
 dir.create( tlib <- tempfile() )
 system( sprintf( 'R CMD INSTALL --library="%s" mypackage ', tlib ) )
 require( "mypackage", lib.loc = tlib )
+setwd(here)
 @
 
 % <<>>=



More information about the Rcpp-commits mailing list