Skip to content

rarefun

0.1.0

Functions for Rare Events Analysis

0packages depend
740downloads / year
39.5%test coverage
13/13checks pass

Overview

About
Maintained by Vyacheslav LyubchichFirst published 2026-06-021 releasesCRAN page ↗GitHub ↗

Functions for detecting and analyzing rare events in data. Implements isolation forest (Liu et al., 2008, doi:10.1109/ICDM.2008.17) and clustering for anomaly detection in time series residuals. Decomposes time series using LOESS (Locally Estimated Scatterplot Smoothing) or STL (Seasonal-Trend decomposition using LOESS). Detects marine heatwaves and cold spells following Hobday et al. (2016) doi:10.1016/j.pocean.2015.12.014. Provides goodness-of-fit tests for quantile regression (Haupt et al., 2011, doi:10.1080/02664763.2011.573542), partial dependence with quantile random forests, MCC (Matthews Correlation Coefficient) computation and testing, knee-point detection via the Kneedle algorithm (Satopaa et al., 2011, doi:10.1109/ICDCSW.2011.20), and spatial point matching.

Install

Health

CRAN checks
13OK
Slowest check: 1.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.04
39.5%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-03
    6 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
30%
Documented parameters
100%
Return-value docs
100%
References docs
45%

Downloads

740
CRAN downloads in the past year
Rank #13,763 · ~2/day · ~62/mo
Daily download trend is not available in this view yet.
19730 days
74090 days
7401 year
Compare downloads with other packages →
Also on13 r2u16 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
0Releases
50Commits
1Contributors
50 commits · Last activity 2026-05-29 · 0% stars, 30d

Stars over time

2025-11-11 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/vlyubchich/rarefun on 2026-08-16.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (9)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-06-02 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-02
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
49 KB / 1 file
Download size
110 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rarefun")
Lyubchich, V., & Nesslage, G. (2026). rarefun: Functions for Rare Events Analysis (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.rarefun

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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

From data release v2026-08-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