{
  "_id": "6b01859d304f2b5a0e8d4cb1",
  "Type": "Package",
  "Package": "natcpp",
  "Title": "Fast C++ Primitives for the 'NeuroAnatomy Toolbox'",
  "Version": "0.3.2.9000",
  "Authors@R": "c(person(given = \"Gregory\",\nfamily = \"Jefferis\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jefferis@gmail.com\",\ncomment = c(ORCID = \"0000-0002-0587-9355\")),\nperson(given = \"libigl contributors\",\nrole = c(\"ctb\", \"cph\"),\ncomment = \"bundled libigl fast winding number code (MPL-2.0); see src/vendor/README.md\"))",
  "Description": "Fast functions implemented in C++ via 'Rcpp' to support\nthe 'NeuroAnatomy Toolbox' ('nat') ecosystem. These functions\nprovide large speed-ups for basic manipulation of neuronal\nskeletons over pure R functions found in the 'nat' package. The\nexpectation is that end users will not use this package\ndirectly, but instead the 'nat' package will automatically use\nroutines from this package when it is available to enable large\nperformance gains.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/natverse/natcpp, https://natverse.org/natcpp/",
  "BugReports": "https://github.com/natverse/natcpp/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://natverse.r-universe.dev",
  "Date/Publication": "2026-09-22 10:08:55 UTC",
  "RemoteUrl": "https://github.com/natverse/natcpp",
  "RemoteRef": "HEAD",
  "RemoteSha": "8742508331f10c1703559939e51bf551499d0944",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-21 11:43:21 UTC",
    "User": "root"
  },
  "Author": "Gregory Jefferis [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0587-9355>),\nlibigl contributors [ctb, cph] (bundled libigl fast winding number code\n(MPL-2.0); see src/vendor/README.md)",
  "Maintainer": "Gregory Jefferis <jefferis@gmail.com>",
  "_user": "natverse",
  "_type": "src",
  "_file": "natcpp_0.3.2.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/a706eb94364ad66cf50bf92ce7aa148a035b8ebfad6e35e5851d3d8c976c29b7",
  "_filesize": 292775,
  "_sha256": "a706eb94364ad66cf50bf92ce7aa148a035b8ebfad6e35e5851d3d8c976c29b7",
  "_expires": "2027-03-01T11:50:52.000Z",
  "_created": "2026-11-21T11:43:21.000Z",
  "_published": "2026-11-21T11:50:53.506Z",
  "_upstream": "https://github.com/natverse/natcpp",
  "_status": "success",
  "_maintainer": {
    "name": "Gregory Jefferis",
    "email": "jefferis@gmail.com",
    "login": "jefferis",
    "linkedin": "in/greg-jefferis-8b865287",
    "orcid": "0000-0002-0587-9355",
    "twitter": "@gsxej",
    "description": "develops @natverse, directs collaborative @flyconnectome group at Dept of Zoology, joint head of Division of Neurobiology @ MRC LMB.",
    "uuid": 23763
  },
  "_jobs": [
    {
      "job": 136835183729,
      "time": 127,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14705339217"
    },
    {
      "job": 136835183715,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14705389218"
    },
    {
      "job": 136835183718,
      "time": 102,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14705882515"
    },
    {
      "job": 136835183748,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14706056991"
    },
    {
      "job": 136835183705,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14705906629"
    },
    {
      "job": 136835183795,
      "time": 252,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14705778259"
    },
    {
      "job": 136835183683,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14706052079"
    },
    {
      "job": 136835183695,
      "time": 199,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14705857815"
    },
    {
      "job": 136834396247,
      "time": 202,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14705687789"
    },
    {
      "job": 136835183728,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14706106513"
    },
    {
      "job": 136835183713,
      "time": 359,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14705389714"
    },
    {
      "job": 136835183778,
      "time": 159,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14705537626"
    },
    {
      "job": 136835183783,
      "time": 107,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14704963809"
    },
    {
      "job": 136835183743,
      "time": 392,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14705614146"
    },
    {
      "job": 136835183746,
      "time": 125,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14705961517"
    }
  ],
  "_buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812",
  "_commit": {
    "id": "8742508331f10c1703559939e51bf551499d0944",
    "author": "Gregory Jefferis <jefferis@gmail.com>",
    "committer": "Gregory Jefferis <jefferis@gmail.com>",
    "message": "Start 0.3.2.9000 dev cycle\n\nCo-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>\n",
    "time": 1790071735
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "RcppThread",
      "role": "LinkingTo"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "natverse",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 4
    },
    {
      "week": "2026-29",
      "n": 2
    },
    {
      "week": "2026-30",
      "n": 1
    },
    {
      "week": "2026-38",
      "n": 8
    },
    {
      "week": "2026-39",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.3.0",
      "date": "2026-07-08"
    },
    {
      "name": "v0.3.1",
      "date": "2026-07-20"
    },
    {
      "name": "v0.3.2",
      "date": "2026-09-22"
    }
  ],
  "_topics": [
    "computational-neuroscience",
    "neuroanatomy-toolbox",
    "cpp"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "jefferis",
      "count": 94,
      "uuid": 23763
    }
  ],
  "_userbio": {
    "uuid": 53296153,
    "type": "organization",
    "name": "natverse",
    "followers": 40,
    "description": "R tools for quantitative neuroanatomy"
  },
  "_downloads": {
    "count": 519,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/natcpp"
  },
  "_devurl": "https://github.com/natverse/natcpp",
  "_pkgdown": "https://natverse.org/natcpp/",
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/natcpp.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/natverse/natcpp",
  "_realowner": "natverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-07-13"
    },
    {
      "version": "0.2",
      "date": "2025-10-14"
    },
    {
      "version": "0.3.0",
      "date": "2026-07-08"
    },
    {
      "version": "0.3.1",
      "date": "2026-07-20"
    },
    {
      "version": "0.3.2",
      "date": "2026-09-26"
    }
  ],
  "_authors": [
    {
      "name": "Gregory Jefferis",
      "email": "jefferis@gmail.com",
      "orcid": "0000-0002-0587-9355",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "libigl contributors",
      "role": [
        "ctb",
        "cph"
      ]
    }
  ],
  "_exports": [
    "c_coords21dindex",
    "c_EdgeListFromSegList",
    "c_ijkpos",
    "c_listlengths",
    "c_ListofMatrixRows",
    "c_pointsinside",
    "c_seglengths",
    "c_sub2ind",
    "c_topntail",
    "c_topntail_list",
    "c_total_cable",
    "c_weighted_jaccard_dense",
    "c_weighted_jaccard_sparse"
  ],
  "_help": [
    {
      "page": "c_coords21dindex",
      "title": "Convert physical coordinates to 1d indices into image array",
      "topics": [
        "c_coords21dindex"
      ]
    },
    {
      "page": "c_EdgeListFromSegList",
      "title": "Turn a segment list into an edgelist suitable for constructing an ngraph",
      "topics": [
        "c_EdgeListFromSegList"
      ]
    },
    {
      "page": "c_ijkpos",
      "title": "Convert physical coordinates to pixel coordinates",
      "topics": [
        "c_ijkpos"
      ]
    },
    {
      "page": "c_listlengths",
      "title": "A simple function to compute the lengths of the elements of an R list",
      "topics": [
        "c_listlengths"
      ]
    },
    {
      "page": "c_ListofMatrixRows",
      "title": "Convert a matrix into list of row vectors",
      "topics": [
        "c_ListofMatrixRows"
      ]
    },
    {
      "page": "c_pointsinside",
      "title": "Test which points lie inside a triangle mesh (generalised winding number)",
      "topics": [
        "c_pointsinside"
      ]
    },
    {
      "page": "c_seglengths",
      "title": "Compute summed segment lengths or total cable",
      "topics": [
        "c_seglengths",
        "c_total_cable"
      ]
    },
    {
      "page": "c_sub2ind",
      "title": "Find 1D index given n-dimensional indices",
      "topics": [
        "c_sub2ind"
      ]
    },
    {
      "page": "c_topntail",
      "title": "Find the first and last elements of all vectors in a list",
      "topics": [
        "c_topntail",
        "c_topntail_list"
      ]
    },
    {
      "page": "c_weighted_jaccard_dense",
      "title": "Dense weighted Jaccard similarity via C++",
      "topics": [
        "c_weighted_jaccard_dense"
      ]
    },
    {
      "page": "c_weighted_jaccard_sparse",
      "title": "Sparse weighted Jaccard similarity via C++",
      "topics": [
        "c_weighted_jaccard_sparse"
      ]
    }
  ],
  "_readme": "https://github.com/natverse/natcpp/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppEigen",
    "RcppThread"
  ],
  "_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": 3.5440680443502757,
  "_indexed": true,
  "_nocasepkg": "natcpp",
  "_universes": [
    "natverse",
    "jefferis"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:45:33.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/21c1ae597357179d394efabb0ff0fd917018abc766bf140fdaf3c7705e380882",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:45:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/a3577f916e10331e1b4f0e593da3765d916ec5b9298a92291c64fd70036ec2da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:45:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/53bef614da98f7d80f1ec68bd376af743715b81096a420bb0c7bbacc70e9ccf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:45:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/84d2363c16fd474fa399c933d66795ea478dc843d8fb354c512a980d41f88101",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:45:24.000Z",
      "arch": "aarch64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/50f923829dda6947f3aaa4f51319974386acfec03bde6f564e86b7c411990de5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:47:15.000Z",
      "arch": "x86_64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/b1db50cde675d1a79442db44dca2bc47bebb8c70d3acef7f29b36fdb61040cf7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:45:30.000Z",
      "arch": "aarch64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/c803949765f016cccca4335f64b58de1c1c8f2f8aa9efd0ec20e724257dfd43e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:46:09.000Z",
      "arch": "x86_64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/cb78c6d2a8660c3000340ae8330b0426d2c2bf92ecc7fdc54b60ef6365c82388",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:45:24.000Z",
      "arch": "emscripten",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/d8e95ac598c9d6875ee6e593e1a7d002a61110a368d6bf1b8fb0f5fc1d7dda45",
      "status": "success",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:48:25.000Z",
      "arch": "aarch64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/17d0880b83cf592d435010069ed19de198f03ed1b0dc0df03d2dc16c130e424d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:44:46.000Z",
      "arch": "x86_64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/503a4ce581853c3ef18a7e8fd6bfc99dd5deb6f41f8eefadf5cfc5e6b97e9afb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:44:48.000Z",
      "arch": "x86_64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/3ca607bf14959da6fbf7f1fc09f4c16d066f0ff6334776e2c8152caf954a83cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:49:09.000Z",
      "arch": "aarch64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/05ad1fe91fcec3557b2a9d848d2676cc8da816f992639ec4e7322d1a3225ed5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.2.9000",
      "date": "2026-11-21T11:44:53.000Z",
      "arch": "x86_64",
      "commit": "8742508331f10c1703559939e51bf551499d0944",
      "fileid": "https://r2.ropensci.org/7dc6bcb7ab4c868eb30e05f878ceca74138e519f3552a242653e3ef2ef01fe20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/44900212812"
    }
  ]
}