[Distr-commits] r159 - branches/distr-2.0/pkg/distr/man branches/distr-2.0/pkg/distrDoc/R pkg/distr/man pkg/distrDoc/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed May 21 13:47:17 CEST 2008


Author: stamats
Date: 2008-05-21 13:47:17 +0200 (Wed, 21 May 2008)
New Revision: 159

Added:
   branches/distr-2.0/pkg/distr/man/Integer-class.Rd
   pkg/distr/man/Integer-class.Rd
Modified:
   branches/distr-2.0/pkg/distr/man/internals.Rd
   branches/distr-2.0/pkg/distrDoc/R/99.r
   pkg/distr/man/internals.Rd
   pkg/distrDoc/R/99.r
Log:
now the distr-family checks and installs without any warning (except texi2dvi) or error using R version 2.7.0 Patched (2008-05-20 r45741) under Ubuntu 8.04.

Added: branches/distr-2.0/pkg/distr/man/Integer-class.Rd
===================================================================
--- branches/distr-2.0/pkg/distr/man/Integer-class.Rd	                        (rev 0)
+++ branches/distr-2.0/pkg/distr/man/Integer-class.Rd	2008-05-21 11:47:17 UTC (rev 159)
@@ -0,0 +1,39 @@
+\name{Integer-class}
+\docType{class}
+\alias{Integer-class}
+\alias{coerce,numeric,Integer-method}
+
+\title{Internal Class "Integer"}
+\description{For the ease of method dispatch, there is an internal
+S4 class \code{Integer}, which is a subclass of \code{numeric} and has a 
+straightforward validity method.}
+\section{Objects from the Class}{
+new("Integer",
+}
+\section{Slots}{
+\describe{
+    \item{\code{.Data}:}{Object of class \code{"numeric"}}
+  }
+}
+\section{Extends}{
+Class \code{"\linkS4class{numeric}"}, from data part.
+Class \code{"\linkS4class{vector}"}, by class "numeric", distance 2.
+}
+\section{Methods}{
+   \item{coerce}{\code{signature(from = "numeric", to = "Integer")}:
+      create a \code{"Integer"} object from a \code{"numeric"} vector.}
+}
+%\references{ ~put references to the literature/web site here ~ }
+\author{
+  Peter Ruckdeschel \email{Peter.Ruckdeschel at itwm.fraunhofer.de}
+}
+%\note{ ~~further notes~~ }
+\seealso{
+\code{\link{numeric}}, \code{\link{vector}}
+}
+%\examples{}
+\keyword{classes}
+\keyword{internal}
+
+
+

Modified: branches/distr-2.0/pkg/distr/man/internals.Rd
===================================================================
--- branches/distr-2.0/pkg/distr/man/internals.Rd	2008-05-20 12:19:08 UTC (rev 158)
+++ branches/distr-2.0/pkg/distr/man/internals.Rd	2008-05-21 11:47:17 UTC (rev 159)
@@ -2,7 +2,6 @@
 \alias{internals_for_distr}
 \alias{.is.vector.lattice}
 \alias{.is.consistent}
-\alias{.isInteger}
 \alias{.isNatural}
 \alias{.isNatural0}
 \alias{.mergegaps}
@@ -47,7 +46,6 @@
 \alias{.Q2P}
 \alias{.csimpsum}
 \alias{.primefun}
-\alias{coerce,numeric,Integer-method}
 
 \title{Internal functions of package distr}
 
@@ -360,12 +358,6 @@
 \code{.primefun}{the prime function as a function}
 }
 
-\section{Internal classes}{For the ease of method dispatch, there is an internal
-S4 class \code{Integer}, which is a subclass of \code{numeric} and has a 
-straightforward validity method. There is a coerce method to coerce objects
-of class \code{numeric} to \code{Integer}, to be used as  
-\code{x <- c(1,34,2,-3); as(x,"Integer")}.}
-
 \author{
   Peter Ruckdeschel \email{Peter.Ruckdeschel at itwm.fraunhofer.de}
   }

