{
  "_id": "6ae08184219c1d21c5455810",
  "Package": "dann",
  "Type": "Package",
  "Title": "Discriminant Adaptive Nearest Neighbor Classification",
  "Version": "1.3.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. The neighborhood is elongated\nalong class boundaries and shrunk in the orthogonal direction.\nThis package implements dann and sub_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-10-27 10:43:53 UTC",
    "User": "root"
  },
  "Author": "Greg McMahan [aut, cre]",
  "Maintainer": "Greg McMahan <gmcmacran@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-08-28 18:53:15 UTC",
  "RemoteUrl": "https://github.com/cran/dann",
  "RemoteRef": "HEAD",
  "RemoteSha": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
  "_user": "cran",
  "_type": "src",
  "_file": "dann_1.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e8678ddc433564f312d07b0c4c7b3fc6812cc84a16245645f12660776d3c5ffb",
  "_filesize": 342622,
  "_sha256": "e8678ddc433564f312d07b0c4c7b3fc6812cc84a16245645f12660776d3c5ffb",
  "_expires": "2027-02-04T10:48:35.000Z",
  "_created": "2026-10-27T10:43:53.000Z",
  "_published": "2026-10-27T10:48:36.847Z",
  "_upstream": "https://github.com/cran/dann",
  "_status": "success",
  "_maintainer": {
    "name": "Greg McMahan",
    "email": "gmcmacran@gmail.com",
    "login": "gmcmacran",
    "description": "Data Scientist and open source statistical software creator.",
    "uuid": 53842892
  },
  "_jobs": [
    {
      "job": 122143923085,
      "time": 114,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12727802394"
    },
    {
      "job": 122143923004,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12728597512"
    },
    {
      "job": 122143923053,
      "time": 118,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12728312144"
    },
    {
      "job": 122143923027,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12727852371"
    },
    {
      "job": 122142533342,
      "time": 195,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12728757017"
    },
    {
      "job": 122143923000,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12728137502"
    },
    {
      "job": 122143923026,
      "time": 218,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12728522717"
    },
    {
      "job": 122143922957,
      "time": 183,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12728887422"
    },
    {
      "job": 122143922990,
      "time": 236,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12728077798"
    },
    {
      "job": 122143922940,
      "time": 133,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12728742430"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40490338962",
  "_commit": {
    "id": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
    "author": "Greg McMahan <gmcmacran@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.3.0\n",
    "time": 1787943195
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 1,
  "_updates": [
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-34",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.0",
      "date": "2026-04-25"
    },
    {
      "name": "1.2.0",
      "date": "2026-08-22"
    },
    {
      "name": "1.3.0",
      "date": "2026-08-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "gmcmacran",
      "count": 10,
      "uuid": 53842892
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 390,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dann"
  },
  "_devurl": "https://github.com/gmcmacran/dann",
  "_searchresults": 32,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dann.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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"
    },
    {
      "version": "1.2.0",
      "date": "2026-08-22"
    },
    {
      "version": "1.3.0",
      "date": "2026-08-28"
    }
  ],
  "_exports": [
    "dann",
    "dann_get_threads",
    "dann_has_openmp",
    "dann_set_threads",
    "graph_eigenvalues",
    "sub_dann"
  ],
  "_help": [
    {
      "page": "dann",
      "title": "Discriminant Adaptive Nearest Neighbor Classification",
      "topics": [
        "dann"
      ]
    },
    {
      "page": "dann_set_threads",
      "title": "Control the number of threads dann uses",
      "topics": [
        "dann_get_threads",
        "dann_has_openmp",
        "dann_set_threads"
      ]
    },
    {
      "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 choosing sub_dann's numDim",
      "topics": [
        "graph_eigenvalues"
      ]
    },
    {
      "page": "graph_eigenvalues.data.frame",
      "title": "A helper for choosing sub_dann's numDim",
      "topics": [
        "graph_eigenvalues.data.frame"
      ]
    },
    {
      "page": "graph_eigenvalues.default",
      "title": "A helper for choosing sub_dann's numDim",
      "topics": [
        "graph_eigenvalues.default"
      ]
    },
    {
      "page": "graph_eigenvalues.formula",
      "title": "A helper for choosing sub_dann's numDim",
      "topics": [
        "graph_eigenvalues.formula"
      ]
    },
    {
      "page": "graph_eigenvalues.matrix",
      "title": "A helper for choosing sub_dann's numDim",
      "topics": [
        "graph_eigenvalues.matrix"
      ]
    },
    {
      "page": "graph_eigenvalues.recipe",
      "title": "A helper for choosing sub_dann's numDim",
      "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 sub_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"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/dann/raw/HEAD/man/figures/logo.png",
  "_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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 3.1583624920952498,
  "_indexed": false,
  "_nocasepkg": "dann",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://gmcmacran.r-universe.dev/dann",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-10-27T10:45:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
      "fileid": "https://r2.ropensci.org/2616f5b876e541f05c88ff825e811e1cf22f6c403a1ffda1613c48a2ab17af33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40490338962"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-10-27T10:46:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
      "fileid": "https://r2.ropensci.org/5e82ac46a6315c7dcbdafbfe8882345a573a3be9e7e46e7e1595653c14a4b0f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40490338962"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-10-27T10:45:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
      "fileid": "https://r2.ropensci.org/5d9669f14a4a58a0e21bd09b55cb76ece2128ba6e8518c7a61065423fb324a5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40490338962"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-10-27T10:46:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
      "fileid": "https://r2.ropensci.org/93277b48e195a2dcc6479a983b5f0756acc6001e80b6e6affee4ac021fe3fb7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40490338962"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-10-27T10:46:03.000Z",
      "arch": "emscripten",
      "commit": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
      "fileid": "https://r2.ropensci.org/dd4a9ed90ef8df1a8b1cb0ca68761fc6179a9a0afffeed4028dc5a6b3f8cb9e1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40490338962"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-10-27T10:47:06.000Z",
      "arch": "aarch64",
      "commit": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
      "fileid": "https://r2.ropensci.org/0c937b182280edeb9a19001b6457371203da5e29f559c632be67137b6f1fd3d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40490338962"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-10-27T10:45:13.000Z",
      "arch": "x86_64",
      "commit": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
      "fileid": "https://r2.ropensci.org/466a55a44c93be97971d23cdb0359c20fdeea5c6e2fcffab5bb195d458718b13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40490338962"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-10-27T10:47:27.000Z",
      "arch": "aarch64",
      "commit": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
      "fileid": "https://r2.ropensci.org/7b0b8d1eec30eae19ac3b9fce846a045bbcf83ad3531fe7f1ec16bf8d43aba6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40490338962"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-10-27T10:45:16.000Z",
      "arch": "x86_64",
      "commit": "de24cf5744c0c2a9d815f4c4bfc2f61f3333482f",
      "fileid": "https://r2.ropensci.org/fac8fbf8a220e962509ff910cf51e29a5dd7b144e9f0743fd74270e28cd3d3ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40490338962"
    }
  ]
}