[Rcpp-commits] r182 - in pkg: . R inst man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Dec 11 17:07:04 CET 2009


Author: edd
Date: 2009-12-11 17:07:04 +0100 (Fri, 11 Dec 2009)
New Revision: 182

Removed:
   pkg/R/RcppVersion.R
   pkg/man/RcppVersion.Rd
Modified:
   pkg/INDEX
   pkg/NAMESPACE
   pkg/inst/ChangeLog
Log:
removed RcppVersion which is a) unused and b) redundant as R has read.dcf()
NAMESPACE, INDEX updated accordingly


Modified: pkg/INDEX
===================================================================
--- pkg/INDEX	2009-11-20 03:09:08 UTC (rev 181)
+++ pkg/INDEX	2009-12-11 16:07:04 UTC (rev 182)
@@ -1,10 +1,6 @@
-RcppDate                C++ classes for receiving date and datetime R
-                        objects in C++
-RcppExample             Rcpp R / C++ interface example
 Rcpp-package            R / C++ interface
-RcppParams              C++ class for receiving (scalar) parameters
-                        from R
+RcppDate                C++ classes for date and datetime R objects in C++
+RcppExample             Rcpp R / C++ interface example
+RcppParams              C++ class for receiving (scalar) parameters from R
 RcppResultSet           C++ class for sending C++ objects back to R
 RcppVector              C++ classes for receiving \R object in C++
-RcppVersion             Display version info for package and for Rcpp
-                        API

Modified: pkg/NAMESPACE
===================================================================
--- pkg/NAMESPACE	2009-11-20 03:09:08 UTC (rev 181)
+++ pkg/NAMESPACE	2009-12-11 16:07:04 UTC (rev 182)
@@ -2,7 +2,6 @@
 
 export(RcppExample,
        print.RcppExample,
-       RcppVersion,
        RcppDateExample,
        RcppParamsExample,
        RcppVectorExample)

Deleted: pkg/R/RcppVersion.R
===================================================================
--- pkg/R/RcppVersion.R	2009-11-20 03:09:08 UTC (rev 181)
+++ pkg/R/RcppVersion.R	2009-12-11 16:07:04 UTC (rev 182)
@@ -1,14 +0,0 @@
-RcppVersion <- function() {
-
-    version <- installed.packages()["Rcpp","Version"]
-
-    ## Print version of this package
-    cat('\nRcpp package Version ', version, '\n')
-
-    ## Print version of Rcpp/RcppTemplate used to build this package
-    licenseFile <- system.file(".", "LICENSE-Rcpp.txt", package="Rcpp")
-    con <- file(licenseFile, "r")
-    writeLines(readLines(con)[1:4])
-    close(con)
-    invisible(NULL)
-}

Modified: pkg/inst/ChangeLog
===================================================================
--- pkg/inst/ChangeLog	2009-11-20 03:09:08 UTC (rev 181)
+++ pkg/inst/ChangeLog	2009-12-11 16:07:04 UTC (rev 182)
@@ -1,3 +1,10 @@
+2009-12-11  Dirk Eddelbuettel  <edd at debian.org>
+
+	* R/RcppVersion.R: Removed as unused as redundant given read.dcf() in R
+	* man/RcppVersion.R: idem
+	* NAMESPACE: updated accordingly
+	* INDEX: idem
+
 2009-11-18  Dirk Eddelbuettel  <edd at debian.org>
 
 	* DESCRIPTION: Add Dominick back into Authors per his new request

Deleted: pkg/man/RcppVersion.Rd
===================================================================
--- pkg/man/RcppVersion.Rd	2009-11-20 03:09:08 UTC (rev 181)
+++ pkg/man/RcppVersion.Rd	2009-12-11 16:07:04 UTC (rev 182)
@@ -1,17 +0,0 @@
-\name{RcppVersion}
-\alias{RcppVersion}
-\title{Display version info for package and for Rcpp API}
-\description{
-  \code{RcppVersion} displays version information about the
-  package, along with the version of Rcpp that was 
-  used to build the package.
-}
-\usage{
-RcppVersion()
-}
-\author{Dominick Samperi wrote most of Rcpp during 2005 and 2006.  Dirk
-  Eddelbuettel made some additions, and became maintainer in 2008.}
-\examples{
-RcppVersion()
-}
-\keyword{interface}



More information about the Rcpp-commits mailing list