{
  "_id": "6a41042f4f09e15ead75c75f",
  "Package": "weird",
  "Title": "Functions and Data Sets for \"That's Weird: Anomaly Detection\nUsing R\" by Rob J Hyndman",
  "Description": "All functions and data sets required for the examples in\nthe book Hyndman (2026) \"That's Weird: Anomaly Detection Using\nR\" <https://OTexts.com/weird/>. All packages needed to run the\nexamples are also loaded.",
  "Version": "2.1.0.9000",
  "Authors@R": "c(person(given = \"Rob\",\nfamily = \"Hyndman\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"Rob.Hyndman@monash.edu\",\ncomment = c(ORCID = \"0000-0002-2140-5352\")),\nperson(given = \"RStudio\",\nrole = c(\"cph\")))",
  "URL": "https://pkg.robjhyndman.com/weird/,\nhttps://github.com/robjhyndman/weird",
  "BugReports": "https://github.com/robjhyndman/weird/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://robjhyndman.r-universe.dev",
  "Date/Publication": "2026-06-11 00:04:38 UTC",
  "RemoteUrl": "https://github.com/robjhyndman/weird",
  "RemoteRef": "HEAD",
  "RemoteSha": "538fe9942cbb5bfe2b6671580d46d095c180bd06",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-28 11:18:08 UTC",
    "User": "root"
  },
  "Author": "Rob Hyndman [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-2140-5352>),\nRStudio [cph]",
  "Maintainer": "Rob Hyndman <Rob.Hyndman@monash.edu>",
  "MD5sum": "78cfa1df1142b0c0d3b13b64c088ab5c",
  "_user": "robjhyndman",
  "_type": "src",
  "_file": "weird_2.1.0.9000.tar.gz",
  "_fileid": "857e4ee72268c30c3a5bd93d508aee39680963aa39b33ac1f9b52927360cef41",
  "_filesize": 1481217,
  "_sha256": "857e4ee72268c30c3a5bd93d508aee39680963aa39b33ac1f9b52927360cef41",
  "_created": "2026-06-28T11:18:08.000Z",
  "_published": "2026-06-28T11:23:27.007Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83901470578,
      "time": 264,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7934089961"
    },
    {
      "job": 83901470585,
      "time": 273,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7934091265"
    },
    {
      "job": 83901470577,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7934076844"
    },
    {
      "job": 83901470617,
      "time": 207,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7934083098"
    },
    {
      "job": 83901256341,
      "time": 202,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7934056445"
    },
    {
      "job": 83901470572,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7934075660"
    },
    {
      "job": 83901470600,
      "time": 145,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7934075254"
    },
    {
      "job": 83901470582,
      "time": 139,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7934074539"
    },
    {
      "job": 83901470591,
      "time": 165,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7934077796"
    }
  ],
  "_buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/28320394030",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/robjhyndman/weird",
  "_commit": {
    "id": "538fe9942cbb5bfe2b6671580d46d095c180bd06",
    "author": "Rob J Hyndman <robjhyndman@gmail.com>",
    "committer": "Rob J Hyndman <robjhyndman@gmail.com>",
    "message": "Don't drop types from outlier_map legend\n",
    "time": 1781136278
  },
  "_maintainer": {
    "name": "Rob Hyndman",
    "email": "rob.hyndman@monash.edu",
    "login": "robjhyndman",
    "bluesky": "@robjhyndman.com",
    "orcid": "0000-0002-2140-5352",
    "description": "Professor of Statistics at Monash University, Australia",
    "uuid": 127518
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "aplpack",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.1",
      "role": "Imports"
    },
    {
      "package": "dbscan",
      "role": "Imports"
    },
    {
      "package": "distributional",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 0.7.4",
      "role": "Imports"
    },
    {
      "package": "evd",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.1.1",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "ks",
      "role": "Imports"
    },
    {
      "package": "mlpack",
      "role": "Imports"
    },
    {
      "package": "RANN",
      "role": "Imports"
    },
    {
      "package": "robustbase",
      "role": "Imports"
    },
    {
      "package": "stray",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    },
    {
      "package": "mclust",
      "role": "Suggests"
    },
    {
      "package": "rrcov",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "robjhyndman",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 8
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 3
    },
    {
      "week": "2026-01",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 12
    },
    {
      "week": "2026-04",
      "n": 43
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 4
    },
    {
      "week": "2026-13",
      "n": 37
    },
    {
      "week": "2026-17",
      "n": 7
    },
    {
      "week": "2026-19",
      "n": 28
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 57
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 14
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2026-01-27"
    },
    {
      "name": "v2.1.0",
      "date": "2026-05-05"
    }
  ],
  "_stars": 26,
  "_contributors": [
    {
      "user": "robjhyndman",
      "count": 593,
      "uuid": 127518
    },
    {
      "user": "imgbotapp",
      "count": 7,
      "uuid": 31427850
    },
    {
      "user": "totvi",
      "count": 5,
      "uuid": 186154907
    },
    {
      "user": "eddelbuettel",
      "count": 2,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 127518,
    "type": "user",
    "name": "Rob J Hyndman",
    "followers": 3104,
    "description": "Professor of Statistics at Monash University, Australia"
  },
  "_downloads": {
    "count": 293,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/weird"
  },
  "_devurl": "https://github.com/robjhyndman/weird",
  "_pkgdown": "https://pkg.robjhyndman.com/weird/",
  "_searchresults": 35,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/weird.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/robjhyndman/weird",
  "_realowner": "robjhyndman",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-01-12"
    },
    {
      "version": "1.0.2",
      "date": "2024-01-24"
    },
    {
      "version": "2.0.0",
      "date": "2026-01-27"
    },
    {
      "version": "2.1.0",
      "date": "2026-05-05"
    }
  ],
  "_exports": [
    "augment",
    "autoplot",
    "biplot_projection",
    "chauvenet_anomalies",
    "density_df",
    "dist_density",
    "dist_kde",
    "dist_mclust",
    "dixon_anomalies",
    "fetch_air_quality",
    "fetch_wine_reviews",
    "gg_bagplot",
    "gg_density",
    "gg_hdrboxplot",
    "glosh_scores",
    "grubbs_anomalies",
    "hampel_anomalies",
    "hdr_table",
    "kde_bandwidth",
    "lof_scores",
    "mvscale",
    "outlier_map",
    "peirce_anomalies",
    "stray_anomalies",
    "stray_scores",
    "surprisals",
    "surprisals_prob"
  ],
  "_datasets": [
    {
      "name": "cricket_batting",
      "title": "Cricket batting data for international test players",
      "object": "cricket_batting",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Player",
        "Country",
        "Start",
        "End",
        "Matches",
        "Innings",
        "NotOuts",
        "Runs",
        "HighScore",
        "HighScoreNotOut",
        "Average",
        "Hundreds",
        "Fifties",
        "Ducks",
        "Gender"
      ],
      "rows": 3968,
      "table": true,
      "tojson": true
    },
    {
      "name": "fr_mortality",
      "title": "French mortality rates by age and sex",
      "object": "fr_mortality",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Year",
        "Age",
        "Sex",
        "Mortality"
      ],
      "rows": 31648,
      "table": true,
      "tojson": true
    },
    {
      "name": "gun_deaths",
      "title": "Gun ownership and homicide rates by country",
      "object": "gun_deaths",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "country",
        "region",
        "gun_ownership_rate",
        "homicide_rate"
      ],
      "rows": 77,
      "table": true,
      "tojson": true
    },
    {
      "name": "n01",
      "title": "Multivariate standard normal data",
      "object": "n01",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "v1",
        "v2",
        "v3",
        "v4",
        "v5",
        "v6",
        "v7",
        "v8",
        "v9",
        "v10"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "oldfaithful",
      "title": "Old faithful eruption data",
      "object": "oldfaithful",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "time",
        "recorded_duration",
        "duration",
        "waiting"
      ],
      "rows": 2097,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "augment.Pca",
      "title": "Augment data with results from a robust principal component analysis",
      "topics": [
        "augment.Pca"
      ]
    },
    {
      "page": "biplot_projection",
      "title": "Biplot of a two-dimensional projection",
      "topics": [
        "biplot_projection"
      ]
    },
    {
      "page": "cricket_batting",
      "title": "Cricket batting data for international test players",
      "topics": [
        "cricket_batting"
      ]
    },
    {
      "page": "density_df",
      "title": "Convert distributional object to a data frame",
      "topics": [
        "density_df"
      ]
    },
    {
      "page": "dist_density",
      "title": "Create distributional object based on a specified density",
      "topics": [
        "dist_density"
      ]
    },
    {
      "page": "dist_kde",
      "title": "Create distributional object based on a kernel density estimate",
      "topics": [
        "dist_kde"
      ]
    },
    {
      "page": "dist_mclust",
      "title": "Convert Gaussian mixture model to a distributional object",
      "topics": [
        "dist_mclust"
      ]
    },
    {
      "page": "fetch_air_quality",
      "title": "Air quality data for 12 Beijing monitoring stations from 2013 to 2017",
      "topics": [
        "air_quality",
        "fetch_air_quality"
      ]
    },
    {
      "page": "fetch_wine_reviews",
      "title": "Wine prices and points",
      "topics": [
        "fetch_wine_reviews",
        "wine_reviews"
      ]
    },
    {
      "page": "fr_mortality",
      "title": "French mortality rates by age and sex",
      "topics": [
        "fr_mortality"
      ]
    },
    {
      "page": "bagplot",
      "title": "Bagplot",
      "topics": [
        "gg_bagplot"
      ]
    },
    {
      "page": "gg_density",
      "title": "Produce ggplot of densities from distributional objects in 1 or 2 dimensions",
      "topics": [
        "gg_density"
      ]
    },
    {
      "page": "gg_hdrboxplot",
      "title": "HDR plot",
      "topics": [
        "gg_hdrboxplot"
      ]
    },
    {
      "page": "glosh_scores",
      "title": "GLOSH scores",
      "topics": [
        "glosh_scores"
      ]
    },
    {
      "page": "grubbs_anomalies",
      "title": "Statistical tests for anomalies using Grubbs' test and Dixon's test",
      "topics": [
        "dixon_anomalies",
        "grubbs_anomalies"
      ]
    },
    {
      "page": "gun_deaths",
      "title": "Gun ownership and homicide rates by country",
      "topics": [
        "gun_deaths"
      ]
    },
    {
      "page": "hampel_anomalies",
      "title": "Identify anomalies using the Hampel filter",
      "topics": [
        "hampel_anomalies"
      ]
    },
    {
      "page": "hdr_table",
      "title": "Table of Highest Density Regions",
      "topics": [
        "hdr_table"
      ]
    },
    {
      "page": "kde_bandwidth",
      "title": "Robust bandwidth estimation for kernel density estimation",
      "topics": [
        "kde_bandwidth"
      ]
    },
    {
      "page": "lof_scores",
      "title": "Local outlier factors",
      "topics": [
        "lof_scores"
      ]
    },
    {
      "page": "mvscale",
      "title": "Compute robust multivariate scaled data",
      "topics": [
        "mvscale"
      ]
    },
    {
      "page": "n01",
      "title": "Multivariate standard normal data",
      "topics": [
        "n01"
      ]
    },
    {
      "page": "oldfaithful",
      "title": "Old faithful eruption data",
      "topics": [
        "oldfaithful"
      ]
    },
    {
      "page": "outlier_map",
      "title": "Outlier map from a projection or principal component analysis",
      "topics": [
        "outlier_map"
      ]
    },
    {
      "page": "peirce_anomalies",
      "title": "Anomalies according to Peirce's and Chauvenet's criteria",
      "topics": [
        "chauvenet_anomalies",
        "peirce_anomalies"
      ]
    },
    {
      "page": "stray_anomalies",
      "title": "Stray anomalies",
      "topics": [
        "stray_anomalies"
      ]
    },
    {
      "page": "stray_scores",
      "title": "Stray scores",
      "topics": [
        "stray_scores"
      ]
    },
    {
      "page": "surprisals",
      "title": "Surprisals and surprisal probabilities",
      "topics": [
        "surprisals",
        "surprisals_prob"
      ]
    },
    {
      "page": "surprisals_model",
      "title": "Surprisals and surprisal probabilities computed from a model",
      "topics": [
        "surprisals.gam",
        "surprisals.glm",
        "surprisals.lm",
        "surprisals_prob.gam",
        "surprisals_prob.glm",
        "surprisals_prob.lm"
      ]
    },
    {
      "page": "surprisals_data",
      "title": "Surprisals and surprisal probabilities computed from data",
      "topics": [
        "surprisals.data.frame",
        "surprisals.matrix",
        "surprisals.numeric",
        "surprisals_prob.data.frame",
        "surprisals_prob.matrix",
        "surprisals_prob.numeric"
      ]
    }
  ],
  "_readme": "https://github.com/robjhyndman/weird/raw/HEAD/README.md",
  "_rundeps": [
    "aplpack",
    "backports",
    "broom",
    "cli",
    "colorspace",
    "cpp11",
    "dbscan",
    "DEoptimR",
    "distributional",
    "dplyr",
    "evd",
    "farver",
    "FNN",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "kernlab",
    "KernSmooth",
    "ks",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mclust",
    "mgcv",
    "mlpack",
    "multicool",
    "mvtnorm",
    "nlme",
    "numDeriv",
    "pcaPP",
    "pillar",
    "pkgconfig",
    "pracma",
    "purrr",
    "R6",
    "RANN",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEnsmallen",
    "rlang",
    "robustbase",
    "S7",
    "scales",
    "stray",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 6.3392526340327,
  "_indexed": true,
  "_nocasepkg": "weird",
  "_universes": [
    "robjhyndman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0.9000",
      "date": "2026-06-28T11:20:45.000Z",
      "distro": "resolute",
      "commit": "538fe9942cbb5bfe2b6671580d46d095c180bd06",
      "fileid": "711e3ce01d247f6eedc52292c199b69998f01aa97794ba414067e7e26a2d455f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/28320394030"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0.9000",
      "date": "2026-06-28T11:21:00.000Z",
      "distro": "resolute",
      "commit": "538fe9942cbb5bfe2b6671580d46d095c180bd06",
      "fileid": "cd32fa6e7e5a3647d639c2709dcc09071a2c15b5f0432f5717b736680486f53a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/28320394030"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0.9000",
      "date": "2026-06-28T11:20:00.000Z",
      "commit": "538fe9942cbb5bfe2b6671580d46d095c180bd06",
      "fileid": "ae2f3d629d72bb36801e515ead2b50a651f29dc947557b285d843f277a657db5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/28320394030"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.0.9000",
      "date": "2026-06-28T11:20:26.000Z",
      "commit": "538fe9942cbb5bfe2b6671580d46d095c180bd06",
      "fileid": "52320c51d658841c1b175d5d19dcfdbd57af2a71ce996fc05e75c2bd99f28313",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/28320394030"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0.9000",
      "date": "2026-06-28T11:20:58.000Z",
      "commit": "538fe9942cbb5bfe2b6671580d46d095c180bd06",
      "fileid": "f7c505b0ceb7a91b0f06dfa4b314d5657c6719b9802015c020d9615b4a1e88fb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/28320394030"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-06-28T11:19:27.000Z",
      "commit": "538fe9942cbb5bfe2b6671580d46d095c180bd06",
      "fileid": "e146e4f0a76701de4cfd15a95b28a5723d2771c5ec7f6cf85400de4abe091022",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/28320394030"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-06-28T11:19:21.000Z",
      "commit": "538fe9942cbb5bfe2b6671580d46d095c180bd06",
      "fileid": "be05f003f57f1bc2a0cf19853d1a7e70cc7157077acee40335b8549214843ad4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/28320394030"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-06-28T11:19:45.000Z",
      "commit": "538fe9942cbb5bfe2b6671580d46d095c180bd06",
      "fileid": "32470114e1b125b86d33f7ed1f0d2d0780b9738e224fe0b4471ea15e22a6251e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/28320394030"
    }
  ]
}