Skip to content

h3r

Hexagonal Hierarchical Geospatial Indexing System

v0.1.2 · Dec 12, 2024 · MIT + file LICENSE

Description

Provides access to Uber's 'H3' geospatial indexing system via 'h3lib' <https://CRAN.R-project.org/package=h3lib>. 'h3r' is designed to mimic the 'H3' Application Programming Interface (API) <https://h3geo.org/docs/api/indexing/>, so that any function in the API is also available in 'h3r'.

Downloads

CRAN

445

Last 30 days

9458th

1.5K

Last 90 days

5.9K

Last year

Trend: -6.7% (30d vs prior 30d)

r2u CRAN

25

Last 30 days

123

Last 90 days

426

Last year

Trend: -43.2% (30d vs prior 30d)

autoCRAN

0

Last 7 days

9

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
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
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-oldrel-windows-x86_64

package dependencies

Package required and available but unsuitable version: 'h3lib'

See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.

Code

Structure

Lines of code

4,999

Files

95

Compiled share

46.1%

Has compiled src

Yes

Language breakdown

R 1,181 (23.6%)C/C++/src 2,306 (46.1%)Tests 7 (0.1%)Docs 1,505 (30.1%)

API

Exported functions

54

Internal functions

1

Recent export changes

v0.1.1−1 cellsToMultiPolygon
v0.1.0+55 areNeighborCells, cellAreaKm2, cellAreaM2 +52 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.01

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

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2023-09-29

Latest release

2024-12-13

Avg cadence

221 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v0.1.0: 5,284 LOCv0.1.1: 4,998 LOCv0.1.2: 4,999 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (2)

imports

suggests

Dependency Network

Dependencies Reverse dependencies h3lib geocodebr chopin h3r

Version History

4 tracked
new 0.1.2 Mar 10, 2026
updated 0.1.2 ← 0.1.1 diff Dec 12, 2024
updated 0.1.1 ← 0.1.0 diff Mar 11, 2024
new 0.1.0 Sep 28, 2023