Skip to content

stray

0.1.1Package record

Anomaly Detection in High Dimensional and Temporal Data

1packages depend
3.1Kdownloads / year
–test coverage
7/13flavors OK

Overview

About

This is a modification of 'HDoutliers' package. The 'HDoutliers' algorithm is a powerful unsupervised algorithm for detecting anomalies in high-dimensional data, with a strong theoretical foundation. However, it suffers from some limitations that significantly hinder its performance level, under certain circumstances. This package implements the algorithm proposed in Talagala, Hyndman and Smith-Miles (2019) arXiv:1908.04000 for detecting anomalies in high-dimensional data that addresses these limitations of 'HDoutliers' algorithm. We define an anomaly as an observation that deviates markedly from the majority with a large distance gap. An approach based on extreme value theory is used for the anomalous threshold calculation.

Install

Health

CRAN checks
6NOTE7OK
Check messages
NOTERd cross-referencesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Unknown package ‘HDoutliers’ in Rd xrefs

r-devel-linux-x86_64-fedora-clang

Undeclared package ‘HDoutliers’ in Rd xrefs
Unknown package ‘HDoutliers’ in Rd xrefs
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Priyanga Dilini Talagala <pritalagala@gmail.com>’

The Description field contains
  <arXiv:1908.04000> for detecting anomalies in high-dimensional data
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from:
  ‘ks’
All declared Imports should be used.

CRAN check page ↗

Slowest check: 1.6 min · r-oldrel-windows-x86_64
Status changes
  • NOTE7 OK, 6 NOTENow
  • NOTE10 OK, 4 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.1
README· In the repository, left out of the releaseVignettesNoNEWSNoCitation fileNo
Help pages
13includes a package overview page
Examples that run
100%2 run in a plain check
Exported functions with examples
50%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
15%

Downloads

3.1K
CRAN downloads in the past year
Rank #15,068 · ~8/day · ~256/mo
Daily download trend is not available in this view yet.
28530 days
79990 days
3.1K1 year
Compare downloads with other packages →
Also on227 r2u5 autocran

Repository

60Stars
9Forks
1Open issues
1Open PRs
0Releases
146Commits
2Commit identities
stray
146 commits · Last activity 2023-11-19 · 0% stars, 30d
Responsiveness
not measured

Stars over time

2026-07-11 · 592026-09-07 · 60
PracticesBeta

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

Checks run against github.com/pridiltal/stray on 2026-10-18.

Continuous integration (1)
Travis CI (config file)
Docs source (2)
README.Rmd

GitHub Pages site last deployed 2023-11-19

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

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing stray adds 28 packages (17 with compiled code, 24 MB of source tarballs). Heaviest: ggplot2 6.0 MB, mclust 2.7 MB, colorspace 2.0 MB.

Depends (1)
R >= 3.4.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 0.1.0 (2019)
Thesis advisor
Thesis advisor
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
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.1Latest
    record
    2020-06-29 · current release · diff ↗ ·
    removed 1 export
    find_theshold
    added 1 export
    find_threshold
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    record
    2019-12-17
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-12-17
Total releases
2 / 7 yrs
License
GPL-2 OSI
Minimum R
≥ 3.4.0
Bundled data
202 KB / 8 files
Download size
368 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("stray")
Talagala, P. D., Hyndman, R. J., & Smith-Miles, K. (2020). stray: Anomaly Detection in High Dimensional and Temporal Data (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.stray

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

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