{
  "_id": "6a1eaedeb25058d4daadaab7",
  "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-02 07:04:16 UTC",
  "RemoteUrl": "https://github.com/robjhyndman/weird",
  "RemoteRef": "HEAD",
  "RemoteSha": "3870824541ed05af0423c351a4c4eb44cfb8f616",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 10:17:40 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": "4e29f542a14ba26762c2b62669d816b4",
  "_user": "robjhyndman",
  "_type": "src",
  "_file": "weird_2.1.0.9000.tar.gz",
  "_fileid": "4c2d3a4cefac22e96152d164b4e423b15e570e568ae8e05a7f32348f042660fc",
  "_filesize": 1459619,
  "_sha256": "4c2d3a4cefac22e96152d164b4e423b15e570e568ae8e05a7f32348f042660fc",
  "_created": "2026-06-02T10:17:40.000Z",
  "_published": "2026-06-02T10:22:22.647Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79049032404,
      "time": 233,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355091509"
    },
    {
      "job": 79049032374,
      "time": 228,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355089860"
    },
    {
      "job": 79049032405,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355055857"
    },
    {
      "job": 79049032429,
      "time": 156,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355065478"
    },
    {
      "job": 79048512010,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355012515"
    },
    {
      "job": 79049032371,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355054214"
    },
    {
      "job": 79049032491,
      "time": 161,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355067624"
    },
    {
      "job": 79049032377,
      "time": 155,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355065916"
    },
    {
      "job": 79049032350,
      "time": 150,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355063656"
    }
  ],
  "_buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/26813253901",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/robjhyndman/weird",
  "_commit": {
    "id": "3870824541ed05af0423c351a4c4eb44cfb8f616",
    "author": "Rob J Hyndman <robjhyndman@gmail.com>",
    "committer": "Rob J Hyndman <robjhyndman@gmail.com>",
    "message": "2d hdr tables use the Hyndman (1996) algorithm\n",
    "time": 1780383856
  },
  "_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": "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
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2026-01-27"
    },
    {
      "name": "v2.1.0",
      "date": "2026-05-05"
    }
  ],
  "_stars": 22,
  "_contributors": [
    {
      "user": "robjhyndman",
      "count": 578,
      "uuid": 127518
    },
    {
      "user": "imgbotapp",
      "count": 7,
      "uuid": 31427850
    },
    {
      "user": "eddelbuettel",
      "count": 2,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 127518,
    "type": "user",
    "name": "Rob J Hyndman",
    "description": "Professor of Statistics at Monash University, Australia"
  },
  "_downloads": {
    "count": 349,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/weird"
  },
  "_devurl": "https://github.com/robjhyndman/weird",
  "_pkgdown": "https://pkg.robjhyndman.com/weird/",
  "_searchresults": 32,
  "_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/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": [
    "autoplot",
    "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",
    "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": "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": "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.023663918197793,
  "_indexed": true,
  "_nocasepkg": "weird",
  "_universes": [
    "robjhyndman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0.9000",
      "date": "2026-06-02T10:20:10.000Z",
      "distro": "noble",
      "commit": "3870824541ed05af0423c351a4c4eb44cfb8f616",
      "fileid": "438a4a4a7d54f361e655cf90a3f8af5c1aa8ee2640ec759377c117a608b407f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/26813253901"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.0.9000",
      "date": "2026-06-02T10:20:11.000Z",
      "distro": "noble",
      "commit": "3870824541ed05af0423c351a4c4eb44cfb8f616",
      "fileid": "4cd14c57cf2ba9e08c4ad471a4a970ae975b1b324a19760b30aad171d7f4be48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/26813253901"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0.9000",
      "date": "2026-06-02T10:19:18.000Z",
      "commit": "3870824541ed05af0423c351a4c4eb44cfb8f616",
      "fileid": "0d740759e42a2cb3a3796e4f3678a444dc990b00c671d754d4341c280ee81e52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/26813253901"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.0.9000",
      "date": "2026-06-02T10:19:36.000Z",
      "commit": "3870824541ed05af0423c351a4c4eb44cfb8f616",
      "fileid": "9e34b21d94acc5bfaa871b875b8bb41b6e25dbc7d65c32d8757e17133a1a800a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/26813253901"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0.9000",
      "date": "2026-06-02T10:20:08.000Z",
      "commit": "3870824541ed05af0423c351a4c4eb44cfb8f616",
      "fileid": "abaa66ae5db7634adbec368a243b98a6e8f7675980efa857d04649ca84b1f972",
      "status": "success",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/26813253901"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-06-02T10:19:22.000Z",
      "commit": "3870824541ed05af0423c351a4c4eb44cfb8f616",
      "fileid": "4d35666a950d5d43f4230ddf6cebfe2cf7b5d720aae9ff35fc5f9e412c281745",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/26813253901"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-06-02T10:19:19.000Z",
      "commit": "3870824541ed05af0423c351a4c4eb44cfb8f616",
      "fileid": "3068f8266df731ee0cb5fa89279ab80534dc084d14d0385eb34274e9490ef1ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/26813253901"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-06-02T10:19:07.000Z",
      "commit": "3870824541ed05af0423c351a4c4eb44cfb8f616",
      "fileid": "1a2088a7375322538422178ccb0b98617dd8cdc46ff4e62c41e09fc6f8e9b545",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/26813253901"
    }
  ]
}