[Distr-commits] r1116 - in pkg/distrEllipse: . R man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Sep 4 10:37:13 CEST 2016
Author: ruckdeschel
Date: 2016-09-04 10:37:13 +0200 (Sun, 04 Sep 2016)
New Revision: 1116
Added:
pkg/distrEllipse/man/distrEllipse-deprecated.Rd
Modified:
pkg/distrEllipse/DESCRIPTION
pkg/distrEllipse/R/SphericalDistribution.R
pkg/distrEllipse/man/SphericalDistribution-class.Rd
Log:
distrEllipse Deprecated message inserted
Modified: pkg/distrEllipse/DESCRIPTION
===================================================================
--- pkg/distrEllipse/DESCRIPTION 2016-09-01 08:56:42 UTC (rev 1115)
+++ pkg/distrEllipse/DESCRIPTION 2016-09-04 08:37:13 UTC (rev 1116)
@@ -1,6 +1,6 @@
Package: distrEllipse
-Version: 2.6.1
-Date: 2016-04-23
+Version: 2.6.2
+Date: 2016-09-04
Title: S4 Classes for Elliptically Contoured Distributions
Description: Distribution (S4-)classes for elliptically contoured distributions (based on
package 'distr').
Modified: pkg/distrEllipse/R/SphericalDistribution.R
===================================================================
--- pkg/distrEllipse/R/SphericalDistribution.R 2016-09-01 08:56:42 UTC (rev 1115)
+++ pkg/distrEllipse/R/SphericalDistribution.R 2016-09-04 08:37:13 UTC (rev 1116)
@@ -43,11 +43,20 @@
## wrappers:
setMethod("plot.rd", "SphericalDistribution",
- function(x, ... ) plot(x at radDistr,...))
-setMethod("r.rd", "SphericalDistribution", function(object) r(object at radDistr))
-setMethod("d.rd", "SphericalDistribution", function(object) d(object at radDistr))
-setMethod("p.rd", "SphericalDistribution", function(object) p(object at radDistr))
-setMethod("q.rd", "SphericalDistribution", function(object) q(object at radDistr))
+ function(x, ... ){ .Deprecated("plotRd")
+ plot(x at radDistr,...)})
+setMethod("r.rd", "SphericalDistribution", function(object) {
+ .Deprecated("rRd")
+ r(object at radDistr)})
+setMethod("d.rd", "SphericalDistribution", function(object) {
+ .Deprecated("dRd")
+ d(object at radDistr)})
+setMethod("p.rd", "SphericalDistribution", function(object) {
+ .Deprecated("pRd")
+ p(object at radDistr)}
+setMethod("q.rd", "SphericalDistribution", function(object) {
+ .Deprecated("qRd")
+ q(object at radDistr)}
setMethod("plotRd", "SphericalDistribution",
function(x, ... ) plot(x at radDistr,...))
Modified: pkg/distrEllipse/man/SphericalDistribution-class.Rd
===================================================================
--- pkg/distrEllipse/man/SphericalDistribution-class.Rd 2016-09-01 08:56:42 UTC (rev 1115)
+++ pkg/distrEllipse/man/SphericalDistribution-class.Rd 2016-09-04 08:37:13 UTC (rev 1116)
@@ -19,11 +19,6 @@
\alias{q.rd,SphericalDistribution-method}
\alias{radDistr}
\alias{radDistr<-}
-\alias{plot.rd}
-\alias{r.rd}
-\alias{d.rd}
-\alias{p.rd}
-\alias{q.rd}
\alias{plotRd}
\alias{rRd}
\alias{dRd}
@@ -112,25 +107,21 @@
always returns the unit matrix (in the respective dimension). }
\item{radDistr}{\code{signature(object = "SphericalDistribution")}: access method for
slot \code{radDistr}. }
- \item{r.rd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
- slot \code{r} of slot \code{radDistr}. From version 2.6 on, an alias \code{rRd} is
- introduced to replace \code{r.rd} on the long run in order to avoid clashes with
- S3-method inheritance. }
- \item{d.rd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
- slot \code{d} of slot \code{radDistr}. From version 2.6 on, an alias \code{dRd} is
- introduced to replace \code{d.rd} on the long run in order to avoid clashes with
- S3-method inheritance. }
- \item{p.rd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
- slot \code{p} of slot \code{radDistr}. From version 2.6 on, an alias \code{pRd} is
- introduced to replace \code{p.rd} on the long run in order to avoid clashes with
- S3-method inheritance. }
- \item{q.rd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
- slot \code{q} of slot \code{radDistr}. From version 2.6 on, an alias \code{qRd} is
- introduced to replace \code{q.rd} on the long run in order to avoid clashes with
- S3-method inheritance. }
- \item{plot.rd}{\code{signature(x = "SphericalDistribution")}: utility; calls \code{plot}
- for slot \code{radDistr}. From version 2.6 on, an alias \code{plotRd} is introduced
- to replace \code{plot.rd} on the long run in order to avoid clashes with S3-method inheritance.}
+ \item{rRd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
+ slot \code{r} of slot \code{radDistr}. From version 2.6 on, replaces deprecated
+ \code{r.Rd} to avoid clashes with S3-method inheritance. }
+ \item{dRd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
+ slot \code{d} of slot \code{radDistr}. From version 2.6 on, replaces deprecated
+ \code{d.Rd} to avoid clashes with S3-method inheritance. }
+ \item{pRd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
+ slot \code{p} of slot \code{radDistr}. From version 2.6 on, replaces deprecated
+ \code{p.Rd} to avoid clashes with S3-method inheritance. }
+ \item{qRd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
+ slot \code{q} of slot \code{radDistr}. From version 2.6 on, replaces deprecated
+ \code{q.Rd} to avoid clashes with S3-method inheritance. }
+ \item{plotRd}{\code{signature(x = "SphericalDistribution")}: utility; calls \code{plot}
+ for slot \code{radDistr}. From version 2.6 on, replaces deprecated
+ \code{plot.Rd} to avoid clashes with S3-method inheritance. }
\item{plot}{\code{signature(x = "SphericalDistribution", y = "missing")}:
plot for an spherically symmetric distribution; see \code{\link{plot-methods}}. }
\item{show}{\code{signature(object = "SphericalDistribution")}:
Added: pkg/distrEllipse/man/distrEllipse-deprecated.Rd
===================================================================
--- pkg/distrEllipse/man/distrEllipse-deprecated.Rd (rev 0)
+++ pkg/distrEllipse/man/distrEllipse-deprecated.Rd 2016-09-04 08:37:13 UTC (rev 1116)
@@ -0,0 +1,35 @@
+\name{distrEllipse-deprecated}
+\alias{distrEllipse-deprecated}
+\alias{plot.rd}
+\alias{r.rd}
+\alias{d.rd}
+\alias{p.rd}
+\alias{q.rd}
+\title{Deprecated Functions in Package \pkg{distrEllipse}}
+\description{
+ These functions are provided for compatibility with older versions of
+ \pkg{distrEllipse} only, and may be defunct as soon as the next release.
+}
+\section{Methods}{
+ From version 2.6 on, we deprecate former versions of S4-methods
+ \code{rRd}, \code{dRd}, \code{pRd}, \code{qRd}, and \code{plotRd} of style
+ <name>.rd due to clashes with S3-method inheritance.
+ More specifically, this concerns the following methods:
+ \describe{
+ \item{r.rd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
+ slot \code{r} of slot \code{radDistr}.}
+ \item{d.rd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
+ slot \code{d} of slot \code{radDistr}. }
+ \item{p.rd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
+ slot \code{p} of slot \code{radDistr}. }
+ \item{q.rd}{\code{signature(object = "SphericalDistribution")}: wrapped access method for
+ slot \code{q} of slot \code{radDistr}. }
+ \item{plot.rd}{\code{signature(x = "SphericalDistribution")}: utility; calls \code{plot}
+ for slot \code{radDistr}. }
+ }
+}
+
+\seealso{
+ \code{\link{Deprecated}}
+}
+\keyword{misc}
More information about the Distr-commits
mailing list