Get the Timezone Information
Overview
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.
Install
Health
- OK13 OK2026-08-28
- NOTE11 OK, 2 NOTE2026-05-10
- WARNING11 OK, 1 NOTE, 1 WARNING2026-05-09
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 1includes a package overview page
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- 0%
- Help pages citing references
- 100%
Downloads
Repository
- PRs merged (all time)
- 67%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/eddelbuettel/gettz on 2026-10-11.
The repository owner accepts GitHub Sponsors
Dependencies
Installing gettz adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.0.6Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.0.52022-10-29 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.0.42020-04-14 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.0.32016-11-05 · diff ↗
- 0.0.22016-10-18 · diff ↗
- 0.0.12016-09-10
Show 1 earlier eventHide 1 earlier event
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-09-10
- Total releases
- 6 / 10 yrs
- License
- GPL (>= 2) OSI
- Download size
- 11 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("gettz")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.