[Rcpp-commits] r1329 - in pkg/RcppArmadillo: . R inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu May 27 08:43:49 CEST 2010


Author: romain
Date: 2010-05-27 08:43:49 +0200 (Thu, 27 May 2010)
New Revision: 1329

Added:
   pkg/RcppArmadillo/R/flags.R
Modified:
   pkg/RcppArmadillo/DESCRIPTION
   pkg/RcppArmadillo/NEWS
   pkg/RcppArmadillo/inst/ChangeLog
Log:
added RcppArmadillo:::CxxFlags()

Modified: pkg/RcppArmadillo/DESCRIPTION
===================================================================
--- pkg/RcppArmadillo/DESCRIPTION	2010-05-26 16:12:41 UTC (rev 1328)
+++ pkg/RcppArmadillo/DESCRIPTION	2010-05-27 06:43:49 UTC (rev 1329)
@@ -1,7 +1,7 @@
 Package: RcppArmadillo
 Type: Package
 Title: Rcpp/Armadillo bridge
-Version: 0.2.1
+Version: 0.2.1.1
 Date: $Date$
 Author: Romain Francois, Dirk Eddelbuettel and Doug Bates
 Maintainer: Romain, Dirk and Doug <RcppArmadillo-authors at r-enthusiasts.com>

Modified: pkg/RcppArmadillo/NEWS
===================================================================
--- pkg/RcppArmadillo/NEWS	2010-05-26 16:12:41 UTC (rev 1328)
+++ pkg/RcppArmadillo/NEWS	2010-05-27 06:43:49 UTC (rev 1329)
@@ -1,3 +1,8 @@
+0.2.2	(under development)
+
+	o	added RcppArmadillo:::CxxFlags for cases where RcppArmadillo is 
+	not used via a package
+
 0.2.0   2010-05-17
 
     o   fastLm is now generic and has a formula interface as well as

Added: pkg/RcppArmadillo/R/flags.R
===================================================================
--- pkg/RcppArmadillo/R/flags.R	                        (rev 0)
+++ pkg/RcppArmadillo/R/flags.R	2010-05-27 06:43:49 UTC (rev 1329)
@@ -0,0 +1,24 @@
+## Copyright (C)       2010 Dirk Eddelbuettel, Romain Francois and Douglas Bates
+##
+## This file is part of RcppArmadillo.
+##
+## RcppArmadillo is free software: you can redistribute it and/or modify it
+## under the terms of the GNU General Public License as published by
+## the Free Software Foundation, either version 2 of the License, or
+## (at your option) any later version.
+##
+## RcppArmadillo is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with RcppArmadillo.  If not, see <http://www.gnu.org/licenses/>.
+
+RcppArmadilloCxxFlags <- function(){
+	paste( '-I"', system.file( "include", package = "RcppArmadillo" ), '"', sep = "" ) 
+}
+
+CxxFlags <- function(){
+	cat( RcppArmadilloCxxFlags() )
+}

Modified: pkg/RcppArmadillo/inst/ChangeLog
===================================================================
--- pkg/RcppArmadillo/inst/ChangeLog	2010-05-26 16:12:41 UTC (rev 1328)
+++ pkg/RcppArmadillo/inst/ChangeLog	2010-05-27 06:43:49 UTC (rev 1329)
@@ -1,3 +1,7 @@
+2010-05-27   Romain Francois <romain at r-enthusiasts.com>
+
+	* R/flags.R: added RcppArmadillo:::CxxFlags() 
+
 2010-05-18  Dirk Eddelbuettel  <edd at debian.org>
 
 	* DESCRIPTION: Release 0.2.0



More information about the Rcpp-commits mailing list