[Rcpp-commits] r4563 - in pkg/Rcpp: . inst man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Oct 9 00:02:28 CEST 2013


Author: edd
Date: 2013-10-09 00:02:26 +0200 (Wed, 09 Oct 2013)
New Revision: 4563

Added:
   pkg/Rcpp/man/LdFlags.Rd
Removed:
   pkg/Rcpp/man/RcppLdFlags.Rd
Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/NAMESPACE
   pkg/Rcpp/inst/NEWS.Rd
Log:
Export LdFlags, not RcppLdFlags, from NAMESPACE
Also correct manual page


Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2013-10-07 16:32:53 UTC (rev 4562)
+++ pkg/Rcpp/ChangeLog	2013-10-08 22:02:26 UTC (rev 4563)
@@ -1,3 +1,8 @@
+2013-10-08  Dirk Eddelbuettel  <edd at debian.org>
+
+	* NAMESPACE: Export LdFlags, not RcppLdFlags
+	* man/LdFlags.Rd: Renamed from RcppLdFlags, and changed
+
 2013-10-06  John M Chambers  <jmc at r-project.org>
 
 	* R/exposeClass.R: avoid warning from unclosed file()

Modified: pkg/Rcpp/NAMESPACE
===================================================================
--- pkg/Rcpp/NAMESPACE	2013-10-07 16:32:53 UTC (rev 4562)
+++ pkg/Rcpp/NAMESPACE	2013-10-08 22:02:26 UTC (rev 4563)
@@ -26,7 +26,7 @@
        sourceCpp,
        compileAttributes,
        registerPlugin,
-       RcppLdFlags,
+       LdFlags,
        demangle,
        sizeof,
        cpp_object_initializer,

Modified: pkg/Rcpp/inst/NEWS.Rd
===================================================================
--- pkg/Rcpp/inst/NEWS.Rd	2013-10-07 16:32:53 UTC (rev 4562)
+++ pkg/Rcpp/inst/NEWS.Rd	2013-10-08 22:02:26 UTC (rev 4563)
@@ -19,6 +19,10 @@
       and some tests for \code{is_na()} and \code{is_finite()} have been
       corrected thanks to Thomas Tse.   
     }
+    \item Changes in R code:
+    \itemize{
+      \item Export linking helper function \code{LdFlags}, not \code{RcppLdFlags}
+    }
   }
 }
 

Copied: pkg/Rcpp/man/LdFlags.Rd (from rev 4562, pkg/Rcpp/man/RcppLdFlags.Rd)
===================================================================
--- pkg/Rcpp/man/LdFlags.Rd	                        (rev 0)
+++ pkg/Rcpp/man/LdFlags.Rd	2013-10-08 22:02:26 UTC (rev 4563)
@@ -0,0 +1,41 @@
+\name{LdFlags}
+\alias{LdFlags}
+\title{Provide Rcpp Linker Flags}
+\description{
+  \code{LdFlags} returns the required flags and options for the the
+  system linker. This allows portable use of \pkg{Rcpp} as package
+  location as well as operating-system specific details are abstracted
+  away behind the interface of this function.
+
+  It is commonly called from the files \code{Makevars} (or
+  \code{Makevars.win}) rather than in an interactive session.
+}
+\usage{
+LdFlags(static=staticLinking())
+}
+\arguments{
+  \item{static}{A boolean determining use of static (as opposed to
+  dynamic) linking; defaults to using the \code{staticLinking()}
+  function which defaults to \code{FALSE} on Linux, and \code{TRUE}
+  if the operating system is different from Linux.}
+}
+\value{
+  A character vector suitable by use by the system linker in order to
+  create a library based on \pkg{Rcpp}.
+}
+\details{
+  This function is not meant to used interactively, and is intended
+  solely for use by the build tools.
+}
+\references{
+  Dirk Eddelbuettel and Romain Francois (2011). \pkg{Rcpp}: Seamless R
+  and C++ Integration. \emph{Journal of Statistical Software},
+  \bold{40(8)}, 1-18. URL http://www.jstatsoft.org/v40/i08/ and
+  available as \code{vignette("Rcpp-introduction")}.
+}
+\seealso{
+  The vignette \sQuote{Rcpp-package} has more details.
+}
+\author{Dirk Eddelbuettel and Romain Francois}
+\keyword{programming}
+\keyword{interface}

Deleted: pkg/Rcpp/man/RcppLdFlags.Rd
===================================================================
--- pkg/Rcpp/man/RcppLdFlags.Rd	2013-10-07 16:32:53 UTC (rev 4562)
+++ pkg/Rcpp/man/RcppLdFlags.Rd	2013-10-08 22:02:26 UTC (rev 4563)
@@ -1,41 +0,0 @@
-\name{RcppLdFlags}
-\alias{RcppLdFlags}
-\title{Provide Rcpp Linker Flags}
-\description{
-  \code{RcppLdFlags} returns the required flags and options for the the
-  system linker. This allows portable use of \pkg{Rcpp} as package
-  location as well as operating-system specific details are abstracted
-  away behind the interface of this function.
-
-  It is commonly called from the files \code{Makevars} (or
-  \code{Makevars.win}) rather than in an interactive session.
-}
-\usage{
-RcppLdFlags(static=staticLinking())
-}
-\arguments{
-  \item{static}{A boolean determining use of static (as opposed to
-  dynamic) linking; defaults to using the \code{staticLinking()}
-  function which defaults to \code{FALSE} on Linux, and \code{TRUE}
-  if the operating system is different from Linux.}
-}
-\value{
-  A character vector suitable by use by the system linker in order to
-  create a library based on \pkg{Rcpp}.
-}
-\details{
-  This function is not meant to used interactively, and is intended
-  solely for use by the build tools.
-}
-\references{
-  Dirk Eddelbuettel and Romain Francois (2011). \pkg{Rcpp}: Seamless R
-  and C++ Integration. \emph{Journal of Statistical Software},
-  \bold{40(8)}, 1-18. URL http://www.jstatsoft.org/v40/i08/ and
-  available as \code{vignette("Rcpp-introduction")}.
-}
-\seealso{
-  The vignette \sQuote{Rcpp-package} has more details.
-}
-\author{Dirk Eddelbuettel and Romain Francois}
-\keyword{programming}
-\keyword{interface}



More information about the Rcpp-commits mailing list