{
  "_id": "6a16970bacfb0bcc41d7c113",
  "Package": "dann",
  "Type": "Package",
  "Title": "Discriminant Adaptive Nearest Neighbor Classification",
  "Version": "1.1.0",
  "Authors@R": "person(\"Greg\", \"McMahan\", , \"gmcmacran@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Discriminant Adaptive Nearest Neighbor Classification is a\nvariation of k nearest neighbors where the shape of the\nneighborhood is data driven. This package implements dann and\nsub_dann from Hastie (1996)\n<https://web.stanford.edu/~hastie/Papers/dann_IEEE.pdf>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://github.com/gmcmacran/dann",
  "BugReports": "https://github.com/gmcmacran/dann/issues",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://gmcmacran.r-universe.dev",
  "Date/Publication": "2026-04-25 17:29:37 UTC",
  "RemoteUrl": "https://github.com/gmcmacran/dann",
  "RemoteRef": "HEAD",
  "RemoteSha": "06f60884dd2f5ad1532b5127e5752c410eef7067",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-26 10:39:10 UTC",
    "User": "root"
  },
  "Author": "Greg McMahan [aut, cre]",
  "Maintainer": "Greg McMahan <gmcmacran@gmail.com>",
  "MD5sum": "f34406a5bae18edb740f8bfda30ed38b",
  "_user": "gmcmacran",
  "_type": "src",
  "_file": "dann_1.1.0.tar.gz",
  "_fileid": "41c6fc867069e3d493b6e20a6ae6c140d15cb9c17e3af86460fbe8a556638fb3",
  "_filesize": 225190,
  "_sha256": "41c6fc867069e3d493b6e20a6ae6c140d15cb9c17e3af86460fbe8a556638fb3",
  "_created": "2026-05-26T10:39:10.000Z",
  "_published": "2026-05-27T07:02:35.290Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78024732972,
      "time": 177,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7214974674"
    },
    {
      "job": 78024732592,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7214971811"
    },
    {
      "job": 78024732945,
      "time": 154,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214970249"
    },
    {
      "job": 78024732980,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214972994"
    },
    {
      "job": 78024732967,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7214961764"
    },
    {
      "job": 78024732908,
      "time": 338,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7214997481"
    },
    {
      "job": 78024733034,
      "time": 93,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214955491"
    },
    {
      "job": 78024732785,
      "time": 269,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214989191"
    },
    {
      "job": 78024732455,
      "time": 212,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214925623"
    },
    {
      "job": 78024732668,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214963996"
    },
    {
      "job": 78024732661,
      "time": 170,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7214973192"
    },
    {
      "job": 78024733014,
      "time": 123,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7214962997"
    },
    {
      "job": 78024732825,
      "time": 149,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214968953"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/gmcmacran/dann",
  "_commit": {
    "id": "06f60884dd2f5ad1532b5127e5752c410eef7067",
    "author": "Greg McMahan <53842892+gmcmacran@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #26 from gmcmacran/style_action\n\nCheck style on PR or commit to main",
    "time": 1777138177
  },
  "_maintainer": {
    "name": "Greg McMahan",
    "email": "gmcmacran@gmail.com",
    "login": "gmcmacran",
    "description": "Data Scientist and open source statistical software creator.",
    "uuid": 53842892
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "stats",
      "version": ">= 3.5.3",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 2.1.1",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.1.1",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "fpc",
      "version": ">= 2.1-11.1",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.1",
      "role": "Imports"
    },
    {
      "package": "hardhat",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 1.18",
      "role": "Suggests"
    },
    {
      "package": "mlbench",
      "version": ">= 2.1-1",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "version": ">= 0.8.0.1",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "version": ">= 1.5",
      "role": "Suggests"
    },
    {
      "package": "recipes",
      "role": "Suggests"
    }
  ],
  "_owner": "gmcmacran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "gmcmacran",
      "count": 186,
      "uuid": 53842892
    },
    {
      "user": "olivroy",
      "count": 2,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 53842892,
    "type": "user",
    "name": "Greg McMahan",
    "description": "Data Scientist and open source statistical software creator."
  },
  "_downloads": {
    "count": 588,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dann"
  },
  "_devurl": "https://github.com/gmcmacran/dann",
  "_searchresults": 30,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dann.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gmcmacran/dann",
  "_realowner": "gmcmacran",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-12-10"
    },
    {
      "version": "0.2.0",
      "date": "2020-03-14"
    },
    {
      "version": "0.2.1",
      "date": "2020-10-08"
    },
    {
      "version": "0.2.2",
      "date": "2021-02-20"
    },
    {
      "version": "0.2.6",
      "date": "2022-02-14"
    },
    {
      "version": "1.0.0",
      "date": "2023-09-23"
    },
    {
      "version": "1.0.2",
      "date": "2025-04-12"
    },
    {
      "version": "1.1.0",
      "date": "2026-04-25"
    }
  ],
  "_exports": [
    "dann",
    "graph_eigenvalues",
    "sub_dann"
  ],
  "_help": [
    {
      "page": "dann",
      "title": "Discriminant Adaptive Nearest Neighbor Classification",
      "topics": [
        "dann"
      ]
    },
    {
      "page": "dann.data.frame",
      "title": "Discriminant Adaptive Nearest Neighbor Classification",
      "topics": [
        "dann.data.frame"
      ]
    },
    {
      "page": "dann.default",
      "title": "Discriminant Adaptive Nearest Neighbor Classification",
      "topics": [
        "dann.default"
      ]
    },
    {
      "page": "dann.formula",
      "title": "Discriminant Adaptive Nearest Neighbor Classification",
      "topics": [
        "dann.formula"
      ]
    },
    {
      "page": "dann.matrix",
      "title": "Discriminant Adaptive Nearest Neighbor Classification",
      "topics": [
        "dann.matrix"
      ]
    },
    {
      "page": "dann.recipe",
      "title": "Discriminant Adaptive Nearest Neighbor Classification",
      "topics": [
        "dann.recipe"
      ]
    },
    {
      "page": "graph_eigenvalues",
      "title": "A helper for sub_dann",
      "topics": [
        "graph_eigenvalues"
      ]
    },
    {
      "page": "graph_eigenvalues.data.frame",
      "title": "A helper for sub_dann",
      "topics": [
        "graph_eigenvalues.data.frame"
      ]
    },
    {
      "page": "graph_eigenvalues.default",
      "title": "A helper for sub_dann",
      "topics": [
        "graph_eigenvalues.default"
      ]
    },
    {
      "page": "graph_eigenvalues.formula",
      "title": "A helper for sub_dann",
      "topics": [
        "graph_eigenvalues.formula"
      ]
    },
    {
      "page": "graph_eigenvalues.matrix",
      "title": "A helper for sub_dann",
      "topics": [
        "graph_eigenvalues.matrix"
      ]
    },
    {
      "page": "graph_eigenvalues.recipe",
      "title": "A helper for sub_dann",
      "topics": [
        "graph_eigenvalues.recipe"
      ]
    },
    {
      "page": "predict.dann",
      "title": "Discriminant Adaptive Nearest Neighbor Classification",
      "topics": [
        "predict.dann"
      ]
    },
    {
      "page": "predict.sub_dann",
      "title": "Discriminant Adaptive Nearest Neighbor With Subspace Reduction",
      "topics": [
        "predict.sub_dann"
      ]
    },
    {
      "page": "print.dann",
      "title": "Print dann model",
      "topics": [
        "print.dann"
      ]
    },
    {
      "page": "print.sub_dann",
      "title": "Print dann model.",
      "topics": [
        "print.sub_dann"
      ]
    },
    {
      "page": "sub_dann",
      "title": "Discriminant Adaptive Nearest Neighbor With Subspace Reduction",
      "topics": [
        "sub_dann"
      ]
    },
    {
      "page": "sub_dann.data.frame",
      "title": "Discriminant Adaptive Nearest Neighbor With Subspace Reduction",
      "topics": [
        "sub_dann.data.frame"
      ]
    },
    {
      "page": "sub_dann.default",
      "title": "Discriminant Adaptive Nearest Neighbor With Subspace Reduction",
      "topics": [
        "sub_dann.default"
      ]
    },
    {
      "page": "sub_dann.formula",
      "title": "Discriminant Adaptive Nearest Neighbor With Subspace Reduction",
      "topics": [
        "sub_dann.formula"
      ]
    },
    {
      "page": "sub_dann.matrix",
      "title": "Discriminant Adaptive Nearest Neighbor With Subspace Reduction",
      "topics": [
        "sub_dann.matrix"
      ]
    },
    {
      "page": "sub_dann.recipe",
      "title": "Discriminant Adaptive Nearest Neighbor With Subspace Reduction",
      "topics": [
        "sub_dann.recipe"
      ]
    }
  ],
  "_readme": "https://github.com/gmcmacran/dann/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "cli",
    "cluster",
    "cpp11",
    "DEoptimR",
    "diptest",
    "farver",
    "flexmix",
    "fpc",
    "ggplot2",
    "glue",
    "gtable",
    "hardhat",
    "isoband",
    "kernlab",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "mclust",
    "modeltools",
    "nnet",
    "pillar",
    "pkgconfig",
    "prabclus",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "robustbase",
    "S7",
    "scales",
    "sparsevctrs",
    "stringi",
    "stringr",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "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": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "dann",
  "_universes": [
    "gmcmacran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-26T10:42:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "f757b604fe33aff016a1b50c56dd58ca7552900f2a286acf43a144343d291d2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-26T10:41:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "5ca988d5edc8dda7f351a29e2930e510ccc80bc95e937ff6f6ccfefbd3c22f1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-26T10:41:41.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "f80dc01af3c00af6d687b1eed734dd8ae21b359f50c981cf5f82046e3a36e148",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-26T10:41:51.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "11c6c517cc07788864307eff06115bf3ac561bf224013389e3b0d4c8bf16a430",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-26T10:41:09.000Z",
      "arch": "aarch64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "56010feb65dc9a2d897e62aef9240f56c3220da9cf15ba5a538478451897314c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-26T10:43:20.000Z",
      "arch": "x86_64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "cd899d005d1bf96fadb1c9800e4b14968f92020bb8eec966caded6a298acfa56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-26T10:40:49.000Z",
      "arch": "aarch64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "bc9bbf6b85f3a805790f3a8c332eee8117e729abba59269ba00b1e06039b8678",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-26T10:42:56.000Z",
      "arch": "x86_64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "5248e209a721b33629671f4a29a01ceb2aaa591c8bd4c5357e401bd6f954c316",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-26T10:41:42.000Z",
      "arch": "emscripten",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "818be18fdd170c4dabffb5c91310db48619d89f30b9be255556b9a4d4a9cfc73",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-26T10:40:51.000Z",
      "arch": "x86_64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "bb986fa821e234ec5f0307517e292e5cc901adbfda015fd93eaff0a223825c7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-26T10:40:37.000Z",
      "arch": "x86_64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "61aebe4e54a581a8015ae41caf5cc9f875ce382427553557800046df61ee688a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-26T10:40:38.000Z",
      "arch": "x86_64",
      "commit": "06f60884dd2f5ad1532b5127e5752c410eef7067",
      "fileid": "671352c79803a53ca7e7c5870d315b2931f309d800592c8bf173d9e007facf6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/26447219698"
    }
  ]
}