Skip to content

distances

Tools for Distance Metrics

v0.1.13 · Nov 23, 2025 · GPL (>= 3)

Description

Provides tools for constructing, manipulating and using distance metrics.

Downloads

CRAN

3.7K

Last 30 days

1916th

15K

Last 90 days

68.2K

Last year

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

r2u CRAN

36

Last 30 days

146

Last 90 days

666

Last year

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

autoCRAN

1

Last 7 days

10

Last 30 days

1

All-time

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

conda-forge CRAN

195

Last 30 days

692

Last 90 days

5.4K

Last year

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

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

9,155

Files

70

Compiled share

74%

Has compiled src

Yes

Language breakdown

R 677 (7.4%)C/C++/src 6,772 (74%)Tests 1,399 (15.3%)Docs 307 (3.4%)

API

Exported functions

6

Internal functions

14

Testing & CI

Has tests

Yes

Test-to-code ratio

2.07

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.4.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

16

First release

2017-03-05

Latest release

2025-11-24

Avg cadence

119 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.0: 9,007 LOCv0.1.1: 9,012 LOCv0.1.2: 9,012 LOCv0.1.3: 9,123 LOCv0.1.4: 9,123 LOCv0.1.5: 9,123 LOCv0.1.6: 9,123 LOCv0.1.7: 9,132 LOCv0.1.7.1: 9,132 LOCv0.1.7.2: 9,132 LOCv0.1.8: 9,158 LOCv0.1.9: 9,167 LOCv0.1.10: 9,167 LOCv0.1.11: 9,167 LOCv0.1.12: 9,180 LOCv0.1.13: 9,155 LOC

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

Reverse Dependencies (7)

Dependency Network

Dependencies Reverse dependencies quickblock quickmatch scclust GeomArchetypal SpatialBSS colorrepel manydist distances

Version History

17 tracked
new 0.1.13 Mar 10, 2026
updated 0.1.13 ← 0.1.12 diff Nov 23, 2025
updated 0.1.12 ← 0.1.11 diff Mar 31, 2025
updated 0.1.11 ← 0.1.10 diff Jul 31, 2024
updated 0.1.10 ← 0.1.9 diff Nov 27, 2023
updated 0.1.9 ← 0.1.8 diff Jan 26, 2023
updated 0.1.8 ← 0.1.7.2 diff Sep 21, 2019
updated 0.1.7.2 ← 0.1.7.1 diff Aug 31, 2019
updated 0.1.7.1 ← 0.1.7 diff Aug 31, 2019
updated 0.1.7 ← 0.1.6 diff Mar 17, 2019
updated 0.1.6 ← 0.1.5 diff Dec 12, 2018
updated 0.1.5 ← 0.1.4 diff Dec 11, 2018
updated 0.1.4 ← 0.1.3 diff Aug 14, 2018
updated 0.1.3 ← 0.1.2 diff Jul 19, 2018
updated 0.1.2 ← 0.1.1 diff May 22, 2017