{
  "_id": "6ab8fd0299f7aa8c6aa3959c",
  "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",
  "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-08-28 02:50:00 UTC",
  "RemoteUrl": "https://github.com/gmcmacran/dann",
  "RemoteRef": "HEAD",
  "RemoteSha": "5fc587148cd8865977add1b848ab1f2d619c1031",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-27 11:18:08 UTC",
    "User": "root"
  },
  "Author": "Greg McMahan [aut, cre]",
  "Maintainer": "Greg McMahan <gmcmacran@gmail.com>",
  "_user": "gmcmacran",
  "_type": "src",
  "_file": "dann_1.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7b4422688099b66162ab16f139d63e0f511c9e6320f4af98669c230028c7221f",
  "_filesize": 344463,
  "_sha256": "7b4422688099b66162ab16f139d63e0f511c9e6320f4af98669c230028c7221f",
  "_expires": "2027-01-05T11:24:48.000Z",
  "_created": "2026-09-27T11:18:08.000Z",
  "_published": "2026-09-27T11:24:50.291Z",
  "_jobs": [
    {
      "job": 108608799441,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10930153783"
    },
    {
      "job": 108608799429,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10930706397"
    },
    {
      "job": 108608799454,
      "time": 142,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10930761053"
    },
    {
      "job": 108608799438,
      "time": 173,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10930527926"
    },
    {
      "job": 108608799412,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10929939413"
    },
    {
      "job": 108608799472,
      "time": 175,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10930940574"
    },
    {
      "job": 108608799440,
      "time": 159,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10929889655"
    },
    {
      "job": 108608799442,
      "time": 261,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10930358333"
    },
    {
      "job": 108608190521,
      "time": 241,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10929849555"
    },
    {
      "job": 108608799410,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10930248356"
    },
    {
      "job": 108608799459,
      "time": 336,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10930537046"
    },
    {
      "job": 108608799461,
      "time": 161,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10929824799"
    },
    {
      "job": 108608799481,
      "time": 134,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10930328317"
    },
    {
      "job": 108608799443,
      "time": 360,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10930074266"
    },
    {
      "job": 108608799478,
      "time": 125,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10929894469"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118",
  "_status": "success",
  "_upstream": "https://github.com/gmcmacran/dann",
  "_commit": {
    "id": "5fc587148cd8865977add1b848ab1f2d619c1031",
    "author": "Greg McMahan <53842892+gmcmacran@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #28 from gmcmacran/alter_threading\n\nadd function to control threading",
    "time": 1787885400
  },
  "_maintainer": {
    "name": "Greg McMahan",
    "email": "gmcmacran@gmail.com",
    "login": "gmcmacran",
    "description": "Data Scientist and open source statistical software creator.",
    "uuid": 53842892
  },
  "_distro": "resolute",
  "_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": 1,
  "_updates": [
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "gmcmacran",
      "count": 193,
      "uuid": 53842892
    },
    {
      "user": "olivroy",
      "count": 2,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 53842892,
    "type": "user",
    "name": "Greg McMahan",
    "followers": 7,
    "description": "Data Scientist and open source statistical software creator."
  },
  "_downloads": {
    "count": 508,
    "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": 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"
    },
    {
      "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/gmcmacran/dann/raw/HEAD/man/figures/logo.png",
  "_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.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": 4.15836249209525,
  "_indexed": true,
  "_nocasepkg": "dann",
  "_universes": [
    "gmcmacran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-09-27T11:20:32.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/300ffb0b523138616047a3e99467af9338427c2fe8386507aedcb4551222b34b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-09-27T11:20:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/c547cf1c8ae9d93e04df2d47186a92e0ab76933796c798abb6711c90b02bfd2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-09-27T11:20:28.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/1b911958e7867a7c551f3af9c68db11f39cc0873c78bf2ed044606119043e074",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-09-27T11:20:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/eca7a28557c5ffe33555e4cd8a16b69a75f1b7470d0f4440d2216e54fc5cb6df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-09-27T11:20:07.000Z",
      "arch": "aarch64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/73f8b91e8b1a5549367705d06b9649422593ea3916f2e98780f1e42a9cb8d85f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-09-27T11:20:37.000Z",
      "arch": "x86_64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/192849d2adc4335c94a5aaf5105c1373162dcea30a76d2bb1db57db76f4450e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-09-27T11:20:23.000Z",
      "arch": "aarch64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/d295ce759e09e27c4b9fb94158dcf335a8d5436d3ff7374f5041bff052c11208",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-09-27T11:21:47.000Z",
      "arch": "x86_64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/e5983b239a4dd9478dc06dabf7a36d05034ed445e616aafbae075b0e6f8b6568",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-09-27T11:20:39.000Z",
      "arch": "emscripten",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/081c6d1c391b3a6ede5f8f03ad611121eeefe5b4526d6dea8c017d71e3dee7a1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-27T11:22:47.000Z",
      "arch": "aarch64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/0a75f9811b4ac68fbd0baaaee1dbdc20a7545cfd700d94bccbfe004a4613a341",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-27T11:19:32.000Z",
      "arch": "x86_64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/efcb359793b63e899cd1019cb98ea11e20b389737759decbe82e4ad3e3e368b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-27T11:19:33.000Z",
      "arch": "x86_64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/e741978a34aff5a5b31e409d8e238fb1c2512eaf357ef20d2792d2c1ffad9b5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-27T11:23:22.000Z",
      "arch": "aarch64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/5d10f40b84bc50a4e91114d701647925a7c20572afa6fec026eb90ed23204c18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-09-27T11:19:29.000Z",
      "arch": "x86_64",
      "commit": "5fc587148cd8865977add1b848ab1f2d619c1031",
      "fileid": "https://r2.ropensci.org/0dec234c12bb0cdf8bcc8b170529c19b66dccdf72ad0ffcd94591814dd07abfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gmcmacran/actions/runs/36315073118"
    }
  ]
}