{
  "_id": "6a51f9ef9b92047c28d53533",
  "Package": "nat.fastcore",
  "Title": "Re-implementation of nat core functions in Rust",
  "Version": "0.5.0",
  "Authors@R": "person(\"Philipp\", \"Schlegel\", , \"pms70@cam.ac.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-5633-1314\"))",
  "Description": "A re-implementation of core 'nat' (Neuroanatomy Toolbox)\nfunctions in Rust for speed. Provides fast skeleton/tree (DAG)\noperations (geodesic distances, Strahler order, segment\ngeneration, twig pruning, synapse flow centrality, node\nclassification, skeleton healing), mesh connected components,\nand NBLAST/synNBLAST neuron similarity scoring, exposed to R\nvia extendr.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/rextendr/version": "0.4.2",
  "SystemRequirements": "Cargo (Rust's package manager), rustc >= 1.65.0, xz",
  "Config/pak/sysreqs": "xz-utils libclang-dev",
  "Repository": "https://schlegelp.r-universe.dev",
  "Date/Publication": "2026-07-11 07:51:48 UTC",
  "RemoteUrl": "https://github.com/schlegelp/fastcore-rs",
  "RemoteRef": "HEAD",
  "RemoteSha": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
  "RemoteSubdir": "R/nat.fastcore",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-11 08:01:55 UTC",
    "User": "root"
  },
  "Author": "Philipp Schlegel [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5633-1314>)",
  "Maintainer": "Philipp Schlegel <pms70@cam.ac.uk>",
  "_user": "schlegelp",
  "_type": "src",
  "_file": "nat.fastcore_0.5.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c3372f74da5d56ba53198d9ebc124d2cc1092caa75d934868e9bb3d65e5463a0",
  "_filesize": 179808,
  "_sha256": "c3372f74da5d56ba53198d9ebc124d2cc1092caa75d934868e9bb3d65e5463a0",
  "_expires": "2026-10-19T08:08:14.000Z",
  "_created": "2026-07-11T08:01:55.000Z",
  "_published": "2026-07-11T08:08:15.884Z",
  "_jobs": [
    {
      "job": 86526234377,
      "time": 153,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8246618187"
    },
    {
      "job": 86526234367,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8246621715"
    },
    {
      "job": 86526234361,
      "time": 169,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246620236"
    },
    {
      "job": 86526234373,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246616672"
    },
    {
      "job": 86526234343,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8246611768"
    },
    {
      "job": 86526234365,
      "time": 301,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8246636581"
    },
    {
      "job": 86526234348,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8246611654"
    },
    {
      "job": 86526234363,
      "time": 213,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8246625919"
    },
    {
      "job": 86525993791,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246598077"
    },
    {
      "job": 86526234337,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 86526234380,
      "time": 166,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8246619546"
    },
    {
      "job": 86526234364,
      "time": 171,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8246620360"
    },
    {
      "job": 86526234356,
      "time": 167,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246619600"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902",
  "_status": "success",
  "_upstream": "https://github.com/schlegelp/fastcore-rs",
  "_commit": {
    "id": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
    "author": "Philipp Schlegel <schlegelp@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #7 from schlegelp/copilot/fix-deploy-job-failure\n\nFix deploy: update mkdocstrings config for v2.0 breaking change",
    "time": 1783756308
  },
  "_maintainer": {
    "name": "Philipp Schlegel",
    "email": "pms70@cam.ac.uk",
    "login": "schlegelp",
    "description": "Researcher working on neurons, circuits and connectomes; 🐘 @uni_matrix@qoto.org",
    "uuid": 7161148,
    "orcid": "0000-0002-5633-1314"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [],
  "_owner": "schlegelp",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 4
    },
    {
      "week": "2026-25",
      "n": 3
    },
    {
      "week": "2026-26",
      "n": 2
    },
    {
      "week": "2026-28",
      "n": 12
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-06-15"
    },
    {
      "name": "v0.3.0",
      "date": "2026-06-28"
    },
    {
      "name": "v0.4.0",
      "date": "2026-07-09"
    },
    {
      "name": "v0.5.0",
      "date": "2026-07-11"
    }
  ],
  "_topics": [
    "dag",
    "navis",
    "neurons",
    "rust",
    "cargo"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "schlegelp",
      "count": 140,
      "uuid": 7161148
    },
    {
      "user": "copilot",
      "count": 6,
      "uuid": 198982749
    }
  ],
  "_userbio": {
    "uuid": 7161148,
    "type": "user",
    "name": "Philipp Schlegel",
    "followers": 87,
    "description": "Researcher working on neurons, circuits and connectomes; 🐘 @uni_matrix@qoto.org"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nat.fastcore"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/schlegelp/fastcore-rs",
  "_searchresults": 1,
  "_cargo": true,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/nat.fastcore.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "all_dists_to_root",
    "break_segments",
    "child_to_parent_dists",
    "classify_nodes",
    "connected_components",
    "dist_to_root",
    "generate_segments",
    "geodesic_distances",
    "geodesic_nearest",
    "geodesic_pairs",
    "has_cycles",
    "heal_skeleton",
    "mesh_connected_components",
    "nblast",
    "nblast_allbyall",
    "nblast_pairs",
    "node_indices",
    "prune_twigs",
    "reroot_rewire",
    "smat_auto_limit",
    "stitch_fragments",
    "strahler_index",
    "synapse_flow_centrality",
    "synblast",
    "synblast_allbyall"
  ],
  "_help": [
    {
      "page": "all_dists_to_root",
      "title": "Compute all distances to root.",
      "topics": [
        "all_dists_to_root"
      ]
    },
    {
      "page": "break_segments",
      "title": "Break the tree into its linear segments (one integer vector per segment).",
      "topics": [
        "break_segments"
      ]
    },
    {
      "page": "child_to_parent_dists",
      "title": "Calculate child -> parent distances.",
      "topics": [
        "child_to_parent_dists"
      ]
    },
    {
      "page": "classify_nodes",
      "title": "Classify nodes into roots (0), leaves (1), branch points (2) and slabs (3).",
      "topics": [
        "classify_nodes"
      ]
    },
    {
      "page": "connected_components",
      "title": "Connected components.",
      "topics": [
        "connected_components"
      ]
    },
    {
      "page": "dist_to_root",
      "title": "Return path length from a single node to the root.",
      "topics": [
        "dist_to_root"
      ]
    },
    {
      "page": "generate_segments",
      "title": "Generate linear segments while maximising segment lengths.",
      "topics": [
        "generate_segments"
      ]
    },
    {
      "page": "geodesic_distances",
      "title": "Geodesic distances between nodes.",
      "topics": [
        "geodesic_distances"
      ]
    },
    {
      "page": "geodesic_nearest",
      "title": "Distance to the nearest target for each source.",
      "topics": [
        "geodesic_nearest"
      ]
    },
    {
      "page": "geodesic_pairs",
      "title": "Geodesic distances for explicit pairs of nodes.",
      "topics": [
        "geodesic_pairs"
      ]
    },
    {
      "page": "has_cycles",
      "title": "Check whether the tree contains cycles.",
      "topics": [
        "has_cycles"
      ]
    },
    {
      "page": "heal_skeleton",
      "title": "Heal a fragmented skeleton by reconnecting its fragments.",
      "topics": [
        "heal_skeleton"
      ]
    },
    {
      "page": "mesh_connected_components",
      "title": "Find connected components of a triangle mesh.",
      "topics": [
        "mesh_connected_components"
      ]
    },
    {
      "page": "nblast",
      "title": "Forward NBLAST of every query neuron against every target neuron.",
      "topics": [
        "nblast"
      ]
    },
    {
      "page": "nblast_allbyall",
      "title": "All-by-all forward NBLAST.",
      "topics": [
        "nblast_allbyall"
      ]
    },
    {
      "page": "nblast_pairs",
      "title": "Forward NBLAST for a set of (query, target) index pairs.",
      "topics": [
        "nblast_pairs"
      ]
    },
    {
      "page": "node_indices",
      "title": "For each node ID in 'parents' find its index in 'nodes'.",
      "topics": [
        "node_indices"
      ]
    },
    {
      "page": "prune_twigs",
      "title": "Prune twigs below given threshold.",
      "topics": [
        "prune_twigs"
      ]
    },
    {
      "page": "reroot_rewire",
      "title": "Regenerate a parent vector after adding a set of undirected edges.",
      "topics": [
        "reroot_rewire"
      ]
    },
    {
      "page": "smat_auto_limit",
      "title": "The 'limit_dist=\"auto\"' value for a scoring matrix.",
      "topics": [
        "smat_auto_limit"
      ]
    },
    {
      "page": "stitch_fragments",
      "title": "Find the minimal-length edges that reconnect the fragments of a skeleton.",
      "topics": [
        "stitch_fragments"
      ]
    },
    {
      "page": "strahler_index",
      "title": "Calculate Strahler Index.",
      "topics": [
        "strahler_index"
      ]
    },
    {
      "page": "synapse_flow_centrality",
      "title": "Synapse flow centrality for each node.",
      "topics": [
        "synapse_flow_centrality"
      ]
    },
    {
      "page": "synblast",
      "title": "Forward syNBLAST of every query neuron against every target neuron.",
      "topics": [
        "synblast"
      ]
    },
    {
      "page": "synblast_allbyall",
      "title": "All-by-all forward syNBLAST over synapse clouds.",
      "topics": [
        "synblast_allbyall"
      ]
    }
  ],
  "_readme": "https://github.com/schlegelp/fastcore-rs/raw/HEAD/R/nat.fastcore/README.md",
  "_rundeps": [],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "nat.fastcore",
  "_universes": [
    "schlegelp"
  ],
  "_previous": "0.4.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-07-11T08:04:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/b20d8ae20af7b84ee4b499792abcf915b7b3aa0aaf52a5f12ebc207bf84c513f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-07-11T08:05:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/f5fc64a68a5600147bbc09aa0e7e26c4c3a90c6947867af9c410a749c42956ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-07-11T08:04:59.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/a8a89e70bcfb55d8a728aec8bfcdd73a1f8ebf78965e27c8815baa9c5299060d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-07-11T08:04:27.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/1972c1245bd2a431fcfaebd9387f303f46f3fb020412ca0de992d9f19d033ac6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-07-11T08:03:49.000Z",
      "arch": "aarch64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/f1249dc4d2de01ce58b74fec59f3b4cc2afc085c85a711e3f1759c102fe0bcba",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-07-11T08:05:38.000Z",
      "arch": "x86_64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/6e6802462b6e5353b70c6ac0899670cdc133304a0f43b2810607e96d27dee9fd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-07-11T08:03:49.000Z",
      "arch": "aarch64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/5f8b98dbb9eec574ec58303233a978ceca0b622b420ae4e1ce988b3abbcf0e65",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-07-11T08:04:50.000Z",
      "arch": "x86_64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/47b03e754776857b85a1e4ec104f2aff59f748a6caa60087b2d5087b0598fb67",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-07-11T08:03:32.000Z",
      "arch": "x86_64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/369b4768c12755adfbe24df1ed6d5b55e71febb376f55c81f2977ae73df7d70f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-07-11T08:03:47.000Z",
      "arch": "x86_64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/a2a920237ef5c9df317c70b67dc2199290835c9ad7d2357a9896d6916bb17bb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-07-11T08:03:31.000Z",
      "arch": "x86_64",
      "commit": "56dbffdea75bc4c47ec43ebc03cce6f12eb764a3",
      "fileid": "https://r2.ropensci.org/4a3bab0e5b6db5b18903df36df32a440e4504f6870d68096a2b5a2b7d77457a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/schlegelp/actions/runs/29145396902"
    }
  ]
}