diff --git a/ChangeLog b/ChangeLog index 67a23f6..cc44e93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-10-05 Dirk Eddelbuettel + + * DESCRIPTION (Version, Date): New release 0.3.14 + + * R/bdh.R (bdh): Replace a class() test with inherits() + 2022-10-04 Dirk Eddelbuettel * DESCRIPTION (Suggests): No longer suggest 'fts' diff --git a/DESCRIPTION b/DESCRIPTION index edeba55..b863728 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: Rblpapi Title: R Interface to 'Bloomberg' -Version: 0.3.13.2 -Date: 2022-10-04 +Version: 0.3.14 +Date: 2022-10-05 Maintainer: Dirk Eddelbuettel Author: Whit Armstrong, Dirk Eddelbuettel and John Laing Imports: Rcpp (>= 0.11.0), utils diff --git a/R/bdh.R b/R/bdh.R index 9818c6f..15211d4 100644 --- a/R/bdh.R +++ b/R/bdh.R @@ -95,7 +95,7 @@ bdh <- function(securities, fields, start.date, end.date=NULL, int.as.double=getOption("blpIntAsDouble", FALSE), simplify=getOption("blpSimplify", TRUE)) { match.arg(returnAs, c("data.frame", "xts", "zoo", "data.table")) - if (class(start.date) == "Date") { + if (inherits(start.date, "Date")) { start.date <- format(start.date, format="%Y%m%d") } if (!is.null(end.date)) { diff --git a/inst/NEWS.Rd b/inst/NEWS.Rd index b3f9d40..ea9f6ae 100644 --- a/inst/NEWS.Rd +++ b/inst/NEWS.Rd @@ -4,6 +4,21 @@ \newcommand{\ghpr}{\href{https://github.com/Rblp/Rblpapi/pull/#1}{##1}} \newcommand{\ghit}{\href{https://github.com/Rblp/Rblpapi/issues/#1}{##1}} +\section{Changes in Rblpapi version 0.3.14 (2022-10-05)}{ + \itemize{ + \item Build configuration was generalized to consider local copies + of library and headers (Dirk in \ghpr{362}) + \item A ticker symbol was corrected (Dirk in \ghpr{368} addressing + an issue \ghit{366} and \ghit{367}) + \item Support for B-PIPE was added (Robert Harlow in \ghpr{369} + closing \ghit{342}) + \item The package no longer requires staged installation thanks to + an assist from Tomas Kalibera (Dirk in \ghpr{373}) + \item The retired package \pkg{fts} is no longer suggested (Dirk in + \ghpr{374} closing \ghpr{372}) + } +} + \section{Changes in Rblpapi version 0.3.13 (2022-01-09)}{ \itemize{ \item Add a test for \code{bds} (Michael Kerber in \ghpr{352})