{
  "_id": "6a15781dacfb0bcc41d66530",
  "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",
  "URL": "https://github.com/gmcmacran/dann",
  "BugReports": "https://github.com/gmcmacran/dann/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-26 10:34:33 UTC",
    "User": "root"
  },
  "Author": "Greg McMahan [aut, cre]",
  "Maintainer": "Greg McMahan <gmcmacran@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-04-25 23:57:48 UTC",
  "RemoteUrl": "https://github.com/cran/dann",
  "RemoteRef": "HEAD",
  "RemoteSha": "137600c2e4c9f4739f22a643382f62ec6c203d1f",
  "MD5sum": "5a1930fccc1f7084004848a830ae0708",
  "_user": "cran",
  "_type": "src",
  "_file": "dann_1.1.0.tar.gz",
  "_fileid": "a893669347fa73cca7c6c28d68d0f8c34f73dc4b536c8e0abcb0381390556a4e",
  "_filesize": 225844,
  "_sha256": "a893669347fa73cca7c6c28d68d0f8c34f73dc4b536c8e0abcb0381390556a4e",
  "_created": "2026-05-26T10:34:33.000Z",
  "_published": "2026-05-26T10:38:21.040Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77856458198,
      "time": 166,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7214891444"
    },
    {
      "job": 77856458007,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7214889353"
    },
    {
      "job": 77856458066,
      "time": 155,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214888136"
    },
    {
      "job": 77856458029,
      "time": 176,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214894544"
    },
    {
      "job": 77855950583,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214835759"
    },
    {
      "job": 77856457958,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214879307"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26447018298",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/dann",
  "_commit": {
    "id": "137600c2e4c9f4739f22a643382f62ec6c203d1f",
    "author": "Greg McMahan <gmcmacran@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1777161468
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.0",
      "date": "2026-04-25"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "gmcmacran",
      "count": 8,
      "uuid": 53842892
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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": false,
  "_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/cran/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": 2.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "dann",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://gmcmacran.r-universe.dev/dann",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-26T10:37:17.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "137600c2e4c9f4739f22a643382f62ec6c203d1f",
      "fileid": "79543d41f4441559bcc138ad333bbcd8928521f6e2a170af2b17ceb7b933f9f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26447018298"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-26T10:37:08.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "137600c2e4c9f4739f22a643382f62ec6c203d1f",
      "fileid": "809780dc2c62368ae94ab481ea460509fba5d0bba877fee465123a3728d69dae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26447018298"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-26T10:37:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "137600c2e4c9f4739f22a643382f62ec6c203d1f",
      "fileid": "ecb21031b92a1675e35daae4505ea5a336e8f8512117593b91b51b2fce14c087",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26447018298"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-26T10:37:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "137600c2e4c9f4739f22a643382f62ec6c203d1f",
      "fileid": "007bfaf96a76c719d23d47dc62fdffa827c772b1bb694f8e3d8501bc773ff670",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26447018298"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-26T10:37:05.000Z",
      "arch": "emscripten",
      "commit": "137600c2e4c9f4739f22a643382f62ec6c203d1f",
      "fileid": "20d741eee16e439c7b9e07a44b09953274991e0782bd603beee34381cfe6a274",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26447018298"
    }
  ]
}