[Distr-commits] r1458 - in branches/distr-2.9/pkg/distr: . inst man tests/Examples
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Aug 29 18:21:37 CEST 2024
Author: ruckdeschel
Date: 2024-08-29 18:21:37 +0200 (Thu, 29 Aug 2024)
New Revision: 1458
Modified:
branches/distr-2.9/pkg/distr/DESCRIPTION
branches/distr-2.9/pkg/distr/inst/NEWS
branches/distr-2.9/pkg/distr/man/0distr-package.Rd
branches/distr-2.9/pkg/distr/man/distrARITH.Rd
branches/distr-2.9/pkg/distr/man/distrMASK.Rd
branches/distr-2.9/pkg/distr/tests/Examples/distr-Ex.Rout.save
Log:
[distr] ported changes from trunk to devel branch distr-2.9
Modified: branches/distr-2.9/pkg/distr/DESCRIPTION
===================================================================
--- branches/distr-2.9/pkg/distr/DESCRIPTION 2024-08-29 16:17:57 UTC (rev 1457)
+++ branches/distr-2.9/pkg/distr/DESCRIPTION 2024-08-29 16:21:37 UTC (rev 1458)
@@ -1,5 +1,5 @@
Package: distr
-Version: 2.9.5
+Version: 2.9.6
Date: 2024-01-28
Title: Object Oriented Implementation of Distributions
Description: S4-classes and methods for distributions as described in
Modified: branches/distr-2.9/pkg/distr/inst/NEWS
===================================================================
--- branches/distr-2.9/pkg/distr/inst/NEWS 2024-08-29 16:17:57 UTC (rev 1457)
+++ branches/distr-2.9/pkg/distr/inst/NEWS 2024-08-29 16:21:37 UTC (rev 1458)
@@ -8,6 +8,15 @@
information)
##############
+v 2.9.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
+
+##############
v 2.9.4
##############
Modified: branches/distr-2.9/pkg/distr/man/0distr-package.Rd
===================================================================
--- branches/distr-2.9/pkg/distr/man/0distr-package.Rd 2024-08-29 16:17:57 UTC (rev 1457)
+++ branches/distr-2.9/pkg/distr/man/0distr-package.Rd 2024-08-29 16:21:37 UTC (rev 1458)
@@ -44,8 +44,8 @@
\details{
\tabular{ll}{
Package: \tab distr \cr
-Version: \tab 2.9.3 \cr
-Date: \tab 2022-11-14 \cr
+Version: \tab 2.9.6 \cr
+Date: \tab 2024-08-29 \cr
Depends: \tab R(>= 3.4), methods, graphics, startupmsg, sfsmisc \cr
Suggests: \tab distrEx, svUnit (>= 0.7-11), knitr, distrMod, ROptEst \cr
Imports: \tab stats, grDevices, utils, MASS \cr
@@ -52,7 +52,7 @@
LazyLoad: \tab yes \cr
License: \tab LGPL-3 \cr
URL: \tab https://r-forge.r-project.org/projects/distr/\cr
-VCS/SVNRevision: \tab 1395 \cr
+VCS/SVNRevision: \tab 1454 \cr
}}
\section{Classes}{
Distribution classes have a slot \code{param} the class of which
Modified: branches/distr-2.9/pkg/distr/man/distrARITH.Rd
===================================================================
--- branches/distr-2.9/pkg/distr/man/distrARITH.Rd 2024-08-29 16:17:57 UTC (rev 1457)
+++ branches/distr-2.9/pkg/distr/man/distrARITH.Rd 2024-08-29 16:21:37 UTC (rev 1458)
@@ -18,7 +18,9 @@
\author{Peter Ruckdeschel \email{peter.ruckdeschel at uni-oldenburg.de}}
\examples{
+## IGNORE_RDIFF_BEGIN
distrARITH()
+## IGNORE_RDIFF_END
}
\keyword{math}
\keyword{distribution}
Modified: branches/distr-2.9/pkg/distr/man/distrMASK.Rd
===================================================================
--- branches/distr-2.9/pkg/distr/man/distrMASK.Rd 2024-08-29 16:17:57 UTC (rev 1457)
+++ branches/distr-2.9/pkg/distr/man/distrMASK.Rd 2024-08-29 16:21:37 UTC (rev 1458)
@@ -18,7 +18,9 @@
\author{Peter Ruckdeschel \email{peter.ruckdeschel at uni-oldenburg.de}}
\examples{
+## IGNORE_RDIFF_BEGIN
distrMASK()
+## IGNORE_RDIFF_END
}
\keyword{programming}
\keyword{distribution}
Modified: branches/distr-2.9/pkg/distr/tests/Examples/distr-Ex.Rout.save
===================================================================
--- branches/distr-2.9/pkg/distr/tests/Examples/distr-Ex.Rout.save 2024-08-29 16:17:57 UTC (rev 1457)
+++ branches/distr-2.9/pkg/distr/tests/Examples/distr-Ex.Rout.save 2024-08-29 16:21:37 UTC (rev 1458)
@@ -23,7 +23,7 @@
> options(pager = "console")
> library('distr')
Loading required package: startupmsg
-:startupmsg> Utilities for Start-Up Messages (version 0.9.6.1)
+:startupmsg> Utilities for Start-Up Messages (version 0.9.7)
:startupmsg>
:startupmsg> For more information see ?"startupmsg",
:startupmsg> NEWS("startupmsg")
@@ -30,7 +30,7 @@
Loading required package: sfsmisc
:distr> Object Oriented Implementation of Distributions (version
-:distr> 2.9.4)
+:distr> 2.9.5)
:distr>
:distr> Attention: Arithmetics on distribution objects are
:distr> understood as operations on corresponding random variables
@@ -2016,8 +2016,8 @@
d0 <- log(df1(x))-log(stand)
else d0 <- df1(x) / stand
return (d0)}
-<bytecode: 0x000001bdc208d238>
-<environment: 0x000001bdc7984f28>
+<bytecode: 0x000002453f54a140>
+<environment: 0x0000024542e328b8>
$pfun
function (q, lower.tail = TRUE, log.p = FALSE)
@@ -2032,7 +2032,7 @@
else p0/nm
return(p0)
}
-<environment: 0x000001bdc2d8cbc8>
+<environment: 0x000002453ed26e80>
$qfun
function (p, lower.tail = TRUE, log.p = FALSE)
@@ -2050,7 +2050,7 @@
else q.l0(1 - p01)
return(as.numeric(q0))
}
-<environment: 0x000001bdc2d3a7f0>
+<environment: 0x000002453d54fda0>
> ## IGNORE_RDIFF_END
> rp2 <- function(n){rpois(n, lambda = 1)^2}
@@ -2091,8 +2091,8 @@
d0 <- log(df1(x))-log(stand)
else d0 <- df1(x) / stand
return (d0)}
-<bytecode: 0x000001bdc208d238>
-<environment: 0x000001bdc2b5ea18>
+<bytecode: 0x000002453f54a140>
+<environment: 0x00000245421bfb20>
$pfun
function (q, lower.tail = TRUE, log.p = FALSE)
@@ -2107,7 +2107,7 @@
else p0/nm
return(p0)
}
-<environment: 0x000001bdc283b2a8>
+<environment: 0x000002453f8677b8>
$qfun
function (p, lower.tail = TRUE, log.p = FALSE)
@@ -2125,7 +2125,7 @@
else q.l0(1 - p01)
return(as.numeric(q0))
}
-<environment: 0x000001bdc5d04b20>
+<environment: 0x000002454402d548>
> ## IGNORE_RDIFF_END
> rp2 <- function(n){rpois(n, lambda = 1)^2}
@@ -2795,6 +2795,7 @@
>
> ### ** Examples
>
+> ## IGNORE_RDIFF_BEGIN
> distrARITH()
######################################################################
# On arithmetics operating on distributions in package "distr"
@@ -2870,6 +2871,7 @@
stochastic estimates.
So don't be surprised if they will change from call to call.
+> ## IGNORE_RDIFF_END
>
>
>
@@ -2886,6 +2888,7 @@
>
> ### ** Examples
>
+> ## IGNORE_RDIFF_BEGIN
> distrMASK()
######################################################################
# On masking of and by other functions in package "distr"
@@ -2923,6 +2926,7 @@
*** non-intentional masking: ***
... nothing discovered so far ...
+> ## IGNORE_RDIFF_END
>
>
>
@@ -3810,13 +3814,13 @@
> ## IGNORE_RDIFF_BEGIN
> system.time(r(F)(10^6))
user system elapsed
- 0.30 0.01 0.31
+ 0.37 0.00 0.39
> ## IGNORE_RDIFF_END
> simplifyr(F, size = 10^6)
> ## IGNORE_RDIFF_BEGIN
> system.time(r(F)(10^6))
user system elapsed
- 0.10 0.02 0.10
+ 0.11 0.00 0.11
> ## IGNORE_RDIFF_END
>
>
@@ -3853,7 +3857,7 @@
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
-Time elapsed: 23.82 1.72 26 NA NA
+Time elapsed: 27.81 2.26 30.89 NA NA
> grDevices::dev.off()
pdf
19
More information about the Distr-commits
mailing list