Skip to content

geojsonR

A GeoJson Processing Toolkit

v1.1.2 · Jan 13, 2025 · MIT + file LICENSE

Description

Includes functions for processing GeoJson objects <https://en.wikipedia.org/wiki/GeoJSON> relying on 'RFC 7946' <https://datatracker.ietf.org/doc/html/rfc7946>. The geojson encoding is based on 'json11', a tiny JSON library for 'C++11' <https://github.com/dropbox/json11>. Furthermore, the source code is exported in R through the 'Rcpp' and 'RcppArmadillo' packages.

Downloads

CRAN

581

Last 30 days

6245th

1.5K

Last 90 days

8.6K

Last year

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

r2u CRAN

24

Last 30 days

115

Last 90 days

486

Last year

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

autoCRAN

5

Last 7 days

13

Last 30 days

1

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
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.3Mb
  sub-directories of 1Mb or more:
    doc    1.3Mb
    libs   4.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    doc    1.3Mb
    libs   4.6Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/geojsonR.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.3Mb
  sub-directories of 1Mb or more:
    doc    1.3Mb
    libs   4.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    doc    1.3Mb
    libs   4.6Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.3Mb
  sub-directories of 1Mb or more:
    doc    1.3Mb
    libs   4.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    doc    1.3Mb
    libs   4.6Mb

Line coverage

Expression

Tests / Examples

Functions

165 7 exported

Complexity

2.5 avg / 11 max

Call network

165 nodes / 147 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

6,656

Files

46

Compiled share

53.1%

Has compiled src

Yes

Language breakdown

R 783 (11.8%)C/C++/src 3,536 (53.1%)Tests 1,068 (16%)Docs 769 (11.6%)Vignettes 500 (7.5%)

API

Exported functions

8

Internal functions

15

Recent export changes

v1.0.8+1 save_R_list_Features_2_FeatureCollection

Testing & CI

Has tests

Yes

Test-to-code ratio

1.36

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

87.5%

\dontrun example ratio

71.4%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

50%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.2.3

System requirements

1

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

13

First release

2017-03-28

Latest release

2025-01-13

Avg cadence

175 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.0: 4,185 LOCv1.0.1: 4,685 LOCv1.0.2: 5,290 LOCv1.0.3: 5,552 LOCv1.0.4: 5,552 LOCv1.0.5: 5,552 LOCv1.0.6: 5,552 LOCv1.0.7: 5,609 LOCv1.0.8: 6,609 LOCv1.0.9: 5,587 LOCv1.1.0: 6,655 LOCv1.1.1: 6,659 LOCv1.1.2: 6,656 LOC

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

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies Rcpp R6 GeoMongo geojsonR

Version History

14 tracked
new 1.1.2 Mar 10, 2026
updated 1.1.2 ← 1.1.1 diff Jan 12, 2025
updated 1.1.1 ← 1.1.0 diff Jan 11, 2023
updated 1.1.0 ← 1.0.9 diff May 3, 2021
updated 1.0.9 ← 1.0.8 diff Mar 6, 2021
updated 1.0.8 ← 1.0.7 diff Mar 17, 2020
updated 1.0.7 ← 1.0.6 diff Aug 6, 2019
updated 1.0.6 ← 1.0.5 diff Sep 22, 2018
updated 1.0.5 ← 1.0.4 diff Jul 20, 2018
updated 1.0.4 ← 1.0.3 diff Nov 29, 2017
updated 1.0.3 ← 1.0.2 diff Sep 4, 2017
updated 1.0.2 ← 1.0.1 diff Aug 2, 2017
updated 1.0.1 ← 1.0.0 diff Mar 29, 2017
new 1.0.0 Mar 27, 2017