{
  "_id": "6a5e8d5b9baadeef8ab57b3a",
  "Type": "Package",
  "Package": "natcpp",
  "Title": "Fast C++ Primitives for the 'NeuroAnatomy Toolbox'",
  "Version": "0.3.1",
  "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",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-20 21:00:21 UTC",
    "User": "root"
  },
  "Author": "Gregory Jefferis [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0587-9355>)",
  "Maintainer": "Gregory Jefferis <jefferis@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-20 17:10:13 UTC",
  "RemoteUrl": "https://github.com/cran/natcpp",
  "RemoteRef": "HEAD",
  "RemoteSha": "8fbdfb5a5ddbbad379f87b8d8fc26f99206c8ed1",
  "_user": "cran",
  "_type": "src",
  "_file": "natcpp_0.3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/032f4355e1f5e15f171e03bdbf26cc00defcbd87eb7e9f8ee2f0f45cc9a2b2f8",
  "_filesize": 127891,
  "_sha256": "032f4355e1f5e15f171e03bdbf26cc00defcbd87eb7e9f8ee2f0f45cc9a2b2f8",
  "_expires": "2026-10-28T21:04:25.000Z",
  "_created": "2026-07-20T21:00:21.000Z",
  "_published": "2026-07-20T21:04:27.572Z",
  "_jobs": [
    {
      "job": 88473594066,
      "time": 153,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8475666294"
    },
    {
      "job": 88473593967,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8475675729"
    },
    {
      "job": 88473593958,
      "time": 179,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8475677795"
    },
    {
      "job": 88473593996,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8475661057"
    },
    {
      "job": 88472880323,
      "time": 187,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8475592910"
    },
    {
      "job": 88473593950,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8475661166"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29778242313",
  "_status": "success",
  "_upstream": "https://github.com/cran/natcpp",
  "_commit": {
    "id": "8fbdfb5a5ddbbad379f87b8d8fc26f99206c8ed1",
    "author": "Gregory Jefferis <jefferis@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.1\n",
    "time": 1784567413
  },
  "_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
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2",
      "date": "2025-10-14"
    },
    {
      "name": "0.3.0",
      "date": "2026-07-08"
    },
    {
      "name": "0.3.1",
      "date": "2026-07-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jefferis",
      "count": 4,
      "uuid": 23763
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 621,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 290,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/natcpp"
  },
  "_devurl": "https://github.com/natverse/natcpp",
  "_pkgdown": "https://natverse.org/natcpp/",
  "_searchresults": 6,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_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": false,
  "_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"
    }
  ],
  "_exports": [
    "c_coords21dindex",
    "c_EdgeListFromSegList",
    "c_ijkpos",
    "c_listlengths",
    "c_ListofMatrixRows",
    "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_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/cran/natcpp/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix",
    "Rcpp",
    "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": 2.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "natcpp",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://natverse.r-universe.dev/natcpp",
  "_previous": "0.3.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-07-20T21:03:04.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8fbdfb5a5ddbbad379f87b8d8fc26f99206c8ed1",
      "fileid": "https://r2.ropensci.org/fef75c190bf69fd723a5431bc633480ddfe743109339620903e5c581d9f6f602",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29778242313"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-07-20T21:03:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8fbdfb5a5ddbbad379f87b8d8fc26f99206c8ed1",
      "fileid": "https://r2.ropensci.org/898d4ab710ad98bb782a11321f0b293760ab1156656902026a91d43c309ceec0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29778242313"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-07-20T21:03:27.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8fbdfb5a5ddbbad379f87b8d8fc26f99206c8ed1",
      "fileid": "https://r2.ropensci.org/a2acd078e6204b4615bb17a13a341f8d4c9895cae6646742305eb42f545391a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29778242313"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-07-20T21:02:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8fbdfb5a5ddbbad379f87b8d8fc26f99206c8ed1",
      "fileid": "https://r2.ropensci.org/cc2dd6c61ed8a9a1181ad41c1b64f985be8dccca911e711a53136518bb76fea4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29778242313"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-07-20T21:03:02.000Z",
      "arch": "emscripten",
      "commit": "8fbdfb5a5ddbbad379f87b8d8fc26f99206c8ed1",
      "fileid": "https://r2.ropensci.org/aa7e168028f14c6e5b2f89cf14a6ad8488ef68eddd88d6d301865201469b2428",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29778242313"
    }
  ]
}