Thursday, October 10, 2019

microbenchmark_1.4-7 on CRAN

I pushed an updated microbenchmark to CRAN a couple weeks ago. There were two noteworthy changes, thanks to great contributions from @MichaelChirico and @harvey131.

Michael fixed a bug in the check for whether the unit argument was a character string (#9, #10). The prior behavior was an uninformative error.

Harvey added a feature to allow you to use a string for common checks: "equal", "identical", and "equivalent" (#16). So you don't need to create a custom function to use all.equal(), all.equal(..., check.attributes = FALSE), and identical, respectively.

I also converted the unit tests to use RUnit. I also made some changes to the repo, including adding a contributing guide and issue/pull-request templates.

Monday, March 25, 2019

quantmod_0.4-14 on CRAN

I just pushed a new release of quantmod to CRAN! I'm most excited about the update to getSymbols() so it doesn't throw an error and stop processing if there's a problem with one ticker symbol. Now getSymbols() will import all the data it can, and provide an informative error message for any ticker symbols it could not import.

Another cool feature is that getQuote() can now import quotes from Tiingo. But don't thank me; thank Ethan Smith for the feature request [#247] and pull request [#250].

There are also several bug fixes in this release.  The most noticeable are fixes to getDividends()  and getSplits()Yahoo! Finance continues to have stability issues. Now it returns raw dividends instead of split-adjusted dividends (thanks to Douglas Barnard for the report [#253]), and the actual split adjustment ratio instead of the inverse (e.g. now 1/2 instead of 2/1).  I suggest using a different data provider. See my post: Yahoo! Finance Alternatives for some suggestions.

See the news file for the other bug fixes. Please let me know what you think about these changes.  I need your feedback and input to make quantmod even better!