{
  "_id": "6a22796ecd65a98ecbd4c79a",
  "Package": "HRTnomaly",
  "Type": "Package",
  "Classification/MSC-2010": "62G86",
  "Title": "Historical, Relational, and Tail Anomaly-Detection Algorithms",
  "Version": "25.11.22",
  "Date": "2025-11-22",
  "Authors@R": "c(person(given = \"Luca\", \nfamily = \"Sartore\",\nrole = \"aut\",\nemail = \"luca.sartore@usda.gov\",\ncomment = \"ORCID = \\\"0000-0002-0446-1328\\\"\"),\nperson(given = \"Luca\",\nfamily = \"Sartore\",\nrole = \"cre\",\nemail = \"drwolf85@gmail.com\",\ncomment = \"ORCID = \\\"0000-0002-0446-1328\\\"\"),\nperson(given = \"Lu\",\nfamily = \"Chen\",\nrole = \"aut\",\nemail = \"lu.chen@usda.gov\",\ncomment = \"ORCID = \\\"0000-0003-3387-3484\\\"\"),\nperson(given = \"Justin\",\nfamily = \"van Wart\",\nrole = \"aut\",\nemail = \"justin.vanwart@usda.gov\"),\nperson(given = \"Andrew\", \"Dau\",\nrole = \"aut\",\nemail = \"andrew.dau@usda.gov\",\ncomment = \"ORCID = \\\"0009-0008-9482-5316\\\"\"),\nperson(given = \"Valbona\",\nfamily = \"Bejleri\",\nrole = \"aut\",\nemail = \"valbona.bejleri@usda.gov\",\ncomment = \"ORCID = \\\"0000-0001-9828-968X\\\"\"))",
  "Maintainer": "Luca Sartore <drwolf85@gmail.com>",
  "Description": "The presence of outliers in a dataset can substantially\nbias the results of statistical analyses. To correct for\noutliers, micro edits are manually performed on all records. A\nset of constraints and decision rules is typically used to aid\nthe editing process. However, straightforward decision rules\nmight overlook anomalies arising from disruption of linear\nrelationships. Computationally efficient methods are provided\nto identify historical, tail, and relational anomalies at the\ndata-entry level (Sartore et al., 2024;\n<doi:10.6339/24-JDS1136>). A score statistic is developed for\neach anomaly type, using a distribution-free approach motivated\nby the Bienaymé-Chebyshev's inequality, and fuzzy logic is used\nto detect cellwise outliers resulting from different types of\nanomalies. Each data entry is individually scored and\nindividual scores are combined into a final score to determine\nanomalous entries. In contrast to fuzzy logic, Bayesian\nbootstrap and a Bayesian test based on empirical likelihoods\nare also provided as studied by Sartore et al. (2024;\n<doi:10.3390/stats7040073>). These algorithms allow for a more\nnuanced approach to outlier detection, as it can identify\noutliers at data-entry level which are not obviously distinct\nfrom the rest of the data. --- This research was supported in\npart by the U.S. Department of Agriculture, National\nAgriculture Statistics Service. The findings and conclusions in\nthis publication are those of the authors and should not be\nconstrued to represent any official USDA, or US Government\ndetermination or policy.",
  "License": "AGPL-3",
  "Encoding": "UTF-8",
  "LazyLoad": "yes",
  "NeedsCompilation": "yes",
  "ByteCompile": "TRUE",
  "Packaged": {
    "Date": "2026-06-05 07:20:43 UTC",
    "User": "root"
  },
  "Author": "Luca Sartore [aut] (ORCID = \"0000-0002-0446-1328\"), Luca\nSartore [cre] (ORCID = \"0000-0002-0446-1328\"), Lu Chen [aut]\n(ORCID = \"0000-0003-3387-3484\"), Justin van Wart [aut], Andrew\nDau [aut] (ORCID = \"0009-0008-9482-5316\"), Valbona Bejleri\n[aut] (ORCID = \"0000-0001-9828-968X\")",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-11-25 11:32:22 UTC",
  "RemoteUrl": "https://github.com/cran/HRTnomaly",
  "RemoteRef": "HEAD",
  "RemoteSha": "7f06401f1f8370ba2beae207ce45b965ba8c33b4",
  "MD5sum": "622335415e8ed4fdceeaad3ef2e7a926",
  "_user": "cran",
  "_type": "src",
  "_file": "HRTnomaly_25.11.22.tar.gz",
  "_fileid": "ca4af0c1875b820bc41e0cd756f6b3a8b64b0b5b46b4aaff2010fbc1867dacdd",
  "_filesize": 987322,
  "_sha256": "ca4af0c1875b820bc41e0cd756f6b3a8b64b0b5b46b4aaff2010fbc1867dacdd",
  "_created": "2026-06-05T07:20:43.000Z",
  "_published": "2026-06-05T07:23:26.783Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79682475268,
      "time": 126,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431032375"
    },
    {
      "job": 79682475249,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431032204"
    },
    {
      "job": 79682475272,
      "time": 126,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431031726"
    },
    {
      "job": 79682475245,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431027215"
    },
    {
      "job": 79682116417,
      "time": 166,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430997564"
    },
    {
      "job": 79682475292,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431029681"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27001151902",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/HRTnomaly",
  "_commit": {
    "id": "7f06401f1f8370ba2beae207ce45b965ba8c33b4",
    "author": "Luca Sartore <drwolf85@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 25.11.22\n",
    "time": 1764070342
  },
  "_maintainer": {
    "name": "Luca Sartore",
    "email": "drwolf85@gmail.com",
    "login": "drwolf85",
    "description": "",
    "uuid": 8324415
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "cellWise",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-48",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "25.11.22",
      "date": "2025-11-25"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "drwolf85",
      "count": 3,
      "uuid": 8324415
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 150,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HRTnomaly"
  },
  "_searchresults": 24,
  "_topics": [
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HRTnomaly.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/drwolf85/hrtnomaly",
  "_realowner": "drwolf85",
  "_cranurl": false,
  "_releases": [
    {
      "version": "25.2.18",
      "date": "2025-02-20"
    },
    {
      "version": "25.2.25",
      "date": "2025-02-26"
    },
    {
      "version": "25.11.22",
      "date": "2025-11-25"
    }
  ],
  "_exports": [
    "bayesHRT",
    "bayeswise",
    "bootHRT",
    "cellwise",
    "class_check",
    "dif",
    "fuzzyHRT",
    "gif",
    "pif",
    "print.checkwise",
    "setCores"
  ],
  "_datasets": [
    {
      "name": "toy",
      "title": "Toy dataset",
      "object": "toy",
      "file": "toy.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "strata",
        "unit_id",
        "master_varname",
        "current_value_num",
        "pred_value",
        "anomaly_flag"
      ],
      "rows": 9265,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "HRTnomaly-package",
      "title": "HRTnomaly",
      "topics": [
        "HRTnomaly-package",
        "HRTnomaly"
      ]
    },
    {
      "page": "bayesHRT",
      "title": "Calculate Cellwise Flags for Anomaly Detection Using Bayesian Testing",
      "topics": [
        "bayesHRT"
      ]
    },
    {
      "page": "bayeswise",
      "title": "Calculate Cellwise Flags for Anomaly Detection Using Robust Bayesian Methods",
      "topics": [
        "bayeswise"
      ]
    },
    {
      "page": "bootHRT",
      "title": "Calculate Cellwise Flags for Anomaly Detection Using Bayesian Bootstrap",
      "topics": [
        "bootHRT"
      ]
    },
    {
      "page": "cellwise",
      "title": "Calculate Cellwise Flags for Anomaly Detection",
      "topics": [
        "cellwise"
      ]
    },
    {
      "page": "class_check",
      "title": "Evaluate the Accuracy of Outlier Classification Results",
      "topics": [
        "class_check"
      ]
    },
    {
      "page": "dif",
      "title": "Deep Isolation Forest",
      "topics": [
        "dif"
      ]
    },
    {
      "page": "fuzzyHRT",
      "title": "Calculate Cellwise Flags for Anomaly Detection",
      "topics": [
        "fuzzyHRT"
      ]
    },
    {
      "page": "gif",
      "title": "Generalized Isolation Forest",
      "topics": [
        "gif"
      ]
    },
    {
      "page": "pif",
      "title": "Proximity Isolation Forest",
      "topics": [
        "pif"
      ]
    },
    {
      "page": "print.checkwise",
      "title": "A Method to Print the Accuracy of Outlier Classification Results",
      "topics": [
        "print.checkwise"
      ]
    },
    {
      "page": "setCores",
      "title": "Set the number of CPU cores for HPC",
      "topics": [
        "setCores"
      ]
    },
    {
      "page": "toy",
      "title": "Toy dataset",
      "topics": [
        "toy"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/HRTnomaly/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/cran/HRTnomaly/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 2.0791812460476247,
  "_indexed": false,
  "_nocasepkg": "hrtnomaly",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://drwolf85.r-universe.dev/HRTnomaly",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "25.11.22",
      "date": "2026-06-05T07:22:59.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7f06401f1f8370ba2beae207ce45b965ba8c33b4",
      "fileid": "04ee918574455670743571ac41135d77d17178bdd0e87d139bcf555ba03553b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27001151902"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "25.11.22",
      "date": "2026-06-05T07:22:55.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7f06401f1f8370ba2beae207ce45b965ba8c33b4",
      "fileid": "6785814fc9b60ee1d6005ac84216a140132798581ff35e0964151d131bab2e34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27001151902"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "25.11.22",
      "date": "2026-06-05T07:22:55.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7f06401f1f8370ba2beae207ce45b965ba8c33b4",
      "fileid": "3955f9019367d94994690881a5e8a50601fdf7340b5c0784f24c984fd287aba2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27001151902"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "25.11.22",
      "date": "2026-06-05T07:22:37.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7f06401f1f8370ba2beae207ce45b965ba8c33b4",
      "fileid": "fb679bb361df5cd529f223f48b0f17f3a0eda051c3cfc17bd31ebc5166636fc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27001151902"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "25.11.22",
      "date": "2026-06-05T07:23:02.000Z",
      "arch": "emscripten",
      "commit": "7f06401f1f8370ba2beae207ce45b965ba8c33b4",
      "fileid": "fa9735afa1adc011cea8fda053350dd9c9ff0a2d6e5aeaf9c9700cabb0e6397b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27001151902"
    }
  ]
}