[Distr-commits] r1485 - in pkg/distr: . inst man tests/Examples

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jan 11 21:26:36 CET 2025


Author: ruckdeschel
Date: 2025-01-11 21:26:36 +0100 (Sat, 11 Jan 2025)
New Revision: 1485

Modified:
   pkg/distr/DESCRIPTION
   pkg/distr/inst/NEWS
   pkg/distr/man/0distr-package.Rd
   pkg/distr/tests/Examples/distr-Ex.Rout.save
Log:
[distr] prepared version 2.9.7 for submission to CRAN

Modified: pkg/distr/DESCRIPTION
===================================================================
--- pkg/distr/DESCRIPTION	2025-01-11 20:24:21 UTC (rev 1484)
+++ pkg/distr/DESCRIPTION	2025-01-11 20:26:36 UTC (rev 1485)
@@ -1,6 +1,6 @@
 Package: distr
-Version: 2.9.6
-Date: 2024-11-05
+Version: 2.9.7
+Date: 2025-01-11
 Title: Object Oriented Implementation of Distributions
 Description: S4-classes and methods for distributions.
 Authors at R: c(person("Florian", "Camphausen", role="ctb", comment="contributed as student in
@@ -10,7 +10,7 @@
             role="ctb", comment="contributed as student in the initial phase --2005"),
             person("R Core Team", role = c("ctb", "cph"), comment="for source file ks.c/
             routines 'pKS2' and 'pKolmogorov2x'"))
-Depends: R(>= 3.4), methods, graphics, startupmsg, sfsmisc
+Depends: R(>= 3.4), methods, graphics, startupmsg(>= 1.0.0), sfsmisc
 Suggests: distrEx, svUnit (>= 0.7-11), knitr, distrMod, ROptEst
 Imports: stats, grDevices, utils, MASS
 Enhances: RobAStBase
@@ -21,4 +21,4 @@
 URL: http://distr.r-forge.r-project.org/
 LastChangedDate: {$LastChangedDate$}
 LastChangedRevision: {$LastChangedRevision$}
-VCS/SVNRevision: 1481
+VCS/SVNRevision: 1482

Modified: pkg/distr/inst/NEWS
===================================================================
--- pkg/distr/inst/NEWS	2025-01-11 20:24:21 UTC (rev 1484)
+++ pkg/distr/inst/NEWS	2025-01-11 20:26:36 UTC (rev 1485)
@@ -8,9 +8,15 @@
  information)
  
 ##############
-v 2.9.6
+v 2.9.7 
 ##############
 under the hood:
++ adapted reference output for new startupmsg
+
+##############
+v 2.9.6 (not submitted to CRAN)
+##############
+under the hood:
 + fixed some (LaTeX-)encoding issue
 
 ##############

Modified: pkg/distr/man/0distr-package.Rd
===================================================================
--- pkg/distr/man/0distr-package.Rd	2025-01-11 20:24:21 UTC (rev 1484)
+++ pkg/distr/man/0distr-package.Rd	2025-01-11 20:26:36 UTC (rev 1485)
@@ -44,15 +44,15 @@
 \details{
 \tabular{ll}{
 Package: \tab distr \cr
-Version: \tab 2.9.6 \cr
-Date: \tab 2024-11-05 \cr
-Depends: \tab R(>= 3.4), methods, graphics, startupmsg, sfsmisc \cr
+Version: \tab 2.9.7 \cr
+Date: \tab 2025-01-11 \cr
+Depends: \tab R(>= 3.4), methods, graphics, startupmsg (>=1.0.0), sfsmisc \cr
 Suggests: \tab distrEx, svUnit (>= 0.7-11), knitr, distrMod, ROptEst \cr
 Imports: \tab stats, grDevices, utils, MASS \cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab https://distr.r-forge.r-project.org/\cr
-VCS/SVNRevision: \tab 1481 \cr
+VCS/SVNRevision: \tab 1482 \cr
 }}
 \section{Classes}{
 Distribution classes have a slot \code{param} the class of which

Modified: pkg/distr/tests/Examples/distr-Ex.Rout.save
===================================================================
--- pkg/distr/tests/Examples/distr-Ex.Rout.save	2025-01-11 20:24:21 UTC (rev 1484)
+++ pkg/distr/tests/Examples/distr-Ex.Rout.save	2025-01-11 20:26:36 UTC (rev 1485)
@@ -1,6 +1,6 @@
 
-R Under development (unstable) (2024-08-17 r87027 ucrt) -- "Unsuffered Consequences"
-Copyright (C) 2024 The R Foundation for Statistical Computing
+R Under development (unstable) (2025-01-10 r87562 ucrt) -- "Unsuffered Consequences"
+Copyright (C) 2025 The R Foundation for Statistical Computing
 Platform: x86_64-w64-mingw32/x64
 
 R is free software and comes with ABSOLUTELY NO WARRANTY.
@@ -23,32 +23,29 @@
 > options(pager = "console")
 > library('distr')
 Loading required package: startupmsg
-:startupmsg>  Utilities for Start-Up Messages (version 0.9.7)
+:startupmsg>  *** Utilities for Start-Up Messages ***
 :startupmsg> 
-:startupmsg>  For more information see ?"startupmsg",
-:startupmsg>  NEWS("startupmsg")
-
+:startupmsg>  Version information in start-up messages is
+:startupmsg>  currently suppressed. To see such information on
+:startupmsg>  startup as in versions of this pkg prior to this
+:startupmsg>  versionr, set option "StartupBanner" to a value
+:startupmsg>  different to {"off", "no-version", "no -
+:startupmsg>  version"}, e.g., by options("StartupBanner" =
+:startupmsg>  "complete") or by options("StartupBanner" = NULL)
+:startupmsg>  or by options("StartupBanner" = "something else").
+:startupmsg> 
+:startupmsg>  Detailed information about which packages are
+:startupmsg>  currently loaded or attached at which version
+:startupmsg>  (regardless of whether these have start-up
+:startupmsg>  messages managed by this package) can be obtained
+:startupmsg>  by "sessionInfo()".
+:startupmsg> 
+:startupmsg> 
 Loading required package: sfsmisc
-:distr>  Object Oriented Implementation of Distributions (version
-:distr>  2.9.6)
+:distr>  *** Object Oriented Implementation of Distributions ***
 :distr> 
-:distr>  Attention: Arithmetics on distribution objects are
-:distr>  understood as operations on corresponding random variables
-:distr>  (r.v.s); see distrARITH().
 :distr> 
-:distr>  Some functions from package 'stats' are intentionally masked
-:distr>  ---see distrMASK().
-:distr> 
-:distr>  Note that global options are controlled by distroptions()
-:distr>  ---c.f. ?"distroptions".
-:distr> 
-:distr>  For more information see ?"distr", NEWS("distr"), as well as
-:distr>    http://distr.r-forge.r-project.org/
-:distr>  Package "distrDoc" provides a vignette to this package as
-:distr>  well as to several extension packages; try
-:distr>  vignette("distr").
 
-
 Attaching package: 'distr'
 
 The following objects are masked from 'package:stats':
@@ -2016,8 +2013,8 @@
                           d0 <-    log(df1(x))-log(stand)
                      else d0 <- df1(x) / stand
                      return (d0)}
-<bytecode: 0x000002453f54a140>
-<environment: 0x0000024542e328b8>
+<bytecode: 0x000001789f195268>
+<environment: 0x000001789d19fc08>
 
 $pfun
 function (q, lower.tail = TRUE, log.p = FALSE) 
@@ -2032,7 +2029,7 @@
     else p0/nm
     return(p0)
 }