Modified: branches/distr-2.0/pkg/distrDoc/R/99.r
===================================================================
--- branches/distr-2.0/pkg/distrDoc/R/99.r	2008-05-20 12:19:08 UTC (rev 158)
+++ branches/distr-2.0/pkg/distrDoc/R/99.r	2008-05-21 11:47:17 UTC (rev 159)
@@ -11,5 +11,5 @@
 } 
 
 ### just to have it -- not to export it
-setClass("Integer", contains ="numeric",
-          validity = function(object) all(.isInteger(object)))
+#setClass("Integer", contains ="numeric",
+#          validity = function(object) all(.isInteger(object)))

Added: pkg/distr/man/Integer-class.Rd
===================================================================
--- pkg/distr/man/Integer-class.Rd	                        (rev 0)
+++ pkg/distr/man/Integer-class.Rd	2008-05-21 11:47:17 UTC (rev 159)
@@ -0,0 +1,39 @@
+\name{Integer-class}
+\docType{class}
+\alias{Integer-class}
+\alias{coerce,numeric,Integer-method}
+
+\title{Internal Class "Integer"}
+\description{For the ease of method dispatch, there is an internal
+S4 class \code{Integer}, which is a subclass of \code{numeric} and has a 
+straightforward validity method.}
+\section{Objects from the Class}{
+new("Integer",
+}
+\section{Slots}{
+\describe{
+    \item{\code{.Data}:}{Object of class \code{"numeric"}}
+  }
+}
+\section{Extends}{
+Class \code{"\linkS4class{numeric}"}, from data part.
+Class \code{"\linkS4class{vector}"}, by class "numeric", distance 2.
+}
+\section{Methods}{
+   \item{coerce}{\code{signature(from = "numeric", to = "Integer")}:
+      create a \code{"Integer"} object from a \code{"numeric"} vector.}
+}
+%\references{ ~put references to the literature/web site here ~ }
+\author{
+  Peter Ruckdeschel \email{Peter.Ruckdeschel at itwm.fraunhofer.de}
+}
+%\note{ ~~further notes~~ }
+\seealso{
+\code{\link{numeric}}, \code{\link{vector}}
+}
+%\examples{}
+\keyword{classes}
+\keyword{internal}
+
+
+

Modified: pkg/distr/man/internals.Rd
===================================================================
--- pkg/distr/man/internals.Rd	2008-05-20 12:19:08 UTC (rev 158)
+++ pkg/distr/man/internals.Rd	2008-05-21 11:47:17 UTC (rev 159)
@@ -2,7 +2,7 @@
 \alias{internals_for_distr}
 \alias{.is.vector.lattice}
 \alias{.is.consistent}
-\alias{.isInteger}
+\alias{.isInteger}
 \alias{.isNatural}
 \alias{.isNatural0}
 \alias{.mergegaps}
@@ -360,12 +360,6 @@
 \code{.primefun}{the prime function as a function}
 }
 
-\section{Internal classes}{For the ease of method dispatch, there is an internal
-S4 class \code{Integer}, which is a subclass of \code{numeric} and has a 
-straightforward validity method. There is a coerce method to coerce objects
-of class \code{numeric} to \code{Integer}, to be used as  
-\code{x <- c(1,34,2,-3); as(x,"Integer")}.}
-
 \author{
   Peter Ruckdeschel \email{Peter.Ruckdeschel at itwm.fraunhofer.de}
   }

Modified: pkg/distrDoc/R/99.r
===================================================================
--- pkg/distrDoc/R/99.r	2008-05-20 12:19:08 UTC (rev 158)
+++ pkg/distrDoc/R/99.r	2008-05-21 11:47:17 UTC (rev 159)
@@ -11,5 +11,5 @@
 } 
 
 ### just to have it -- not to export it
-setClass("Integer", contains ="numeric",
-          validity = function(object) all(.isInteger(object)))
+#setClass("Integer", contains ="numeric",
+#          validity = function(object) all(.isInteger(object)))



More information about the Distr-commits mailing list