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. And while CCTZ is made by Google(rs), it is not an official Google product. The RcppCCTZ page has a few usage examples and details. This package was the first CRAN package to use CCTZ; by now at least two others do—but decided in their infinite wisdom to copy the sources yet again into their packages. Sigh.
This version updates to the current upstream, makes the internal tests a bit more rigorous (and skips them on the OS we shall not name as it does not seem to have proper zoneinfo available or installed). One function was properly vectorised in a clean PR, and a spurious
#include was removed.
Changes in version 0.2.4 (2018-10-06)
#ifdef'ed away to please another compiler/OS combination.
tzDifffunction now supports a vector argument (#24).
#includewas removed (#25).
Some tests are not conditioning on Solaris to not fail there (#26).
The CCTZ code was updated to the newest upstream version (#27).
Unit tests now use the RUnit package replacing a simpler tests script.