[Robast-commits] r1305 - in pkg/RobAStBase: . inst man tests/Examples
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Aug 29 17:05:14 CEST 2024
Author: ruckdeschel
Date: 2024-08-29 17:05:14 +0200 (Thu, 29 Aug 2024)
New Revision: 1305
Modified:
pkg/RobAStBase/DESCRIPTION
pkg/RobAStBase/inst/NEWS
pkg/RobAStBase/man/0RobAStBase-package.Rd
pkg/RobAStBase/man/RobAStBaseMASK.Rd
pkg/RobAStBase/tests/Examples/RobAStBase-Ex.Rout.save
Log:
[RobAStBase] /trunk: fixes a platform-dependent LF/CR issue tracked down by K. Hornik in
pkg distr which arises when checking against reference output while testing
Modified: pkg/RobAStBase/DESCRIPTION
===================================================================
--- pkg/RobAStBase/DESCRIPTION 2024-02-11 13:38:39 UTC (rev 1304)
+++ pkg/RobAStBase/DESCRIPTION 2024-08-29 15:05:14 UTC (rev 1305)
@@ -1,6 +1,6 @@
Package: RobAStBase
Version: 1.2.5
-Date: 2024-02-02
+Date: 2024-08-29
Title: Robust Asymptotic Statistics
Description: Base S4-classes and functions for robust asymptotic statistics.
Depends: R(>= 3.4), methods, rrcov, distr(>= 2.8.0), distrEx(>= 2.8.0), distrMod(>= 2.8.1),
@@ -19,4 +19,4 @@
URL: https://r-forge.r-project.org/projects/robast/
LastChangedDate: {$LastChangedDate$}
LastChangedRevision: {$LastChangedRevision$}
-VCS/SVNRevision: 1236
+VCS/SVNRevision: 1304
Modified: pkg/RobAStBase/inst/NEWS
===================================================================
--- pkg/RobAStBase/inst/NEWS 2024-02-11 13:38:39 UTC (rev 1304)
+++ pkg/RobAStBase/inst/NEWS 2024-08-29 15:05:14 UTC (rev 1305)
@@ -8,6 +8,16 @@
information)
#######################################
+version 1.2.5
+#######################################
+
+under the hood:
+with the help of K. Hornik identified spurious, platform dependent LF/CR issue
+and capsulated calls to infoShow() in Rd files by
+## IGNORE_RDIFF_BEGIN
+## IGNORE_RDIFF_END
+
+#######################################
version 1.2.4
#######################################
Modified: pkg/RobAStBase/man/0RobAStBase-package.Rd
===================================================================
--- pkg/RobAStBase/man/0RobAStBase-package.Rd 2024-02-11 13:38:39 UTC (rev 1304)
+++ pkg/RobAStBase/man/0RobAStBase-package.Rd 2024-08-29 15:05:14 UTC (rev 1305)
@@ -1,55 +1,55 @@
-\name{RobAStBase-package}
-\alias{RobAStBase-package}
-\alias{RobAStBase}
-\docType{package}
-\title{
-Robust Asymptotic Statistics
-}
-\description{
-Base S4-classes and functions for robust asymptotic statistics.
-}
-\details{
-\tabular{ll}{
-Package: \tab RobAStBase \cr
-Version: \tab 1.2.5 \cr
-Date: \tab 2024-02-02 \cr
-Depends: \tab R(>= 3.4), methods, rrcov, distr(>= 2.8.0), distrEx(>= 2.8.0), distrMod(>= 2.8.1),RandVar(>= 1.2.0) \cr
-Suggests: \tab ROptEst(>= 1.2.0), RUnit(>= 0.4.26) \cr
-Imports: \tab startupmsg, graphics, grDevices, stats \cr
-ByteCompile: \tab yes \cr
-Encoding: \tab latin1 \cr
-License: \tab LGPL-3 \cr
-URL: \tab https://r-forge.r-project.org/projects/robast/\cr
-VCS/SVNRevision: \tab 1236 \cr
-}
-}
-\author{
-Peter Ruckdeschel \email{peter.ruckdeschel at uni-oldenburg.de},\cr%
-Matthias Kohl \email{Matthias.Kohl at stamats.de}\cr
-Maintainer: Matthias Kohl \email{matthias.kohl at stamats.de}}
-\references{
- M. Kohl (2005). Numerical Contributions to the Asymptotic Theory of Robustness.
- Dissertation. University of Bayreuth.
- See also https://www.stamats.de/wp-content/uploads/2018/04/ThesisMKohl.pdf
-}
-\seealso{
-\code{\link[distr:0distr-package]{distr-package}},
-\code{\link[distrEx:0distrEx-package]{distrEx-package}},
-\code{\link[distrMod:0distrMod-package]{distrMod-package}}
-}
-\section{Package versions}{
-Note: The first two numbers of package versions do not necessarily reflect
- package-individual development, but rather are chosen for the
- RobAStXXX family as a whole in order to ease updating "depends"
- information.
-}
-\examples{
-library(RobAStBase)
-## some L2 differentiable parametric family from package distrMod, e.g.
-B <- BinomFamily(size = 25, prob = 0.25)
-## classical optimal IC
-IC0 <- optIC(model = B, risk = asCov())
-plot(IC0) # plot IC
-checkIC(IC0, B)
-}
-\keyword{package}
+\name{RobAStBase-package}
+\alias{RobAStBase-package}
+\alias{RobAStBase}
+\docType{package}
+\title{
+Robust Asymptotic Statistics
+}
+\description{
+Base S4-classes and functions for robust asymptotic statistics.
+}
+\details{
+\tabular{ll}{
+Package: \tab RobAStBase \cr
+Version: \tab 1.2.5 \cr
+Date: \tab 2024-08-29 \cr
+Depends: \tab R(>= 3.4), methods, rrcov, distr(>= 2.8.0), distrEx(>= 2.8.0), distrMod(>= 2.8.1),RandVar(>= 1.2.0) \cr
+Suggests: \tab ROptEst(>= 1.2.0), RUnit(>= 0.4.26) \cr
+Imports: \tab startupmsg, graphics, grDevices, stats \cr
+ByteCompile: \tab yes \cr
+Encoding: \tab latin1 \cr
+License: \tab LGPL-3 \cr
+URL: \tab https://r-forge.r-project.org/projects/robast/\cr
+VCS/SVNRevision: \tab 1304 \cr
+}
+}
+\author{
+Peter Ruckdeschel \email{peter.ruckdeschel at uni-oldenburg.de},\cr%
+Matthias Kohl \email{Matthias.Kohl at stamats.de}\cr
+Maintainer: Matthias Kohl \email{matthias.kohl at stamats.de}}
+\references{
+ M. Kohl (2005). Numerical Contributions to the Asymptotic Theory of Robustness.
+ Dissertation. University of Bayreuth.
+ See also https://www.stamats.de/wp-content/uploads/2018/04/ThesisMKohl.pdf
+}
+\seealso{
+\code{\link[distr:0distr-package]{distr-package}},
+\code{\link[distrEx:0distrEx-package]{distrEx-package}},
+\code{\link[distrMod:0distrMod-package]{distrMod-package}}
+}
+\section{Package versions}{
+Note: The first two numbers of package versions do not necessarily reflect
+ package-individual development, but rather are chosen for the
+ RobAStXXX family as a whole in order to ease updating "depends"
+ information.
+}
+\examples{
+library(RobAStBase)
+## some L2 differentiable parametric family from package distrMod, e.g.
+B <- BinomFamily(size = 25, prob = 0.25)
+## classical optimal IC
+IC0 <- optIC(model = B, risk = asCov())
+plot(IC0) # plot IC
+checkIC(IC0, B)
+}
+\keyword{package}
Modified: pkg/RobAStBase/man/RobAStBaseMASK.Rd
===================================================================
--- pkg/RobAStBase/man/RobAStBaseMASK.Rd 2024-02-11 13:38:39 UTC (rev 1304)
+++ pkg/RobAStBase/man/RobAStBaseMASK.Rd 2024-08-29 15:05:14 UTC (rev 1305)
@@ -18,7 +18,9 @@
\author{Peter Ruckdeschel \email{peter.ruckdeschel at uni-oldenburg.de}}
\examples{
+## IGNORE_RDIFF_BEGIN
RobAStBaseMASK()
+## IGNORE_RDIFF_END
}
\keyword{programming}
\keyword{distribution}
Modified: pkg/RobAStBase/tests/Examples/RobAStBase-Ex.Rout.save
===================================================================
--- pkg/RobAStBase/tests/Examples/RobAStBase-Ex.Rout.save 2024-02-11 13:38:39 UTC (rev 1304)
+++ pkg/RobAStBase/tests/Examples/RobAStBase-Ex.Rout.save 2024-08-29 15:05:14 UTC (rev 1305)
@@ -1,7 +1,7 @@
-R Under development (unstable) (2019-03-28 r76288) -- "Unsuffered Consequences"
-Copyright (C) 2019 The R Foundation for Statistical Computing
-Platform: x86_64-w64-mingw32/x64 (64-bit)
+R Under development (unstable) (2024-08-17 r87027 ucrt) -- "Unsuffered Consequences"
+Copyright (C) 2024 The R Foundation for Statistical Computing
+Platform: x86_64-w64-mingw32/x64
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
@@ -24,11 +24,11 @@
> library('RobAStBase')
Loading required package: rrcov
Loading required package: robustbase
-Scalable Robust Estimators with High Breakdown Point (version 1.4-7)
+Scalable Robust Estimators with High Breakdown Point (version 1.7-6)
Loading required package: distr
Loading required package: startupmsg
-:startupmsg> Utilities for Start-Up Messages (version 0.9.6)
+:startupmsg> Utilities for Start-Up Messages (version 0.9.7)
:startupmsg>
:startupmsg> For more information see ?"startupmsg",
:startupmsg> NEWS("startupmsg")
@@ -35,7 +35,7 @@
Loading required package: sfsmisc
:distr> Object Oriented Implementation of Distributions (version
-:distr> 2.8.0)
+:distr> 2.9.4)
:distr>
:distr> Attention: Arithmetics on distribution objects are
:distr> understood as operations on corresponding random variables
@@ -61,7 +61,7 @@
df, qqplot, sd
Loading required package: distrEx
-:distrEx> Extensions of Package 'distr' (version 2.8.0)
+:distrEx> Extensions of Package 'distr' (version 2.9.2)
:distrEx>
:distrEx> Note: Packages "e1071", "moments", "fBasics" should be
:distrEx> attached /before/ package "distrEx". See
@@ -86,11 +86,11 @@
Loading required package: distrMod
Loading required package: RandVar
-:RandVar> Implementation of Random Variables (version 1.2.0)
+:RandVar> Implementation of Random Variables (version 1.2.3)
:RandVar>
:RandVar> For more information see ?"RandVar", NEWS("RandVar"), as
:RandVar> well as
-:RandVar> http://robast.r-forge.r-project.org/
+:RandVar> https://r-forge.r-project.org/projects/robast/
:RandVar> This package also includes a vignette; try
:RandVar> vignette("RandVar").
@@ -97,7 +97,7 @@
Loading required package: MASS
Loading required package: stats4
:distrMod> Object Oriented Implementation of Probability Models
-:distrMod> (version 2.8.1)
+:distrMod> (version 2.9.1)
:distrMod>
:distrMod> Some functions from pkg's 'base' and 'stats' are
:distrMod> intentionally masked ---see distrModMASK().
@@ -130,7 +130,7 @@
norm
-:RobAStBase> Robust Asymptotic Statistics (version 1.2.1)
+:RobAStBase> Robust Asymptotic Statistics (version 1.2.5)
:RobAStBase>
:RobAStBase> Some functions from pkg's 'stats' and 'graphics'
:RobAStBase> are intentionally masked ---see RobAStBaseMASK().
@@ -140,7 +140,7 @@
:RobAStBase>
:RobAStBase> For more information see ?"RobAStBase",
:RobAStBase> NEWS("RobAStBase"), as well as
-:RobAStBase> http://robast.r-forge.r-project.org/
+:RobAStBase> https://r-forge.r-project.org/projects/robast/
Attaching package: 'RobAStBase'
@@ -286,7 +286,7 @@
Slot "weight":
function(x) 1
-<bytecode: 0x000000000c6afad8>
+<bytecode: 0x000001f203e1d4a0>
<environment: namespace:RobAStBase>
>
@@ -317,7 +317,7 @@
Slot "weight":
function(x) 1
-<bytecode: 0x000000000c467898>
+<bytecode: 0x000001f203bad840>
<environment: namespace:RobAStBase>
>
@@ -703,7 +703,7 @@
Slot "weight":
function(x) 1
-<bytecode: 0x000000000b6d4b40>
+<bytecode: 0x000001f203aafaa8>
<environment: namespace:RobAStBase>
>
@@ -985,6 +985,7 @@
>
> ### ** Examples
>
+> ## IGNORE_RDIFF_BEGIN
> RobAStBaseMASK()
######################################################################
# On masking of and by other functions in package "RobAStBase"
@@ -1004,6 +1005,7 @@
+clip() (package "graphics")
+> ## IGNORE_RDIFF_END
>
>
>
@@ -1080,7 +1082,7 @@
Slot "weight":
function(x) 1
-<bytecode: 0x000000000d630348>
+<bytecode: 0x000001f203d32ce0>
<environment: namespace:RobAStBase>
>
@@ -1303,7 +1305,7 @@
}
quantile(slot(norm, "fct")(data), cutoff.quantile)
}
-<environment: 0x0000000015b186f0>
+<environment: 0x000001f20e24dc18>
Slot "cutoff.quantile":
[1] 0.95
@@ -1339,7 +1341,7 @@
}
quantile(slot(norm, "fct")(data), cutoff.quantile)
}
-<environment: 0x0000000016694768>
+<environment: 0x000001f20e1b7e08>
Slot "cutoff.quantile":
[1] 0.95
@@ -1364,7 +1366,7 @@
quantile((rowSums(N0^2))^0.5, 0.95)
}
}
-<environment: 0x0000000016b1fc90>
+<environment: 0x000001f20e17d080>
Slot "cutoff.quantile":
[1] 0.95
@@ -1387,7 +1389,7 @@
qchisq(df = dim, 0.95)^0.5
}
}
-<environment: 0x0000000016c06398>
+<environment: 0x000001f20e139c80>
Slot "cutoff.quantile":
[1] 0.95
@@ -1435,7 +1437,7 @@
> myrisk <- asMSE()
> getRiskFctBV(myrisk)
function(bias, var) return(bias^2+var)
-<environment: 0x0000000018bb2550>
+<environment: 0x000001f20da47518>
>
>
>
@@ -1584,7 +1586,7 @@
[,1]
[1,] 0.000
maximum deviation
- 1.110223e-16
+ 6.752308e-17
>
> ## slot modifyIC is filled in case of IC2
> IC3 <- modifyIC(IC2)(BinomFamily(13, 0.2), IC2)
@@ -1597,7 +1599,7 @@
[,1]
[1,] 0.000
maximum deviation
- 3.091672e-18
+ 2.220446e-16
> ## identical to
> checkIC(IC3, BinomFamily(13, 0.2))
precision of centering: 0
@@ -1608,7 +1610,7 @@
[,1]
[1,] 0.000
maximum deviation
- 3.091672e-18
+ 2.220446e-16
>
> IC4 <- makeIC(sin, B)
> checkIC(IC4)
@@ -1646,7 +1648,7 @@
[,1]
[1,] 0.000
maximum deviation
- 2.565774e-17
+ 2.370713e-17
>
> ## don't run to reduce check time on CRAN
>
@@ -1673,13 +1675,13 @@
[1] "EuclideanNorm"
Slot "fct":
-function(x){
- if(is.vector(x))
+function (x)
+{
+ if (is.vector(x))
return(abs(x))
- else
- return(sqrt(colSums(x^2)))
+ else return(sqrt(colSums(x^2)))
}
-<bytecode: 0x0000000016d3de48>
+<bytecode: 0x000001f20a677df8>
<environment: namespace:distrMod>
>
@@ -1870,7 +1872,7 @@
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
-Time elapsed: 16.27 0.55 16.98 NA NA
+Time elapsed: 28.5 1.04 30.8 NA NA
> grDevices::dev.off()
null device
1
More information about the Robast-commits
mailing list