[Rcpp-commits] r2238 - in pkg/Rcpp: . R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Sep 29 00:53:30 CEST 2010


Author: romain
Date: 2010-09-29 00:53:30 +0200 (Wed, 29 Sep 2010)
New Revision: 2238

Added:
   pkg/Rcpp/man/CppObjectS3-class.Rd
Modified:
   pkg/Rcpp/NAMESPACE
   pkg/Rcpp/R/00_classes.R
Log:
bring back C++ObjectS3 to keep packages that import it hapy (e.g. highlight)

Modified: pkg/Rcpp/NAMESPACE
===================================================================
--- pkg/Rcpp/NAMESPACE	2010-09-28 22:52:26 UTC (rev 2237)
+++ pkg/Rcpp/NAMESPACE	2010-09-28 22:53:30 UTC (rev 2238)
@@ -19,7 +19,8 @@
 import( methods )
 importFrom( utils, capture.output, assignInNamespace, .DollarNames, prompt, packageDescription )
 
-exportClasses( Module, "C++Field", "C++Method", "C++Class", "C++Object", "C++Function", 
+exportClasses( Module, "C++ObjectS3", "C++Field", "C++Method", 
+    "C++Class", "C++Object", "C++Function", 
     "C++ClassRepresentation" # , "C++Property"
     )
 

Modified: pkg/Rcpp/R/00_classes.R
===================================================================
--- pkg/Rcpp/R/00_classes.R	2010-09-28 22:52:26 UTC (rev 2237)
+++ pkg/Rcpp/R/00_classes.R	2010-09-28 22:53:30 UTC (rev 2238)
@@ -15,6 +15,9 @@
 # You should have received a copy of the GNU General Public License
 # along with Rcpp.  If not, see <http://www.gnu.org/licenses/>.
 
+# not used, but this keeps packages that import the class happy
+# e.g. highlight 
+setClass( "C++ObjectS3" ) 
 
 ## "Module" class as an environment with "pointer", "moduleName",
 ##  "packageName" and "refClassGenerators"

Added: pkg/Rcpp/man/CppObjectS3-class.Rd
===================================================================
--- pkg/Rcpp/man/CppObjectS3-class.Rd	                        (rev 0)
+++ pkg/Rcpp/man/CppObjectS3-class.Rd	2010-09-28 22:53:30 UTC (rev 2238)
@@ -0,0 +1,15 @@
+\name{C++ObjectS3-class}
+\Rdversion{1.1}
+\docType{class}
+\alias{C++ObjectS3-class}
+
+\title{Class "C++ObjectS3"}
+\description{deprecated class}
+\section{Objects from the Class}{A virtual Class: No objects may be created from it.}
+\section{Methods}{
+No methods defined with class "C++ObjectS3" in the signature.
+}
+\examples{
+showClass("C++ObjectS3")
+}
+\keyword{classes}



More information about the Rcpp-commits mailing list