[Distr-commits] r1497 - in branches/distr-2.9/pkg/distrRmetrics: . inst tests/Examples

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jan 11 23:33:01 CET 2025


Author: ruckdeschel
Date: 2025-01-11 23:33:01 +0100 (Sat, 11 Jan 2025)
New Revision: 1497

Modified:
   branches/distr-2.9/pkg/distrRmetrics/DESCRIPTION
   branches/distr-2.9/pkg/distrRmetrics/inst/NEWS
   branches/distr-2.9/pkg/distrRmetrics/tests/Examples/distrRmetrics-Ex.Rout.save
Log:
[distrRmetrics] ported changes from v 2.8.2 to branch 2.9

Modified: branches/distr-2.9/pkg/distrRmetrics/DESCRIPTION
===================================================================
--- branches/distr-2.9/pkg/distrRmetrics/DESCRIPTION	2025-01-11 22:27:36 UTC (rev 1496)
+++ branches/distr-2.9/pkg/distrRmetrics/DESCRIPTION	2025-01-11 22:33:01 UTC (rev 1497)
@@ -6,7 +6,7 @@
             'fBasics' and 'fGarch'.
 Depends: R(>= 3.4), methods, distr(>= 2.8.0), fBasics(>= 270.73), fGarch(>= 270.73)
 Suggests: distrEx(>= 2.8.0), distrMod(>= 2.8.0)
-Imports: startupmsg
+Imports: startupmsg(>= 1.0.0)
 Authors at R: person("Peter", "Ruckdeschel", role=c("cre", "cph", "aut"),
             email="peter.ruckdeschel at uni-oldenburg.de", 
 			comment = c(ORCID = "0000-0001-7815-4809"))

Modified: branches/distr-2.9/pkg/distrRmetrics/inst/NEWS
===================================================================
--- branches/distr-2.9/pkg/distrRmetrics/inst/NEWS	2025-01-11 22:27:36 UTC (rev 1496)
+++ branches/distr-2.9/pkg/distrRmetrics/inst/NEWS	2025-01-11 22:33:01 UTC (rev 1497)
@@ -10,7 +10,14 @@
 ##############
 v 2.9
 ##############
+
+
+##############
+v 2.8.2
+##############
+
 under the hood:
++ adapted reference output for new startupmsg
 + converted encoding to UTF-8
 + transformed CITATION file to new format, i.e., bibentry() instead of citEntry(),
         c(as.person( .... ), as.person( .... ), ...), instead of 
@@ -17,6 +24,7 @@
 		as.personList(....) 
 
 
+
 ##############
 v 2.8
 ##############

Modified: branches/distr-2.9/pkg/distrRmetrics/tests/Examples/distrRmetrics-Ex.Rout.save
===================================================================
--- branches/distr-2.9/pkg/distrRmetrics/tests/Examples/distrRmetrics-Ex.Rout.save	2025-01-11 22:27:36 UTC (rev 1496)
+++ branches/distr-2.9/pkg/distrRmetrics/tests/Examples/distrRmetrics-Ex.Rout.save	2025-01-11 22:33:01 UTC (rev 1497)
@@ -1,7 +1,7 @@
 
-R version 3.5.1 RC (2018-06-24 r74935) -- "Feather Spray"
-Copyright (C) 2018 The R Foundation for Statistical Computing
-Platform: i386-w64-mingw32/i386 (32-bit)
+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.
 You are welcome to redistribute it under certain conditions.
@@ -21,47 +21,32 @@
 > source(file.path(R.home("share"), "R", "examples-header.R"))
 > options(warn = 1)
 > options(pager = "console")
-> base::assign(".ExTimings", "distrRmetrics-Ex.timings", pos = 'CheckExEnv')
-> base::cat("name\tuser\tsystem\telapsed\n", file=base::get(".ExTimings", pos = 'CheckExEnv'))
-> base::assign(".format_ptime",
-+ function(x) {
-+   if(!is.na(x[4L])) x[1L] <- x[1L] + x[4L]
-+   if(!is.na(x[5L])) x[2L] <- x[2L] + x[5L]
-+   options(OutDec = '.')
-+   format(x[1L:3L], digits = 7L)
-+ },
-+ pos = 'CheckExEnv')
-> 
-> ### * </HEADER>
 > library('distrRmetrics')
 Loading required package: distr
 Loading required package: startupmsg
-:startupmsg>  Utilities for Start-Up Messages (version 0.9.5)
+: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.8.0)
+: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':
@@ -69,20 +54,16 @@
     df, qqplot, sd
 
 Loading required package: fBasics
-Loading required package: timeDate
-Loading required package: timeSeries
 Loading required package: fGarch
