[Rcpp-commits] r932 - pkg/Rcpp/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Mar 20 20:08:05 CET 2010


Author: romain
Date: 2010-03-20 20:08:05 +0100 (Sat, 20 Mar 2010)
New Revision: 932

Modified:
   pkg/Rcpp/R/RcppLdpath.R
Log:
factor things out to reduce the inter package copy and paste factor

Modified: pkg/Rcpp/R/RcppLdpath.R
===================================================================
--- pkg/Rcpp/R/RcppLdpath.R	2010-03-20 18:51:06 UTC (rev 931)
+++ pkg/Rcpp/R/RcppLdpath.R	2010-03-20 19:08:05 UTC (rev 932)
@@ -83,7 +83,7 @@
 
 # path to the static library file
 staticLib <- function(package = "Rcpp" ){
-	libfoo.a <- file.path( packageLibPath(), sprintf( "lib%s.a", package ) )
+	libfoo.a <- file.path( packageLibPath(package = package), sprintf( "lib%s.a", package ) )
 	wrapFile( libfoo.a )
 }
 



More information about the Rcpp-commits mailing list