lutz
Look Up Time Zones of Point Coordinates
Description
Input latitude and longitude values or an 'sf/sfc' POINT object and get back the time zone in which they exist. Two methods are implemented. One is very fast and uses 'Rcpp' in conjunction with data from the 'Javascript' library (<https://github.com/darkskyapp/tz-lookup-oss/>). This method also works outside of countries' borders and in international waters, however speed comes at the cost of accuracy - near time zone borders away from populated centres there is a chance that it will return the incorrect time zone. The other method is slower but more accurate - it uses the 'sf' package to intersect points with a detailed map of time zones from here: <https://github.com/evansiroky/timezone-boundary-builder/>. The package also contains several utility functions for helping to understand and visualize time zones, such as listing of world time zones, including information about daylight savings times and their offsets from UTC. You can also plot a time zone to visualize the UTC offset over a year and when daylight savings times are in effect.
Downloads
1.7K
Last 30 days
2914th
4.6K
Last 90 days
30.5K
Last year
Trend: +15.1% (30d vs prior 30d)
38
Last 30 days
196
Last 90 days
856
Last year
Trend: -30.9% (30d vs prior 30d)
5
Last 7 days
14
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
58
Last 30 days
206
Last 90 days
206
Last year
Trend: -60.8% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
installed package size
installed size is 6.0Mb
sub-directories of 1Mb or more:
R 5.0Mb
installed package size
installed size is 6.0Mb
sub-directories of 1Mb or more:
R 5.0Mb
installed package size
installed size is 5.2Mb
sub-directories of 1Mb or more:
R 4.0Mb
libs 1.0Mb
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/lutz.Rcheck/00install.out' for details.
installed package size
installed size is 6.0Mb
sub-directories of 1Mb or more:
R 5.0Mb
installed package size
installed size is 6.0Mb
sub-directories of 1Mb or more:
R 5.0Mb
installed package size
installed size is 5.2Mb
sub-directories of 1Mb or more:
R 4.0Mb
libs 1.0Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
installed package size
installed size is 6.0Mb
sub-directories of 1Mb or more:
R 5.0Mb
installed package size
installed size is 6.0Mb
sub-directories of 1Mb or more:
R 5.0Mb
installed package size
installed size is 5.2Mb
sub-directories of 1Mb or more:
R 4.0Mb
libs 1.0Mb
Code & tests
Open call graph →Code intelligence has not been computed for this package yet.
Code
Structure
Lines of code
2,561
Files
31
Compiled share
46.4%
Has compiled src
Yes
Language breakdown
API
Exported functions
5
Internal functions
21
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
1.80
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.2
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
5
First release
2018-02-07
Latest release
2023-10-17
Avg cadence
261 days
Cold removal rate
–
Dep drift
4
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.