-:distrRmetrics>  Distribution Classes for Distributions from
-:distrRmetrics>  Rmetrics (version 2.7.0)
+NOTE: Packages 'fBasics', 'timeDate', and 'timeSeries' are no longer
+attached to the search() path when 'fGarch' is attached.
+
+If needed attach them yourself in your R script by e.g.,
+        require("timeSeries")
+:distrRmetrics>  *** Distribution Classes for Distributions
+:distrRmetrics>  from Rmetrics ***
 :distrRmetrics> 
 :distrRmetrics> 
-:distrRmetrics>  For more information see ?"distrRmetrics",
-:distrRmetrics>  NEWS("distrRmetrics"), as well as
-:distrRmetrics>    http://distr.r-forge.r-project.org/
-:distrRmetrics>  Package "distrDoc" provides a vignette to
-:distrRmetrics>  this package as well as to several extension
-:distrRmetrics>  packages; try vignette("distr").
-
 > 
 > base::assign(".oldSearch", base::search(), pos = 'CheckExEnv')
 > base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv')
@@ -92,7 +73,6 @@
 > 
 > flush(stderr()); flush(stdout())
 > 
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
 > ### Name: SNorm-class
 > ### Title: SNorm distribution
 > ### Aliases: SNorm-class mean,SNorm-method mean<-,SNorm-method
@@ -124,8 +104,6 @@
 > 
 > 
 > 
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("SNorm-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
 > cleanEx()
 > nameEx("SNorm")
 > ### * SNorm
@@ -132,7 +110,6 @@
 > 
 > flush(stderr()); flush(stdout())
 > 
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
 > ### Name: SNorm
 > ### Title: Generating function for skewed normal class
 > ### Aliases: SNorm
@@ -149,8 +126,6 @@
 > 
 > 
 > 
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("SNorm", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
 > cleanEx()
 > nameEx("SNormParameter-class")
 > ### * SNormParameter-class
@@ -157,7 +132,6 @@
 > 
 > flush(stderr()); flush(stdout())
 > 
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
 > ### Name: SNormParameter-class
 > ### Title: Parameter of an SNorm distributions
 > ### Aliases: SNormParameter-class mean,SNormParameter-method
@@ -190,8 +164,6 @@
 > 
 > 
 > 
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("SNormParameter-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
 > cleanEx()
 > nameEx("SSTd-class")
 > ### * SSTd-class
@@ -198,7 +170,6 @@
 > 
 > flush(stderr()); flush(stdout())
 > 
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
 > ### Name: SSTd-class
 > ### Title: SSTd distribution
 > ### Aliases: SSTd-class mean,SSTd-method mean<-,SSTd-method nu nu-methods
@@ -232,8 +203,6 @@
 > 
 > 
 > 
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("SSTd-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
 > cleanEx()
 > nameEx("SSTd")
 > ### * SSTd
@@ -240,7 +209,6 @@
 > 
 > flush(stderr()); flush(stdout())
 > 
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
 > ### Name: SSTd
 > ### Title: Generating function for SSTd-class
 > ### Aliases: SSTd
@@ -258,8 +226,6 @@
 > 
 > 
 > 
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("SSTd", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
 > cleanEx()
 > nameEx("SSTdParameter-class")
 > ### * SSTdParameter-class
@@ -266,7 +232,6 @@
 > 
 > flush(stderr()); flush(stdout())
 > 
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
 > ### Name: SSTdParameter-class
 > ### Title: Parameter of an SSTd distributions
 > ### Aliases: SSTdParameter-class mean,SSTdParameter-method
@@ -305,8 +270,6 @@
 > 
 > 
 > 
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("SSTdParameter-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
 > cleanEx()
 > nameEx("STd")
 > ### * STd
@@ -313,7 +276,6 @@
 > 
 > flush(stderr()); flush(stdout())
 > 
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
 > ### Name: STd
 > ### Title: Generating function for standardized T distribution class
 > ### Aliases: STd
@@ -323,7 +285,7 @@
 > 
 > (ST <- STd(mean = 1, sd = 1, nu = 3))
 Distribution Object of Class: AffLinAbscontDistribution
-Warning in new("standardGeneric", .Data = function (object)  :
+Warning in (new("standardGeneric", .Data = function (object)  :
   arithmetics on distributions are understood as operations on r.v.'s
 see 'distrARITH()'; for switching off this warning see '?distroptions'
 > plot(ST)
@@ -330,14 +292,12 @@
 > 
 > 
 > 
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("STd", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
 > ### * <FOOTER>
 > ###
 > cleanEx()
 > options(digits = 7L)
 > base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
-Time elapsed:  2.39 0.2 2.61 NA NA 
+Time elapsed:  3.74 0.21 3.92 NA NA 
 > grDevices::dev.off()
 null device 
           1 



More information about the Distr-commits mailing list