{
  "_id": "6a631e02d3420cf5dfdb7575",
  "Package": "N2R",
  "Type": "Package",
  "Title": "Fast and Scalable Approximate k-Nearest Neighbor Search Methods\nusing 'N2' Library",
  "Version": "1.0.5",
  "Authors@R": "c(person(\"Peter\", \"Kharchenko\", email = \"Peter_Kharchenko@hms.harvard.edu\", role = c(\"aut\")), person(\"Viktor\", \"Petukhov\", email = \"viktor.s.petukhov@ya.ru\", role = c(\"aut\")), person(\"Dirk\", \"Eddelbuettel\", email=\"edd@debian.org\", role=c(\"ctb\")), person(\"Evan\", \"Biederstedt\", email = \"evan.biederstedt@gmail.com\", role=c(\"cre\", \"aut\")))",
  "Description": "Implements methods to perform fast approximate K-nearest\nneighbor search on input matrix. Algorithm based on the 'N2'\nimplementation of an approximate nearest neighbor search using\nhierarchical Navigable Small World (NSW) graphs. The original\nalgorithm is described in \"Efficient and Robust Approximate\nNearest Neighbor Search Using Hierarchical Navigable Small\nWorld Graphs\", Y. Malkov and D. Yashunin,\n<doi:10.1109/TPAMI.2018.2889473>,\n<doi:10.48550/arXiv.1603.09320>.",
  "License": "Apache License 2.0",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/kharchenkolab/N2R",
  "BugReports": "https://github.com/kharchenkolab/N2R/issues",
  "NeedsCompilation": "yes",
  "Author": "Peter Kharchenko [aut], Viktor Petukhov [aut], Dirk\nEddelbuettel [ctb], Evan Biederstedt [cre, aut]",
  "Maintainer": "Evan Biederstedt <evan.biederstedt@gmail.com>",
  "Repository": "https://kharchenkolab.r-universe.dev",
  "Date/Publication": "2026-03-31 14:02:54 UTC",
  "RemoteUrl": "https://github.com/kharchenkolab/n2r",
  "RemoteRef": "HEAD",
  "RemoteSha": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
  "Packaged": {
    "Date": "2026-07-24 06:57:21 UTC",
    "User": "root"
  },
  "_user": "kharchenkolab",
  "_type": "src",
  "_file": "N2R_1.0.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/483e3a2024f439d5d211d655ac0c9b66d032e0fd95e20a1943647877013d5af7",
  "_filesize": 109864,
  "_sha256": "483e3a2024f439d5d211d655ac0c9b66d032e0fd95e20a1943647877013d5af7",
  "_expires": "2026-11-01T08:10:40.000Z",
  "_created": "2026-07-24T06:57:21.000Z",
  "_published": "2026-07-24T08:10:42.516Z",
  "_jobs": [
    {
      "job": 89420323073,
      "time": 146,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8589116897"
    },
    {
      "job": 89420323037,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8589112637"
    },
    {
      "job": 89420323008,
      "time": 137,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589113858"
    },
    {
      "job": 89420323036,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589124534"
    },
    {
      "job": 89420323045,
      "time": 144,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8590507090"
    },
    {
      "job": 89420323012,
      "time": 306,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8590543498"
    },
    {
      "job": 89420323043,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8590530624"
    },
    {
      "job": 89420323061,
      "time": 256,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8590610268"
    },
    {
      "job": 89419793286,
      "time": 192,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589064841"
    },
    {
      "job": 89420322998,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8589115271"
    },
    {
      "job": 89420323016,
      "time": 186,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8589131705"
    },
    {
      "job": 89420323019,
      "time": 181,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8589130398"
    },
    {
      "job": 89420323120,
      "time": 141,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589115188"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803",
  "_status": "success",
  "_upstream": "https://github.com/kharchenkolab/n2r",
  "_commit": {
    "id": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
    "author": "evanbiederstedt <evan.biederstedt@gmail.com>",
    "committer": "evanbiederstedt <evan.biederstedt@gmail.com>",
    "message": "changelog clarification\n",
    "time": 1774965774
  },
  "_maintainer": {
    "name": "Evan Biederstedt",
    "email": "evan.biederstedt@gmail.com",
    "login": "evanbiederstedt",
    "description": "",
    "uuid": 6968193
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Matrix",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "RcppSpdlog",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.4",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "kharchenkolab",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2026-10",
      "n": 6
    },
    {
      "week": "2026-11",
      "n": 12
    },
    {
      "week": "2026-12",
      "n": 4
    },
    {
      "week": "2026-14",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "1.0.4",
      "date": "2026-03-06"
    },
    {
      "name": "1.0.5",
      "date": "2026-03-30"
    }
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "evanbiederstedt",
      "count": 131,
      "uuid": 6968193
    },
    {
      "user": "pkharchenko",
      "count": 2,
      "uuid": 11860978
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 67511277,
    "type": "organization",
    "name": "Kharchenko Lab",
    "followers": 90
  },
  "_downloads": {
    "count": 918,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/N2R"
  },
  "_devurl": "https://github.com/kharchenkolab/n2r",
  "_searchresults": 5,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/N2R.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kharchenkolab/n2r",
  "_realowner": "kharchenkolab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-09-29"
    },
    {
      "version": "0.1.1",
      "date": "2020-12-14"
    },
    {
      "version": "1.0.0",
      "date": "2021-11-19"
    },
    {
      "version": "1.0.1",
      "date": "2022-01-18"
    },
    {
      "version": "1.0.2",
      "date": "2024-02-26"
    },
    {
      "version": "1.0.3",
      "date": "2024-02-26"
    },
    {
      "version": "1.0.4",
      "date": "2026-03-06"
    },
    {
      "version": "1.0.5",
      "date": "2026-03-30"
    }
  ],
  "_exports": [
    "crossKnn",
    "Knn"
  ],
  "_help": [
    {
      "page": "checkOpenMP",
      "title": "boolean to check OpenMP exists",
      "topics": [
        "checkOpenMP"
      ]
    },
    {
      "page": "crossKnn",
      "title": "Perform fast approximate K-nearest neighbor search of rows input matrix mA in rows of matrix mB.",
      "topics": [
        "crossKnn"
      ]
    },
    {
      "page": "Knn",
      "title": "Perform fast approximate K-nearest neighbor search on rows of the input matrix m.",
      "topics": [
        "Knn"
      ]
    }
  ],
  "_readme": "https://github.com/kharchenkolab/n2r/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppEigen",
    "RcppSpdlog"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 5.556302500767288,
  "_indexed": true,
  "_nocasepkg": "n2r",
  "_universes": [
    "kharchenkolab",
    "evanbiederstedt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-07-24T06:59:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/2d17351778c64dedf811e78fa48b4e7f911d5ead23313aeecf7a258e0b14527d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-07-24T06:59:41.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/be3055ae97f440f612727f6d3bdb69ebd9de2fe66f2f472af6d6e8a321be745f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-07-24T06:59:36.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/37e39d6f9169fb5a82418763dbf7e212df611ec802023c59f53d633f06639863",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-07-24T06:59:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/4016f6ba1b6cabf1d37c5edf3a9af6605065653aa68c2450a2410728e131dced",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-07-24T08:04:49.000Z",
      "arch": "aarch64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/88f1b01eee6a0e0357b388bbf47582ed06442932da88fa2f449dfa2970c4e928",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-07-24T08:05:56.000Z",
      "arch": "x86_64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/eb5de915aff6a7169010edf3a050fdc7f9c1793711c49a89c543ba755595bce4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-07-24T08:06:03.000Z",
      "arch": "aarch64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/d1ef505ea038d83122c363e8125779710f239a026c6081820489bd7135877dbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-07-24T08:08:33.000Z",
      "arch": "x86_64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/0dd47b4e61b8c8b3827e8c20aca3d93e8f7ee99936709b6610a195f5ebc48aea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-07-24T06:59:49.000Z",
      "arch": "emscripten",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/a099af0dfd0ca6ab2b730ef51979d2754580da2388b0f397c136aeeaa124d231",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-07-24T06:59:11.000Z",
      "arch": "x86_64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/2e978fac077be58e402dab7271df9ac381c7ed3e72416ba67922a9dceef3c7c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-07-24T06:59:30.000Z",
      "arch": "x86_64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/b6dc4902a2c6f1cec20c3fc719f7df64ac9f5c43aa482b463b1cd4564f212586",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-07-24T06:58:59.000Z",
      "arch": "x86_64",
      "commit": "8045c294d3ab42a5261b6953b8a4e6b5e8bf6cf9",
      "fileid": "https://r2.ropensci.org/7ebd30b4734fffc3231707542c0bbae7bb2b8894b7223b8c7b816c3d51e9832b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kharchenkolab/actions/runs/30073695803"
    }
  ]
}