Commit 55e21506 authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

Import Upstream version 0.10-15

parent f32e7572
2008-05-08 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
* DESCRIPTION (Version): New versino is 0.10-15.
* R/finance.R (get.hist.quote): Improve determining when OANDA
provides no data (spotted by Ajay Shah <ajayshah@mayin.org>).
2008-02-26 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
* DESCRIPTION (Version): New version is 0.10-14.
......
Package: tseries
Version: 0.10-14
Date: 2008-02-22
Version: 0.10-15
Date: 2008-05-08
Title: Time series analysis and computational finance
Author: Compiled by Adrian Trapletti <a.trapletti@swissonline.ch>
Maintainer: Kurt Hornik <Kurt.Hornik@R-project.org>
......@@ -9,4 +9,4 @@ Depends: R (>= 2.4.0), quadprog, stats, zoo
Suggests: its
Imports: graphics, stats, utils
License: GPL-2
Packaged: Tue Feb 26 12:12:16 2008; hornik
Packaged: Thu May 8 13:41:16 2008; hornik
......@@ -284,7 +284,7 @@ function (instrument = "^gdax", start, end,
## line of its own ...
first <- grep("<PRE>", x, fixed = TRUE)
last <- grep("</PRE>", x, fixed = TRUE) - 1
if((length(first) != 1) || (length(last) != 1)) {
if((length(first) != 1) || (length(last) != 1) || (last < first)) {
stop(paste("no data available for", instrument))
}
......
citHeader("To cite in publications use:")
meta <- packageDescription("tseries")
## R >= 2.8.0 passes package metadata to citation().
if(!exists("meta") || is.null(meta)) meta <- packageDescription("tseries")
year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s.", meta$Version)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment