pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/finance/R-fBasics
Module Name: pkgsrc
Committed By: mef
Date: Sat Jan 4 22:28:30 UTC 2025
Modified Files:
pkgsrc/finance/R-fBasics: Makefile distinfo
Log Message:
(finance/R-fBasics) Updated from 3042.89 to 4041.97, make test passed
# fBasics 4041.97
- fixed the missing package qualifier in a link to another ackage.
# fBasics 4032.96
- modified `interactivePlot` to allow also functions in argument
`plotFun`. Previously `plotFun` had to be a character vector containing the
names of the functions. Adjusted the documentation and added an example to
this effect.
- function `.distCheck` is defunct, use `distCheck` instead. To allow
compatibility with older versions of packages that import fBasics (fGarch,
fExtremes), `.distCheck` is exported but new code should not use it.
- removed generic `.print`, its 'ssd' method, and the S3 registration for the
latter, all unused.
- clarified in the documentation for `histPlot`, `densityPlot` and
`logDensityPlot` that argument `x` must be from class "timeSeries" (each of
them starts with `stopifnot(is.timeSeries(x))`). Previously it was stated that
argument `x` can be of any class that can be converted to "timeSeries" with
`as.timeSeries`.
- contrary to the documentation, the return values from the \code{p/d/q/r*}
functions (such as `dhyp`, `phyp`, `qhyp`) for the generalised distributions
do not contain attribute \code{"param"}. This is now documented correctly.
- removed attribute 'control' from the return value of `rhyp` and similar
functions. It was undocumented (or rather, the documentation stated that it is
called "param"; in any case, wouldn't be usable in code).
- argument 'alpha' of `dhyp`, `phyp`, `qhyp` and `rhyp` can now be also a
vector of length 4 containing the four parameters.
- `hypMode` now throws error if argument 'pm' doesn't have one of the allowed
values.
- the return values of `*Mean()`, `*Var()`, `*Skew()`, `*Kurt()`, `*Moments()`,
where '*' is a distribution prefix (such as 'gh' or 'ght'), are now all named.
Previously, only some of them were.
- removed a number of inconsistencies in the documentation.
# fBasics 4031.95
- now `characterTable` doesn't try to print/plot invalid non-ASCII UTF8
characters (fixes CRAN issue from around 2023-10-06).
- `symbolTable` now plots more characters and issues warnings only for
characters in `26:31` which are ignored according to `?points` but are
actually plotted.
- now using default R Random generators in tests, since the old ones were
causing numerous warnings from tests.
- removed deprecated function `listDescription`, use `utils::packageDescription`
instead.
- fixed a bug in `histPlot`, causing a puzzling error when argument
`fit = FALSE`.
# fBasics 4022.94
- `dagotest()` was returning NaN for the value of the test statistic based on
kurtosis when the argument of a cube root was negative. Reported by Cameron
Willden who suggested the fix.
- the name of the first column of dataset `msft.dat` is not mangled any more (it
was "X.Y..m..d" and now is "%Y-%m-%d", as in the input file), the rest of the
dataset is as before. The file from which the dataset is created is now taken
from an identical file in package `timeSeries`.
- the `show` methods for classes `fHTEST` and `fDISTFIT` no longer print
'Description:' when slot `description = ""`.
- many fitting functions, e.g., `nFit`, were inadvertently ignoring argument
`description` by using `description = description()` instead of
`description = description` in the call to `new` when creating the return
value.
- `correlationTest`, `pearsonTest`, `spearmanTest`, `kendallTest`, `ks2Test`,
`scaleTest`, `varianceTest`, and `locationTest` now set slot `description` of
the result to `""` by default. Previously they were setting it to the current
date/time, with the consequence that the functions gave different objects at
each run. Use `description = date()` in the call if you want the
date. Similarly for `ksnormTest`, `shapiroTest`, `jarqueberaTest`, `dagoTest`,
`normalTest`, `adTest`, `cvmTest`, `lillieTest`, `pchiTest`, `sfTest`,
`jbTest`, `nFit`, `tFit`, `stableFit`, and many others, which had default
setting `description = description()`.
# fBasics 4021.93
- fixed CRAN warnings about a function declaration without a prototype, which is
deprecated by modern C compilers.
- further updates and improvements to the documentation.
- website built with `pkgdown` is now linked to in file `DESCRIPTION`.
# fBasics 4021.92
- new maintainer: Georgi N. Boshnakov.
- in DESCRIPTION, moved `timeDate` and `timeSeries` from `Depends:` to
`Imports:`. This necessitated changes in the examples and unit tests to get
them run smoothly. The implications for end users and developers are discussed
in separate sections below.
- in NAMESPACE, now export selectively rather than with a generic pattern. No
longer export symbols starting with a dot. Reexported some functions that can
reasonably be expected when `fBasics` is attached (the list of such functions
can be adjusted).
- tidied up the documentation somewhat. There is now a `_pkgdown` file with the
functions in the package organised by topic. Run `pkgdown::build_site()` on
the source directory (or unpacked tarball) to build the site locally.
- removed `.HedgeFund1` and `.HedgeFund2` - they were just used to build the
dataset `HedgeFund`.
## Notes for users
The changes are aimed at making the package easier to manage and reduce the side
effects for users from attaching it.
- Since packages `timeDate` and `timeSeries` are no longer attached by
`library(fBasics)`, users may need to attach them explicitly, if they use
functions from them directly. That said, some functions from `timeDate` and
`timeSeries` are reexported by `fBasics`, so most users may not even notice
any change.
- Undocumented functions (mostly starting with a dot, '.') are no longer
exported. If you believe that a non-exported and undocumented function should
be exported, please open a bug report, giving your reasons.
## Notes for developers
The notes for users apply to developers, as well. In addition:
- We continue to export some (undocumented) functions starting with a '.' to
avoid breaking packages that import `fBasics`. Please consider using
documented equivalents, if possible. Alternatively, let us know that they are
useful, so that we can document them.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/finance/R-fBasics/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/finance/R-fBasics/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/finance/R-fBasics/Makefile
diff -u pkgsrc/finance/R-fBasics/Makefile:1.4 pkgsrc/finance/R-fBasics/Makefile:1.5
--- pkgsrc/finance/R-fBasics/Makefile:1.4 Thu Aug 8 19:53:41 2019
+++ pkgsrc/finance/R-fBasics/Makefile Sat Jan 4 22:28:30 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2019/08/08 19:53:41 brook Exp $
+# $NetBSD: Makefile,v 1.5 2025/01/04 22:28:30 mef Exp $
R_PKGNAME= fBasics
-R_PKGVER= 3042.89
+R_PKGVER= 4041.97
CATEGORIES= finance
MAINTAINER= minskim%NetBSD.org@localhost
@@ -13,6 +13,15 @@ DEPENDS+= R-gss>=2.1.7:../../math/R-gss
DEPENDS+= R-stabledist>=0.7.1:../../math/R-stabledist
DEPENDS+= R-timeDate>=3042.101:../../time/R-timeDate
+TEST_DEPENDS+= R-interp-[0-9]*:../../graphics/R-interp
+TEST_DEPENDS+= R-RUnit-[0-9]*:../../devel/R-RUnit
+
+TEST_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
+TEST_DEPENDS+= tex-inconsolata-[0-9]*:../../fonts/tex-inconsolata
+TEST_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
+TEST_DEPENDS+= tex-url-[0-9]*:../../print/tex-url
+TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
+
USE_LANGUAGES= c fortran
.include "../../math/R/Makefile.extension"
Index: pkgsrc/finance/R-fBasics/distinfo
diff -u pkgsrc/finance/R-fBasics/distinfo:1.3 pkgsrc/finance/R-fBasics/distinfo:1.4
--- pkgsrc/finance/R-fBasics/distinfo:1.3 Tue Oct 26 10:26:00 2021
+++ pkgsrc/finance/R-fBasics/distinfo Sat Jan 4 22:28:30 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:26:00 nia Exp $
+$NetBSD: distinfo,v 1.4 2025/01/04 22:28:30 mef Exp $
-BLAKE2s (R/fBasics_3042.89.tar.gz) = 22bc2fa298829ae3b05c0e6b23341bc1fd146dfccdd522574d5f3c6aaf4cbb44
-SHA512 (R/fBasics_3042.89.tar.gz) = f6bbb62c5171254c22a27fccefcb29e006d40f977f712af3dad3ff3c01dfc9ec2326c28459c7bab19232bad515963fd4942f9f40cee5f063749f0442ca17452c
-Size (R/fBasics_3042.89.tar.gz) = 929797 bytes
+BLAKE2s (R/fBasics_4041.97.tar.gz) = bf737d7d9259a730fec32e989e584cae10eb39d1139db79306eb7e74e661078b
+SHA512 (R/fBasics_4041.97.tar.gz) = e4d274d8206ad551d5606599a37f4b64d4625dc74e5a405ec05be3e0483bef4043f5d9288b0530b95c1a49add53981ad45873818186158b5a7e7b5784d11cc5a
+Size (R/fBasics_4041.97.tar.gz) = 938905 bytes
Home |
Main Index |
Thread Index |
Old Index