[This article was first published on Thinking inside the box
, and kindly contributed to R-bloggers
]. (You can report issue about the content on this page here
Want to share your content on R-bloggers? click here
if you have a blog, or here
if you don't.
anytime arrived on CRAN via release 0.0.1 a good two days ago. anytime aims to convert anything in integer, numeric, character, factor, ordered, … format to POSIXct (or Date) objects.
This new release 0.0.2 adds two new functions to gather conversion formats — and set new ones. It also fixed a minor build bug, and robustifies a conversion which was seen to be not quite right under some time zones.
NEWS file summarises the release:
Changes in Rcpp version 0.0.2 (2016-09-15)
Refactored to use a simple class wrapped around two vector with (string) formats and locales; this allow for adding formats; also adds accessor for formats (#4, closes #1 and #3).
Relaxed one tests which showed problems on some platforms.
as.POSIXlt() step to
anydate() ensuring all
POSIXlt components are set (#6 fixing #5).
Courtesy of CRANberries, there is a comparison to the previous release. More information is on the anytime page.
For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.