Skip to content

disttools

0.1.8Package record

Distance Object Manipulation Tools

0packages depend
2.7Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About
Maintained by Zachary ColburnCRAN page ↗Declared funder: Madigan Army Medical Center - Department of Clinical Investigation

Provides convenient methods for accessing the data in 'dist' objects with minimal memory and computational overhead. 'disttools' can be used to extract the distance between any pair or combination of points encoded by a 'dist' object using only the indices of those points. This is an improvement over existing functionality, which requires either coercing a 'dist' object into a matrix or calculating the one dimensional index corresponding to a pair of observations. Coercion to a matrix is undesirable because doing so doubles the amount of memory required for storage. In contrast, there is no inherent downside to the latter solution. However, in part due to several edge cases, correctly and efficiently implementing such a solution can be challenging. 'disttools' abstracts away these challenges and provides a simple interface to access the data in a 'dist' object using the latter approach.

Changes in 0.1.8
  • Updated argument checks to handle a change in a dependency.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 55 s · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.8
READMEYes · 241 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 0.1.8Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
1
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

2.7K
CRAN downloads in the past year
Rank #17,620 · ~8/day · ~229/mo
Daily download trend is not available in this view yet.
25130 days
73390 days
2.7K1 year
Compare downloads with other packages →
Also on80 r2u5 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing disttools adds no packages beyond those that come with R.

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.7 (2019)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.8Latest
    record
    2022-02-05 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.7
    record
    2019-03-04
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2019-03-04
Total releases
2 / 7 yrs
License
MIT + file LICENSE OSI
Download size
11 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("disttools")
Colburn, Z., & Madigan Army Medical Center - Department of Clinical Investigation. (2022). disttools: Distance Object Manipulation Tools (Version 0.1.8) [Computer software]. https://doi.org/10.32614/CRAN.package.disttools

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for disttools version 0.1.8 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy