RcppCCTZ uses Rcpp to bring CCTZ to R. CCTZ is a C++ library for translating between absolute and civil times using the rules of a time zone. In fact, it is two libraries. One for dealing with civil time: human-readable dates and times, and one for converting between between absolute and civil times via time zones. The RcppCCTZ page has a few usage examples and details.
This version ensures that we set the
TZDIR environment variable correctly on the old dreaded OS that does not come with proper timezone information---an issue which had come up while preparing the next (and awesome, trust me) release of nanotime. It also appears that I failed to blog about 0.2.2, another maintenance release, so changes for both are summarised next.
Changes in version 0.2.3 (2017-06-19)
On Windows, the
TZDIRenvironment variable is now set in
init.cwith registration code inside of
RcppExports.cppthanks to Rcpp 0.12.11.
Changes in version 0.2.2 (2017-04-20)
Synchronized with upstream CCTZ
time_pointobject is instantiated explicitly for nanosecond use which appears to be required on macOS