RApiDatetime provides six entry points for C-level functions of the R API for
Datetime calculations. The functions
asPOSIXct convert between long and compact datetime representation,
Rstrptime convert to and from character strings, and
D2POSIXlt convert between
POSIXlt datetime. These six functions are all fairly essential and useful, but not one of them was previously exported by R.
I left two undefined variables in calls in the exported header file; this only become an issue once I actually tried accessing the API from another package as I am now doing in anytime.
Changes in RApiDatetime version 0.0.3 (2017-04-02)
Correct two simple copy-and-paste errors in
Also enable registration in
useDynLib, and explicitly export known and documented R access functions provided for testing