pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/finance/R-TTR



Module Name:    pkgsrc
Committed By:   mef
Date:           Sat Jan  4 13:49:52 UTC 2025

Modified Files:
        pkgsrc/finance/R-TTR: Makefile distinfo

Log Message:
(finance/R-TTR) Updated 0.24.3 to 0.24.4, make test passed

# Changes in 0.24.4

* Added Ethan B. Smith as a contributor. Thanks Ethan!

### NEW FEATURES

- Added a `TR()` function to calculate the true high, true low, and true
  range. Refactored `ATR()` to use the `TR()` function. Thanks to @openbmsjsc
  and Steve Bronder for the reports, and Ethan B. Smith for the PR.
  (#18, #114, #124)

### BUG FIXES

* Fix `stockSymbols()` for ticker "NA". `read.table()` converts the string "NA"
  to a missing value (NA) because `na.strings = "NA"` by default. This causes
  an issue because there's actually a company with "NA" for the ticker. (#128)

- `CTI()` did not pad its result with leading NA when the input was not
  coerced to an xts object. This was different from other TTR functions
  (e.g. `SMA()`, `RSI()`, `ROC()`). (#127)

- Removed the `VMA()` function, which was never correct because the
  results made no sense.

- Check that the `wma()` C function has enough non-NA values and throw
  an error if it doesn't. This could cause the `WMA()` function to crash
  the user's R session. (#126)

- `runMean(..., cumulative = TRUE)` didn't account for leading NA in the
  denominator. (#122)

- `runSD(x, cumulative = TRUE)` returned all NA when `x` had any leading
  NA. Thanks to Ethan B. Smith for the report. (#121)

- The `TRIX()` signal line did not use `nSig` unless `maType` was provided.
  Thanks to @SatoshiReport for the... report. (#120)

### MISCELLANEOUS

- Use symbols for native routine entry points to make them explicit and
  unable to be found accidentally. (#123)


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/finance/R-TTR/Makefile \
    pkgsrc/finance/R-TTR/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-TTR/Makefile
diff -u pkgsrc/finance/R-TTR/Makefile:1.5 pkgsrc/finance/R-TTR/Makefile:1.6
--- pkgsrc/finance/R-TTR/Makefile:1.5   Sun May 29 00:46:45 2022
+++ pkgsrc/finance/R-TTR/Makefile       Sat Jan  4 13:49:52 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/05/29 00:46:45 wen Exp $
+# $NetBSD: Makefile,v 1.6 2025/01/04 13:49:52 mef Exp $
 
 R_PKGNAME=     TTR
-R_PKGVER=      0.24.3
+R_PKGVER=      0.24.4
 CATEGORIES=    finance
 
 MAINTAINER=    minskim%NetBSD.org@localhost
@@ -11,6 +11,15 @@ LICENSE=     gnu-gpl-v2
 DEPENDS+=      R-zoo>=1.8.6:../../math/R-zoo
 DEPENDS+=      R-curl>=4.0:../../www/R-curl
 
+TEST_DEPENDS+= R-RUnit-[0-9]*:../../devel/R-RUnit
+TEST_DEPENDS+= R-quantmod-[0-9]*:../../finance/R-quantmod
+
+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-TTR/distinfo
diff -u pkgsrc/finance/R-TTR/distinfo:1.5 pkgsrc/finance/R-TTR/distinfo:1.6
--- pkgsrc/finance/R-TTR/distinfo:1.5   Sun May 29 00:46:45 2022
+++ pkgsrc/finance/R-TTR/distinfo       Sat Jan  4 13:49:52 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2022/05/29 00:46:45 wen Exp $
+$NetBSD: distinfo,v 1.6 2025/01/04 13:49:52 mef Exp $
 
-BLAKE2s (R/TTR_0.24.3.tar.gz) = 37f09ddd28b2d8d3094fe9ad7ece26ec3d07a89abe6f922f83fff16273094fd4
-SHA512 (R/TTR_0.24.3.tar.gz) = 0911fa13164ed7883606ec7ca56e4cda43e2f1eb5c6ae6cb418606df6f9e55b78dcca1ba4717fdbce1006e313e25694935735029ed69e9cdfc060cf441fc207f
-Size (R/TTR_0.24.3.tar.gz) = 317338 bytes
+BLAKE2s (R/TTR_0.24.4.tar.gz) = 700d17e934b059a1a1b6abe854a7a1a301dfdc1541492fab0f9ccb52a2c116f3
+SHA512 (R/TTR_0.24.4.tar.gz) = 9018a79eaf8ecdb216443824b454fab35a37974ec4340d2b235a1616a16482c5560a8dfa881b7b88f8af89bd1d325f46ffd54cf81b81f97600969ef750b4a20b
+Size (R/TTR_0.24.4.tar.gz) = 318965 bytes



Home | Main Index | Thread Index | Old Index