{
  "_id": "6a2042decd65a98ecbd11a2c",
  "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-06-03 15:01:23 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>",
  "MD5sum": "a1ca187b38e975f63ff29bf5a85caec2",
  "_user": "vlyubchich",
  "_type": "src",
  "_file": "rarefun_0.1.0.tar.gz",
  "_fileid": "576457402936c50a8e886dd2991ba0ccc9f08040afd4f3e4771a9bb796c0471a",
  "_filesize": 330085,
  "_sha256": "576457402936c50a8e886dd2991ba0ccc9f08040afd4f3e4771a9bb796c0471a",
  "_created": "2026-06-03T15:01:23.000Z",
  "_published": "2026-06-03T15:06:06.843Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79325900011,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7388483474"
    },
    {
      "job": 79325900177,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7388478957"
    },
    {
      "job": 79325900198,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7388463700"
    },
    {
      "job": 79325900061,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7388467276"
    },
    {
      "job": 79325090708,
      "time": 217,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7388390739"
    },
    {
      "job": 79325900050,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7388471840"
    },
    {
      "job": 79325900159,
      "time": 105,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7388458327"
    },
    {
      "job": 79325900127,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7388457463"
    },
    {
      "job": 79325900064,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7388456361"
    }
  ],
  "_buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/26893222289",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "description": "",
    "uuid": 13459954,
    "orcid": "0000-0001-7936-4285"
  },
  "_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"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rarefun"
  },
  "_devurl": "https://github.com/vlyubchich/rarefun",
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/rarefun.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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-06-03T15:04:41.000Z",
      "distro": "noble",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "285f8d1d2e17ea63dff81830facf7147d170355f84174456f582e7efe51a5f43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/26893222289"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-03T15:04:31.000Z",
      "distro": "noble",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "625d8646cc56ae3c4fea480f0fb2bffabea33b38ea22ecdbe407782d795039eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/26893222289"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-03T15:04:07.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "a5489c4ff9439a354073a9b63f150643c1c0e5b54ad3c47c25b77b4e06c7dbb1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/26893222289"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-03T15:04:11.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "a42f00cd9b3bb9fe9129c149dbefd86eaa4c5da2785950bd8fc68efbac5e1d6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/26893222289"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-03T15:04:45.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "a6a4ac3cacdbd0ffd078141d6bc809dfe133c995afea32579eae27f437669e21",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/26893222289"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T15:03:39.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "7c82e9943f58b42bbac968b0b254c315b763ec7265d01b8d3ffcc1d9c9195b26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/26893222289"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T15:03:37.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "662669bd242b8f19deda54c4da5c5bb03dbdaa912a27065dd39d440ab84c9a48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/26893222289"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T15:03:33.000Z",
      "commit": "62c88016a40f1210f4c25ae23ade7bd7448c50e2",
      "fileid": "4604dd0cbf13a820cc5497a585f04bbb508fe4294f0f1d7da7633cc4fd655bbb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vlyubchich/actions/runs/26893222289"
    }
  ]
}