{
  "_id": "6abe1e5b99f7aa8c6aa525b8",
  "Package": "rarefun",
  "Type": "Package",
  "Title": "Functions for Rare Events Analysis",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Vyacheslav\", \"Lyubchich\",\nemail = \"lyubchich@umces.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7936-4285\")),\nperson(\"Geneviève\", \"Nesslage\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-1770-6803\"))\n)",
  "Description": "Functions for detecting and analyzing rare events in data.\nImplements isolation forest (Liu et al., 2008,\n<doi:10.1109/ICDM.2008.17>) and clustering for anomaly\ndetection in time series residuals. Decomposes time series\nusing LOESS (Locally Estimated Scatterplot Smoothing) or STL\n(Seasonal-Trend decomposition using LOESS). Detects marine\nheatwaves and cold spells following Hobday et al. (2016)\n<doi:10.1016/j.pocean.2015.12.014>. Provides goodness-of-fit\ntests for quantile regression (Haupt et al., 2011,\n<doi:10.1080/02664763.2011.573542>), partial dependence with\nquantile random forests, MCC (Matthews Correlation Coefficient)\ncomputation and testing, knee-point detection via the Kneedle\nalgorithm (Satopaa et al., 2011, <doi:10.1109/ICDCSW.2011.20>),\nand spatial point matching.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "URL": "https://github.com/vlyubchich/rarefun",
  "BugReports": "https://github.com/vlyubchich/rarefun/issues",
  "RdMacros": "Rdpack",
  "LazyData": "true",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://vlyubchich.r-universe.dev",
  "Date/Publication": "2026-05-29 15:27:38 UTC",
  "RemoteUrl": "https://github.com/vlyubchich/rarefun",
  "RemoteRef": "HEAD",
  "RemoteSha": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-01 08:43:36 UTC",
    "User": "root"
  },
  "Author": "Vyacheslav Lyubchich [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7936-4285>),\nGeneviève Nesslage [aut] (ORCID:\n<https://orcid.org/0000-0003-1770-6803>)",
  "Maintainer": "Vyacheslav Lyubchich <lyubchich@umces.edu>",
  "_user": "vlyubchich",
  "_type": "src",
  "_file": "rarefun_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/dd97c9ac64af7047a682feb2084f279f9a6e9fa67a3d4c8537c77acf071ad04c",
  "_filesize": 333406,
  "_sha256": "dd97c9ac64af7047a682feb2084f279f9a6e9fa67a3d4c8537c77acf071ad04c",
  "_expires": "2027-01-09T08:48:25.000Z",
  "_created": "2026-10-01T08:43:36.000Z",
  "_published": "2026-10-07T10:57:40.331Z",
  "_jobs": [
    {
      "job": 110290607003,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11150048345"
    },
    {
      "job": 110290607078,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11150073232"
    },
    {
      "job": 110290607266,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11150312797"
    },
    {
      "job": 110290607049,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11150297753"
    },
    {
      "job": 110288743496,
      "time": 318,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11150022886"
    },
    {
      "job": 110290607031,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11149294700"
    },
    {
      "job": 110290607156,
      "time": 87,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11149309455"
    },
    {
      "job": 110290607018,
      "time": 83,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11149404335"
    },
    {
      "job": 110290607131,
      "time": 78,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11149993259"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/36837578161",
  "_status": "success",
  "_upstream": "https://github.com/vlyubchich/rarefun",
  "_commit": {
    "id": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
    "author": "Vyacheslav Lyubchich <vlyubchich@users.noreply.github.com>",
    "committer": "Vyacheslav Lyubchich <vlyubchich@users.noreply.github.com>",
    "message": "rm par() from examples\n",
    "time": 1780068458
  },
  "_maintainer": {
    "name": "Vyacheslav Lyubchich",
    "email": "lyubchich@umces.edu",
    "login": "vlyubchich",
    "uuid": 13459954,
    "orcid": "0000-0001-7936-4285"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "RANN",
      "role": "Imports"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "dbscan",
      "role": "Imports"
    },
    {
      "package": "geosphere",
      "role": "Imports"
    },
    {
      "package": "isotree",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pdp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "heatwaveR",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "quantmod",
      "role": "Suggests"
    },
    {
      "package": "quantreg",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    }
  ],
  "_owner": "vlyubchich",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 8
    },
    {
      "week": "2025-43",
      "n": 3
    },
    {
      "week": "2025-44",
      "n": 13
    },
    {
      "week": "2025-46",
      "n": 4
    },
    {
      "week": "2025-47",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 12
    },
    {
      "week": "2026-22",
      "n": 8
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "vlyubchich",
      "count": 50,
      "uuid": 13459954
    }
  ],
  "_userbio": {
    "uuid": 13459954,
    "type": "user",
    "name": "Vyacheslav Lyubchich",
    "followers": 28
  },
  "_downloads": {
    "count": 371,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rarefun"
  },
  "_devurl": "https://github.com/vlyubchich/rarefun",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/rarefun.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/vlyubchich/rarefun",
  "_realowner": "vlyubchich",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-06-02"
    }
  ],
  "_exports": [
    "gof_qr",
    "kneedle",
    "match_spatial_points",
    "mcc",
    "partial_qrf",
    "rare_dbscan",
    "rare_heatwaves",
    "rare_iforest",
    "rare_residuals"
  ],
  "_datasets": [
    {
      "name": "Annapolis",
      "title": "Annapolis Daily Daymet Time Series (1980-2024)",
      "object": "Annapolis",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "pcp",
        "tmax"
      ],
      "rows": 16425,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Annapolis",
      "title": "Annapolis Daily Daymet Time Series (1980-2024)",
      "topics": [
        "Annapolis"
      ]
    },
    {
      "page": "gof_qr",
      "title": "Goodness-of-fit Measures for Quantile Regression",
      "topics": [
        "gof_qr"
      ]
    },
    {
      "page": "kneedle",
      "title": "Detect Knee Point in a Curve Using the Kneedle Algorithm",
      "topics": [
        "kneedle"
      ]
    },
    {
      "page": "match_spatial_points",
      "title": "Match Spatial Points between Two Datasets",
      "topics": [
        "match_spatial_points"
      ]
    },
    {
      "page": "mcc",
      "title": "Calculate and Test the Matthews Correlation Coefficient (MCC)",
      "topics": [
        "mcc"
      ]
    },
    {
      "page": "partial_qrf",
      "title": "Partial Dependence Plot for Quantile Random Forest",
      "topics": [
        "partial_qrf"
      ]
    },
    {
      "page": "rare_dbscan",
      "title": "Detect Rare Events Using DBSCAN",
      "topics": [
        "rare_dbscan"
      ]
    },
    {
      "page": "rare_heatwaves",
      "title": "Detect Heatwaves (or Cold Spells) Using heatwaveR",
      "topics": [
        "rare_heatwaves"
      ]
    },
    {
      "page": "rare_iforest",
      "title": "Detect Rare Events Using Isolation Forest",
      "topics": [
        "rare_iforest"
      ]
    },
    {
      "page": "rare_residuals",
      "title": "Detect Rare Events in Time Series Residuals",
      "topics": [
        "rare_residuals"
      ]
    }
  ],
  "_readme": "https://github.com/vlyubchich/rarefun/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "codetools",
    "cpp11",
    "dbscan",
    "farver",
    "foreach",
    "generics",
    "geosphere",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "isotree",
    "iterators",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "pdp",
    "R6",
    "RANN",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "Rdpack",
    "RhpcBLASctl",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 3.5440680443502757,
  "_indexed": true,
  "_nocasepkg": "rarefun",
  "_universes": [
    "vlyubchich"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-01T08:46:14.000Z",
      "distro": "resolute",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "https://r2.ropensci.org/982a56159e53ba96ee77fdc382d14f82bc435378d032bc294a5765df8531d63b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/36837578161"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-01T08:46:09.000Z",
      "distro": "resolute",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "https://r2.ropensci.org/aa52f45b0634d1fd12aaab7bc317b4a2a3e4df78215125932b9350668bff6be5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/36837578161"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-01T08:47:31.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "https://r2.ropensci.org/2cf62d9f3407ac269e72812a9545a47af741cdf0a78c95e2fa59bfe28e2fbf30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/36837578161"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-01T08:47:29.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "https://r2.ropensci.org/7c19fe3cd8b42cf1c107eb7e72c8a2a9fc4dd2ebfd291802828aacb90a6fc580",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/36837578161"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-01T08:46:05.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "https://r2.ropensci.org/39ea078ef0ab006be13f73bd3cae25b35b120c1cef2129eab2471442aae75889",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/36837578161"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-01T08:45:00.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "https://r2.ropensci.org/407130b32a3ef391a4422deaf38195dd29996bffda5feb434b8606abc17d4e55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/36837578161"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-01T08:44:59.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "https://r2.ropensci.org/377c24319b922aa5928b0dc056bb819211dadc5ab0f7c41a500419db5f5ccc09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/36837578161"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-01T08:45:01.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "https://r2.ropensci.org/4380c494974b52abab6689be227cbf1fcea84ebef1ad443b9ccc97f884088852",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/36837578161"
    }
  ]
}