Skip to content

photon

High-Performance Geocoding using 'photon'

v1.0.0-1 · Apr 10, 2026 · Apache License (>= 2)

Description

Features unstructured, structured and reverse geocoding using the 'photon' geocoding API <https://photon.komoot.io/>. Facilitates the setup of local 'photon' instances to enable offline geocoding.

Downloads

CRAN

518

Last 30 days

7589th

1.5K

Last 90 days

1.7K

Last year

Trend: +13.1% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

31

Last 90 days

121

Last year

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

autoCRAN

2

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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 20, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 17, 2026
ERROR r-devel-linux-x86_64-fedora-clang

examples

Running examples in ‘photon-Ex.R’ failed
The error most likely occurred in:

> ### Name: with_photon
> ### Title: Local photon instances
> ### Aliases: with_photon
> 
> ### ** Examples
> 
> # Get a public instance
> pub_photon <- new_photon()
> 
> # 
...[truncated]...
 (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 15.               │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
 16.               │ └─base::force(expr)
 17.               └─rlang::abort(...)
Execution halted
OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026

Code

Structure

Lines of code

5,220

Files

54

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,857 (54.7%)Tests 509 (9.8%)Docs 1,506 (28.9%)Vignettes 348 (6.7%)

API

Exported functions

18

Internal functions

91

Recent export changes

v1.0.0+2 download_database, list_regions  −1 download_searchindex
v0.7.4+1 with_photon

Testing & CI

Has tests

Yes

Test-to-code ratio

0.18

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

92.9%

\dontrun example ratio

15.4%

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

System requirements

C++ standard

License

Apache License (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2024-11-11

Latest release

2026-04-10

Avg cadence

80 days

Cold removal rate

100%

Dep drift

1

LOC over versions

v0.3.1: 4,488 LOCv0.3.5: 4,725 LOCv0.7.4: 5,075 LOCv0.7.4-1: 5,086 LOCv1.0.0: 5,221 LOCv1.0.0-1: 5,220 LOC

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

Dependency Network

Dependencies Reverse dependencies cli countrycode httr2 R6 sf processx rvest photon

Version History

6 tracked
new 1.0.0-1 Apr 10, 2026
update 1.0.0 ← 0.7.4-1 diff Feb 27, 2026
update 0.7.4-1 ← 0.7.4 diff Jan 16, 2026
update 0.7.4 ← 0.3.5 diff Oct 28, 2025
update 0.3.5 ← 0.3.1 diff Feb 23, 2025
new 0.3.1 Nov 10, 2024