Skip to content

Commit e805720

Browse files
author
mef
committed
(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)
1 parent eb0e513 commit e805720

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

finance/R-TTR/Makefile

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# $NetBSD: Makefile,v 1.5 2022/05/29 00:46:45 wen Exp $
1+
# $NetBSD: Makefile,v 1.6 2025/01/04 13:49:52 mef Exp $
22

33
R_PKGNAME= TTR
4-
R_PKGVER= 0.24.3
4+
R_PKGVER= 0.24.4
55
CATEGORIES= finance
66

77
MAINTAINER= [email protected]
@@ -11,6 +11,15 @@ LICENSE= gnu-gpl-v2
1111
DEPENDS+= R-zoo>=1.8.6:../../math/R-zoo
1212
DEPENDS+= R-curl>=4.0:../../www/R-curl
1313

14+
TEST_DEPENDS+= R-RUnit-[0-9]*:../../devel/R-RUnit
15+
TEST_DEPENDS+= R-quantmod-[0-9]*:../../finance/R-quantmod
16+
17+
TEST_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
18+
TEST_DEPENDS+= tex-inconsolata-[0-9]*:../../fonts/tex-inconsolata
19+
TEST_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
20+
TEST_DEPENDS+= tex-url-[0-9]*:../../print/tex-url
21+
TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
22+
1423
USE_LANGUAGES= c fortran
1524

1625
.include "../../math/R/Makefile.extension"

finance/R-TTR/distinfo

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.5 2022/05/29 00:46:45 wen Exp $
1+
$NetBSD: distinfo,v 1.6 2025/01/04 13:49:52 mef Exp $
22

3-
BLAKE2s (R/TTR_0.24.3.tar.gz) = 37f09ddd28b2d8d3094fe9ad7ece26ec3d07a89abe6f922f83fff16273094fd4
4-
SHA512 (R/TTR_0.24.3.tar.gz) = 0911fa13164ed7883606ec7ca56e4cda43e2f1eb5c6ae6cb418606df6f9e55b78dcca1ba4717fdbce1006e313e25694935735029ed69e9cdfc060cf441fc207f
5-
Size (R/TTR_0.24.3.tar.gz) = 317338 bytes
3+
BLAKE2s (R/TTR_0.24.4.tar.gz) = 700d17e934b059a1a1b6abe854a7a1a301dfdc1541492fab0f9ccb52a2c116f3
4+
SHA512 (R/TTR_0.24.4.tar.gz) = 9018a79eaf8ecdb216443824b454fab35a37974ec4340d2b235a1616a16482c5560a8dfa881b7b88f8af89bd1d325f46ffd54cf81b81f97600969ef750b4a20b
5+
Size (R/TTR_0.24.4.tar.gz) = 318965 bytes

0 commit comments

Comments
 (0)