tzdb

R-CMD-check

tzdb is a developer focused R package with two purposes:

To use the C++ API supplied by tzdb:

Note that while tzdb/tz.h declares many functions and types, most of their implementations are not present in the header file. This means that the functions in tzdb/tz.h are not safe to call from your R package. Instead, the most critical helpers have been exposed in a safe way in tzdb/tzdb.h. Use these instead.

Installation

You can install the released version of tzdb from CRAN with:

install.packages("tzdb")

And the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("r-lib/tzdb")