-<environment: 0x000002453ed26e80>
+<environment: 0x000001789c106d60>
 
 $qfun
 function (p, lower.tail = TRUE, log.p = FALSE) 
@@ -2050,7 +2047,7 @@
     else q.l0(1 - p01)
     return(as.numeric(q0))
 }
-<environment: 0x000002453d54fda0>
+<environment: 0x000001789bfb67b0>
 
 > ## IGNORE_RDIFF_END
 > rp2 <- function(n){rpois(n, lambda = 1)^2}
@@ -2091,8 +2088,8 @@
                           d0 <-    log(df1(x))-log(stand)
                      else d0 <- df1(x) / stand
                      return (d0)}
-<bytecode: 0x000002453f54a140>
-<environment: 0x00000245421bfb20>
+<bytecode: 0x000001789f195268>
+<environment: 0x00000178a4097e70>
 
 $pfun
 function (q, lower.tail = TRUE, log.p = FALSE) 
@@ -2107,7 +2104,7 @@
     else p0/nm
     return(p0)
 }
-<environment: 0x000002453f8677b8>
+<environment: 0x00000178a37bdea8>
 
 $qfun
 function (p, lower.tail = TRUE, log.p = FALSE) 
@@ -2125,7 +2122,7 @@
     else q.l0(1 - p01)
     return(as.numeric(q0))
 }
-<environment: 0x000002454402d548>
+<environment: 0x00000178a3778c78>
 
 > ## IGNORE_RDIFF_END
 > rp2 <- function(n){rpois(n, lambda = 1)^2}
@@ -3814,13 +3811,13 @@
 > ## IGNORE_RDIFF_BEGIN
 > system.time(r(F)(10^6))
    user  system elapsed 
-   0.37    0.00    0.39 
+   0.25    0.00    0.23 
 > ## IGNORE_RDIFF_END
 > simplifyr(F, size = 10^6)
 > ## IGNORE_RDIFF_BEGIN
 > system.time(r(F)(10^6))
    user  system elapsed 
-   0.11    0.00    0.11 
+   0.06    0.00    0.07 
 > ## IGNORE_RDIFF_END
 > 
 > 
@@ -3857,7 +3854,7 @@
 > cleanEx()
 > options(digits = 7L)
 > base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
-Time elapsed:  27.81 2.26 30.89 NA NA 
+Time elapsed:  18.86 1.75 22.03 NA NA 
 > grDevices::dev.off()
 pdf 
  19 



More information about the Distr-commits mailing list