A minor routine update 0.0.5 of gettz arrived on CRAN overnight.
gettz provides a possible fallback in situations where Sys.timezone()
fails to determine the system timezone. That happened when e.g. the file /etc/localtime
somehow is not a link into the corresponding file with zoneinfo data in, say, /usr/share/zoneinfo
. Since the package was written (in the fall of 2016), R added a similar extended heuristic approach itself.
This release updates a function signature to satisfy the more stringent tests by clang-15
, updates the GitHub Action checkout
code to suppress a nag, and changes a few remaining http documentation links to https. As with the previous releses: No functional changes, no new code, or new features.
Courtesy of my CRANberries, there is a comparison to the previous release.
More information is on the gettz page. For questions or comments use the issue tracker off the GitHub repo.
If you like this or other open-source work I do, you can now sponsor me at GitHub.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A minor routine update 0.0.4 of gettz arrived on CRAN overnight.
gettz provides a possible fallback in situations where Sys.timezone()
fails to determine the system timezone. That happened when e.g. the file /etc/localtime
somehow is not a link into the corresponding file with zoneinfo data in, say, /usr/share/zoneinfo
. Since the package was written (in the fall of 2016), R added a similar extended heuristic approach itself.
This release adds registration of the compiled routine via R_registerRoutines()
and R_useDynamicSymbols()
, adds .registration=TRUE
to useDynLib()
in NAMESPACE
, and uses an unquoted symbol in .Call()
. Two new badges were added to the README.md
as well. And as in the previous release in 2016: No new code, or new features.
Courtesy of CRANberries, there is a comparison to the previous release.
More information is on the gettz page. For questions or comments use the issue tracker off the GitHub repo.
If you like this or other open-source work I do, you can now sponsor me at GitHub. For the first year, GitHub will match your contributions.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A minor release 0.0.3 of gettz arrived on CRAN two days ago.
gettz provides a possible fallback in situations where Sys.timezone()
fails to determine the system timezone. That can happen when e.g. the file /etc/localtime
somehow is not a link into the corresponding file with zoneinfo data in, say, /usr/share/zoneinfo
.
This release adds a second #ifdef
to permit builds on Windows for the previous R release (ie r-oldrel-windows
). No new code, or new features.
Courtesy of CRANberries, there is a comparison to the previous release.
More information is on the gettz page. For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Release 0.0.2 of gettz is now on CRAN.
gettz provides a possible fallback in situations where Sys.timezone()
fails to determine the system timezone. That can happen when e.g. the file /etc/localtime
somehow is not a link into the corresponding file with zoneinfo data in, say, /usr/share/zoneinfo
.
Windows is now no longer excluded, though it doesn't do anything useful yet. The main use of the package is still for Linux.
For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
gettz is now on CRAN in its initial release 0.0.1.
It provides a possible fallback in situations where Sys.timezone()
fails to determine the system timezone. That can happen when e.g. the file /etc/localtime
somehow is not a link into the corresponding file with zoneinfo data in, say, /usr/share/zoneinfo
.
Duane McCully provided a nice StackOverflow answer with code that offers fallbacks via /etc/timezone
(on Debian/Ubuntu) or /etc/sysconfig/clock
(on RedHat/CentOS/Fedora, and rumour has it, BSD* systems) or /etc/TIMEZONE
(on Solaris). The gettz micro-package essentially encodes that approach so that we have an optional fallback when Sys.timezone()
comes up empty.
In the previous paragraph, note the stark absense of OS X where there seems nothing to query, and of course Windows. Contributions for either would be welcome.
For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.