Skip to content

dbscan

1.2.7Package record

Density-Based Spatial Clustering of Applications with Noise (DBSCAN) and Related Algorithms

63packages dependsuggested by 35
487.3Kdownloads / year
67.6%test coverage
13/13flavors OK

Overview

About

A fast reimplementation of several density-based algorithms of the DBSCAN family. Includes the clustering algorithms DBSCAN (density-based spatial clustering of applications with noise) and HDBSCAN (hierarchical DBSCAN), the ordering algorithm OPTICS (ordering points to identify the clustering structure), shared nearest neighbor clustering, and the outlier detection algorithms LOF (local outlier factor) and GLOSH (global-local outlier score from hierarchies). The implementations use the kd-tree data structure (from library ANN) for faster k-nearest neighbor search. An R interface to fast kNN and fixed-radius NN search is also provided. Hahsler, Piekenbrock and Doran (2019) doi:10.18637/jss.v091.i01.

Changes in 1.2.7

Changes

  • Raised required R version to 4.3.0 to guarantee C++17 support.
  • Parameter and return value validation is now consistent and strict.

Bugfixes

  • clplot() now passes ... on to plot() (by m-muecke)
  • hdbscan() and predict() for hdbscan objects now always return integer cluster assignments (by m-muecke)
  • OPTICS: Fixed calculation for epsilon when set to infinity.
  • predict() for dbscan, optics, and hdbscan objects now works with single-column data (by m-muecke)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 8.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • WARNING12 OK, 1 WARNING2026-06-08
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE11 OK, 3 NOTE2026-04-22
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.2.7
READMEYes · 1,007 wordsVignettesYes · 9 · dynamicNEWSYes · 100% structured · mentions 1.2.7Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JSS article
Help pages
25 (1 internal)includes a package overview page
Examples that run
100%23 run in a plain check (1 of them under a condition)
Exported functions with examples
95%
Documented parameters
95%
Return-value docs
81%
Help pages citing references
72%

Downloads

487.3K
CRAN downloads in the past year
Rank #579 · ~1.3K/day · ~40.6K/mo
Daily download trend is not available in this view yet.
42K30 days
113K90 days
487.3K1 year
Compare downloads with other packages →
Also on8.2K r2u13 autocran21.7K conda_forge1K c2d4u

Repository

354Stars
64Forks
3Open issues
1Open PRs
22Releases
397Commits
10Commit identities
dbscanclusteringlofopticsdensity-based-clusteringcranrhdbscan
License file reads as GPL-3.0 · 397 commits · Last activity 2026-10-09 · 0% stars, 30d · Default branch at 1.2.8, ahead of CRAN 1.2.7 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
18
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-11 · 3332026-09-14 · 354
PracticesBeta

6 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/mhahsler/dbscan on 2026-10-11.

Continuous integration (1)
GitHub Actions
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-09 · The repository has a site deploy workflow

pkgdown site last built 2026-10-09

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing dbscan adds 2 packages (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, generics 46 KB.

Depends (1)
R >= 4.3.0
Imports (4)
genericsgraphicsRcppstats
LinkingTo (1)
Enhances (0)
none

Datasets

People & History

People (5)
Author, Maintainer since 0.9-0 (2015), Copyright holder
Author, Copyright holder · added in 0.9-7
Contributor, Copyright holder
Contributor · added in 1.2.1
Contributor, Copyright holder
Releases (31)

Pick two releases to compare their code metrics.

  • 1.2.7Latest
    record
    2026-10-05 · current release · diff ↗ ·
    29 hours in CRAN's queue
    Listed in CRAN's incoming queue from 2026-10-03 21:57 to 2026-10-05 03:17 UTC, in 8 readings.
  • 1.2.6
    record
    2026-08-25 · diff ↗
  • 1.2.5
    record
    2026-06-09 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.4
    record
    2025-12-19 · diff ↗
  • 1.2.3
    record
    2025-08-20 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.2
    record
    2025-01-26 · diff ↗
  • 1.2.1
    record
    2025-01-24 · diff ↗ ·
    added 4 exports
    clplot, dbcv, ncluster, nnoise
  • 1.2-0
    record
    2024-06-28 · diff ↗ ·
    added 3 exports
    augment, glance, tidy
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1-12
    record
    2023-11-28 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1-11
    record
    2022-10-27 · diff ↗ ·
    added 1 export
    as.dendrogram
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1-10
    record
    2022-01-15 · diff ↗ ·
    added 4 exports
    is.corepoint, coredist, mrdist, comps
Show 27 earlier eventsHide 27 earlier events
Across CRAN, the median accepted release of the past year spent 19 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2015-07-16
Total releases
31 / 11 yrs
License
GPL (>= 3) OSI
Copyright
ANN library is copyright by University of Maryland, Sunil Arya and David Mount. All other code is copyright by Michael Hahsler and Matthew Piekenbrock.
Minimum R
≥ 4.3.0
Bundled data
107 KB / 6 files
Download size
3.8 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dbscan")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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 dbscan version 1.2.7 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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