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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Mar 20 19:51:06 CET 2010


Author: romain
Date: 2010-03-20 19:51:06 +0100 (Sat, 20 Mar 2010)
New Revision: 931

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:46:12 UTC (rev 930)
+++ pkg/Rcpp/R/RcppLdpath.R	2010-03-20 18:51:06 UTC (rev 931)
@@ -63,7 +63,7 @@
 	if (nzchar(.Platform$r_arch)) {	## eg amd64, ia64, mips
         system.file("lib",.Platform$r_arch,package=package)
     } else {
-        system.file("lib",package="RInside")
+        system.file("lib",package=package)
     }
 }
 
@@ -110,9 +110,9 @@
 
 packageLdFlags <- function( package = "Rcpp", static = staticLinking() ){
 	if( static ){
-		staticLib( package )
+		staticLib( package = package )
 	} else {
-		dynamicLib( package )
+		dynamicLib( package = package )
 	}
 }
 



More information about the Rcpp-commits mailing list