{
  "_id": "6a2124e4cd65a98ecbd20947",
  "Type": "Package",
  "Package": "natcpp",
  "Title": "Fast C++ Primitives for the 'NeuroAnatomy Toolbox'",
  "Version": "0.2",
  "Authors@R": "person(given = \"Gregory\",\nfamily = \"Jefferis\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jefferis@gmail.com\",\ncomment = c(ORCID = \"0000-0002-0587-9355\"))",
  "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",
  "RoxygenNote": "7.3.2",
  "Repository": "https://natverse.r-universe.dev",
  "Date/Publication": "2026-04-04 08:34:27 UTC",
  "RemoteUrl": "https://github.com/natverse/natcpp",
  "RemoteRef": "HEAD",
  "RemoteSha": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-04 06:55:08 UTC",
    "User": "root"
  },
  "Author": "Gregory Jefferis [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0587-9355>)",
  "Maintainer": "Gregory Jefferis <jefferis@gmail.com>",
  "MD5sum": "92cf4de685b7253c77a5b4a530cf45bc",
  "_user": "natverse",
  "_type": "src",
  "_file": "natcpp_0.2.tar.gz",
  "_fileid": "a6b4890de221766b18a0deb8598de0d2674a08d7eb0201f15d2136363e423b4e",
  "_filesize": 107928,
  "_sha256": "a6b4890de221766b18a0deb8598de0d2674a08d7eb0201f15d2136363e423b4e",
  "_created": "2026-06-04T06:55:08.000Z",
  "_published": "2026-06-04T07:10:28.012Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79465920212,
      "time": 878,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7405188218"
    },
    {
      "job": 79465920248,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7404983376"
    },
    {
      "job": 79465920251,
      "time": 113,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7404982732"
    },
    {
      "job": 79465920238,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7404986291"
    },
    {
      "job": 79465920263,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7404976082"
    },
    {
      "job": 79465920257,
      "time": 359,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7405044068"
    },
    {
      "job": 79465920225,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7404986882"
    },
    {
      "job": 79465920216,
      "time": 194,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405002329"
    },
    {
      "job": 79465597259,
      "time": 145,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7404952897"
    },
    {
      "job": 79465920213,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7404979253"
    },
    {
      "job": 79465920305,
      "time": 136,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7404988862"
    },
    {
      "job": 79465920215,
      "time": 143,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": ""
    },
    {
      "job": 79465920204,
      "time": 106,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7404979898"
    }
  ],
  "_buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/natverse/natcpp",
  "_commit": {
    "id": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
    "author": "Gregory Jefferis <jefferis@gmail.com>",
    "committer": "Gregory Jefferis <jefferis@gmail.com>",
    "message": "dev: bump actions versions\n",
    "time": 1775291667
  },
  "_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
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "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": "2025-42",
      "n": 12
    },
    {
      "week": "2026-14",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "computational-neuroscience",
    "neuroanatomy-toolbox",
    "cpp"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jefferis",
      "count": 65,
      "uuid": 23763
    }
  ],
  "_userbio": {
    "uuid": 53296153,
    "type": "organization",
    "name": "natverse",
    "description": "R tools for quantitative neuroanatomy"
  },
  "_downloads": {
    "count": 168,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/natcpp"
  },
  "_devurl": "https://github.com/natverse/natcpp",
  "_pkgdown": "https://natverse.org/natcpp/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/natcpp.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_exports": [
    "c_coords21dindex",
    "c_EdgeListFromSegList",
    "c_ijkpos",
    "c_listlengths",
    "c_ListofMatrixRows",
    "c_seglengths",
    "c_sub2ind",
    "c_topntail",
    "c_topntail_list",
    "c_total_cable"
  ],
  "_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_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"
      ]
    }
  ],
  "_readme": "https://github.com/natverse/natcpp/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "natcpp",
  "_universes": [
    "natverse",
    "jefferis"
  ],
  "_binaries": [
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2",
      "date": "2026-05-05T09:28:22.000Z",
      "arch": "x86_64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "4dd616ea170b0439af2fe3498159c623cd63d8eda6dd5ae1018267c1ec6f3390",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/25368297710"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-06-04T07:09:54.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "85ba9fc1f3816848ab80436578acc7a9c71206937205f631025f8842adb3a5ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-06-04T06:57:10.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "8c91c3d24905bfcd4b3241954820206dc58eb888fc9d11d59fb1b70ce0e592bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-06-04T06:57:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "d060c17680640695d217f39b7acad7507f30d792d57749cc8fb4e54196149185",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-06-04T06:57:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "b1bad51fdcd420fee17094885e2c50320c8b780115e4dd29c0720621d12107ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2",
      "date": "2026-06-04T06:56:45.000Z",
      "arch": "aarch64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "e3d5239c07c886937137d2bdbc162b010f8dbba518b8e604bccaf40d37a346b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2",
      "date": "2026-06-04T07:00:06.000Z",
      "arch": "x86_64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "abfb227cd9393d9c58671186d038f4afedd515f3b6e141f829627a604f8602a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2",
      "date": "2026-06-04T06:57:08.000Z",
      "arch": "aarch64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "02b1b3d7b7bd5dff584879ffe399762f2263e7f12ab86294b1638cc109cadcf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2",
      "date": "2026-06-04T06:58:07.000Z",
      "arch": "x86_64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "4fb774e8de818bce4cc310afcb316cf2d40f06f20690d52711ad687a1f2663d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2",
      "date": "2026-06-04T06:57:05.000Z",
      "arch": "emscripten",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "b780cc5897939ae18e25ae3964d4ce68a81b0d98b2cd8bb90f221dc3ba88007b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-06-04T06:56:57.000Z",
      "arch": "x86_64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "0fea62f22e6c68d19bf9a65c131c1eea3d6b48cca8e87d15d362c99bd36cf4a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-06-04T06:56:26.000Z",
      "arch": "x86_64",
      "commit": "95519ef6a900fc5315ad872fbd75a61dcb3d5d5e",
      "fileid": "640adb9498bd70449015955576212006415fafbb5ce74980598d46dd0f40fdc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/natverse/actions/runs/26935931093"
    }
  ]
}