A function to retrieve the system timezone on Unix systems which has been found to find an answer when 'Sys.timezone()' has failed. It is based on an answer by Duane McCully posted on 'StackOverflow', and adapted to be callable from R. The package also builds on Windows, but just returns NULL. The functionality it offers was not available in R when the package was written, but has since been added which reduces the need for this package.
| Version: | 0.0.6 |
| Published: | 2026-08-25 |
| DOI: | 10.32614/CRAN.package.gettz |
| Author: | Dirk Eddelbuettel |
| Maintainer: | Dirk Eddelbuettel <edd at debian.org> |
| BugReports: | https://github.com/eddelbuettel/gettz/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/eddelbuettel/gettz/, https://dirk.eddelbuettel.com/code/gettz.html |
| NeedsCompilation: | yes |
| Materials: | README, ChangeLog |
| CRAN checks: | gettz results |
| Reference manual: | gettz.html , gettz.pdf |
| Package source: | gettz_0.0.6.tar.gz |
| Windows binaries: | r-devel: gettz_0.0.5.zip, r-release: gettz_0.0.5.zip, r-oldrel: gettz_0.0.5.zip |
| macOS binaries: | r-release (arm64): gettz_0.0.6.tgz, r-oldrel (arm64): gettz_0.0.5.tgz, r-release (x86_64): gettz_0.0.6.tgz, r-oldrel (x86_64): gettz_0.0.5.tgz |
| Old sources: | gettz archive |
| Reverse suggests: | anytime |
Please use the canonical form https://CRAN.R-project.org/package=gettz to link to this page.