No longer set compilation standard as recent R version set a sufficiently high minimum
Qualify a call to cctz::format
(Michael Quinn in #44)
Routine updates to continuous integration and badges
Switch to Authors@R in DESCRIPTION
Support NA values in numerical or character input
GitHub Actions were updated to checkout version 3.
More specific includes in RcppCCTZ_API.h (Jing Lu in #42 closing #41).
Synchronized with upstream CCTZ (Dirk in #43).
Switch CI use to r-ci
Applied patch by Tomas Kalibera for Windows UCRT under the upcoming R 4.2.0 expected for April.
Provide a header RcppCCZT_API.h
for client packages.
Show a simple example of parsing a YYYYMMDD HHMMSS.FFFFFF date.
Added three new nothrow
variants (needed for win32) needed
by the expanded nanotime package (Leonardo in #37)
Added functions _RcppCCTZ_convertToCivilSecond
that
converts a time point to the number of seconds since epoch, and
_RcppCCTZ_convertToTimePoint
that converts a number of seconds
since epoch into a time point; these functions are only callable
from C level (Leonardo in #34 and #35).
Added function _RcppCCTZ_getOffset
that returns the offset
at a speficied time-point for a specified timezone; this function is
only callable from C level (Leonardo in #32).
Synchronized with upstream CCTZ release 2.3 plus commits accrued since then (Dirk in #30).
The package now uses tinytest for unit tests (Dirk in #31).
Parsing to Datetime
was corrected on systems that do
not have nanosecond support in C++11 chrono (#28).
DatetimeVector
objects are now created with their
timezone attribute when available.
The toTz
functions is now vectorized (#29).
More unit tests were added, and some conditioning on Solaris (mostly due to missing timezone info) was removed.
An unused main()
in src/time_tool.cc
was
#ifdef
'ed away to please another compiler/OS combination.
The tzDiff
function now supports a vector argument
(#24).
An unnecessary #include
was 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.
On Windows, the TZDIR
environment variable is now set
in .onLoad()
Replaced init.c
with registration code inside of
RcppExports.cpp
thanks to Rcpp 0.12.11.
Synchronized with upstream CCTZ
The time_point
object is instantiated explicitly for
nanosecond use which appears to be required on macOS
Conversion from timepoint to two double
values now
rounds correctly (#14 closing #12, with thanks to
Leonardo)
The Description was expanded to stress the need for a modern C++11 compiler; g++-4.8 (as on 'trusty' eg in Travis CI) works
Travis CI is now driven via run.sh
from our fork
Windows compilation was enabled by defining OFFSET()
and
ABBR()
for MinGW (#10 partially addressing #9)
Windows use completed with backport of std::get_time
from LLVM's libc++ to enable strptime
semantics (Dan Dillon
in #11 completing #9)
Timezone information on Windows is supplied via R's own copy
of zoneinfo with TZDIR
set (also #10)
The interface to formatDouble
was cleaned up
Synchronized with CCTZ
upstream.
New parsing and formating helpers for Datetime vectors
New parsing and formating helpers for (two) double
vectors representing full std::chrono
nanosecond resolutions
Updated documentation and examples.
New utility example functions toTz()
and tzDiff
Synchronized with small upstream change for additional
#ifdef
for compiler differentiation
Synchronized with CCTZ
v2 upstream.
Updated examples.cpp
accordingly
Synchronized with CCTZ
upstream.
Additional #ifdef
statements suggested by Bradley White
in CCTZ
ticket #5 permitting compilation on Solaris – with thanks
to Jeroen for testing our branch.
Initial CRAN upload.
Package is functional and provides examples.