Skip to content

rcoins

Identify Naturally Continuous Lines in a Spatial Network

v0.4.0 · Aug 20, 2025 · Apache License (>= 2)

Description

Provides functionality to group lines that form naturally continuous lines in a spatial network. The algorithm implemented is based on the Continuity in Street Networks (COINS) method from Tripathy et al. (2021) <doi:10.1177/2399808320967680>, which identifies continuous "strokes" in the network as the line strings that maximize the angles between consecutive segments.

Downloads

CRAN

517

Last 30 days

7621st

1.6K

Last 90 days

6.4K

Last year

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

r2u CRAN

0

Last 30 days

23

Last 90 days

113

Last year

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

autoCRAN

3

Last 7 days

13

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

1,066

Files

24

Compiled share

0%

Has compiled src

No

Language breakdown

R 506 (47.5%)Tests 256 (24%)Docs 125 (11.7%)Vignettes 179 (16.8%)

API

Exported functions

2

Internal functions

17

Recent export changes

v0.3.2+2 get_example_data, stroke

Testing & CI

Has tests

Yes

Test-to-code ratio

0.51

testthat edition

3

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

100%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

Apache License (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2025-05-29

Latest release

2025-08-20

Avg cadence

83 days

Cold removal rate

Dep drift

0

LOC over versions

v0.3.2: 901 LOCv0.4.0: 1,066 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 dplyr rlang sf sfheaders rcrisp rcoins

Version History

3 tracked
new 0.4.0 Mar 10, 2026
updated 0.4.0 ← 0.3.2 diff Aug 19, 2025
new 0.3.2 May 28, 2025