{
  "_id": "6a61f50d35834fefe99ebc76",
  "Package": "tsitter",
  "Title": "Tree-Sitter Parsing Tools",
  "Version": "0.1.0.9000",
  "Authors@R": "c(\nperson(\"Gábor\", \"Csárdi\", , \"csardi.gabor@gmail.com\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"),\ncomment = c(ROR = \"03wc8by49\")),\nperson(\"Tree-sitter authors\", role = \"cph\", comment = \"Tree-sitter C library\")\n)",
  "Description": "Common tree-sitter parsing tools for R. It is meant to be\nused by other packages that specialize in particular languages\nand file formats.",
  "License": "MIT + file LICENSE",
  "Config/Needs/check": "gaborcsardi/tsjsonc, gaborcsardi/tstoml",
  "Config/Needs/coverage": "gaborcsardi/tsjsonc, gaborcsardi/tstoml",
  "Additional_repositories": "https://github.com/r-lib/tsitter/releases/download",
  "Encoding": "UTF-8",
  "URL": "https://github.com/r-lib/tsitter, https://r-lib.github.io/tsitter/",
  "BugReports": "https://github.com/r-lib/tsitter/issues",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "r-lib/asciicast, tidyverse/tidytemplate,\ngaborcsardi/tsjsonc, gaborcsardi/tstoml",
  "Biarch": "true",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://r-lib.r-universe.dev",
  "Date/Publication": "2026-07-23 08:06:47 UTC",
  "RemoteUrl": "https://github.com/r-lib/tsitter",
  "RemoteRef": "HEAD",
  "RemoteSha": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-23 10:59:25 UTC",
    "User": "root"
  },
  "Author": "Gábor Csárdi [aut, cre],\nPosit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>),\nTree-sitter authors [cph] (Tree-sitter C library)",
  "Maintainer": "Gábor Csárdi <csardi.gabor@gmail.com>",
  "_user": "r-lib",
  "_type": "src",
  "_file": "tsitter_0.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/af7f9742a4f8049cd0dc927b2f7dec336947b310e77dc6ab9f8aee9f578544ec",
  "_filesize": 422040,
  "_sha256": "af7f9742a4f8049cd0dc927b2f7dec336947b310e77dc6ab9f8aee9f578544ec",
  "_expires": "2026-10-31T11:03:39.000Z",
  "_created": "2026-07-23T10:59:25.000Z",
  "_published": "2026-07-23T11:03:41.619Z",
  "_jobs": [
    {
      "job": 89187293732,
      "time": 110,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8561181833"
    },
    {
      "job": 89187293738,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8561190410"
    },
    {
      "job": 89187293720,
      "time": 127,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8561189921"
    },
    {
      "job": 89187293765,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8561195980"
    },
    {
      "job": 89187293689,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8561180200"
    },
    {
      "job": 89187293697,
      "time": 190,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8561215544"
    },
    {
      "job": 89187293683,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8561187294"
    },
    {
      "job": 89187293768,
      "time": 182,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8561211661"
    },
    {
      "job": 89186662213,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8561132343"
    },
    {
      "job": 89187293685,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8561196200"
    },
    {
      "job": 89187293696,
      "time": 112,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8561182316"
    },
    {
      "job": 89187293682,
      "time": 148,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8561197704"
    },
    {
      "job": 89187293693,
      "time": 114,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8561182972"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636",
  "_status": "success",
  "_upstream": "https://github.com/r-lib/tsitter",
  "_commit": {
    "id": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
    "author": "Gábor Csárdi <csardi.gabor@gmail.com>",
    "committer": "Gábor Csárdi <csardi.gabor@gmail.com>",
    "message": "Update test snapshots\n",
    "time": 1784794007
  },
  "_maintainer": {
    "name": "Gábor Csárdi",
    "email": "csardi.gabor@gmail.com",
    "login": "gaborcsardi",
    "mastodon": "@gaborcsardi@fosstodon.org",
    "bluesky": "@gaborcsardi.org",
    "description": "",
    "uuid": 660288
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "pillar",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tsjsonc",
      "role": "Suggests"
    },
    {
      "package": "tstoml",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "r-lib",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 14
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 9
    },
    {
      "week": "2025-49",
      "n": 10
    },
    {
      "week": "2025-50",
      "n": 15
    },
    {
      "week": "2025-51",
      "n": 5
    },
    {
      "week": "2025-52",
      "n": 6
    },
    {
      "week": "2026-02",
      "n": 10
    },
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-04",
      "n": 5
    },
    {
      "week": "2026-05",
      "n": 7
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 4
    },
    {
      "week": "2026-21",
      "n": 3
    },
    {
      "week": "2026-30",
      "n": 15
    }
  ],
  "_tags": [
    {
      "name": "repo",
      "date": "2026-01-26"
    },
    {
      "name": "src/contrib",
      "date": "2026-01-26"
    },
    {
      "name": "v0.1.0",
      "date": "2026-05-18"
    }
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "gaborcsardi",
      "count": 120,
      "uuid": 660288
    }
  ],
  "_userbio": {
    "uuid": 22618716,
    "type": "organization",
    "name": "R infrastructure",
    "followers": 747
  },
  "_downloads": {
    "count": 324,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tsitter"
  },
  "_devurl": "https://github.com/r-lib/tsitter",
  "_pkgdown": "https://r-lib.github.io/tsitter/",
  "_searchresults": 35,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tsitter.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-lib/tsitter",
  "_realowner": "r-lib",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-05-22"
    }
  ],
  "_exports": [
    "as_ts_caller_arg",
    "ts_caller_arg",
    "ts_caller_env",
    "ts_check_named_arg",
    "ts_cnd",
    "ts_collapse",
    "ts_list_parsers",
    "ts_parse_error_cnd",
    "ts_tree_ast",
    "ts_tree_delete",
    "ts_tree_deleted",
    "ts_tree_dom",
    "ts_tree_format",
    "ts_tree_insert",
    "ts_tree_mark_selection1",
    "ts_tree_new",
    "ts_tree_query",
    "ts_tree_select",
    "ts_tree_select<-",
    "ts_tree_select1",
    "ts_tree_selected_nodes",
    "ts_tree_selection",
    "ts_tree_sexpr",
    "ts_tree_unserialize",
    "ts_tree_update",
    "ts_tree_write"
  ],
  "_help": [
    {
      "page": "double-bracket-ts-tree",
      "title": "Unserialize parts of a tree-sitter tree",
      "concept": [
        "serialization functions",
        "ts_tree generics"
      ],
      "topics": [
        "[[.ts_tree"
      ]
    },
    {
      "page": "double-bracket-set-ts-tree",
      "title": "Edit parts of a tree-sitter tree",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "[[<-.ts_tree"
      ]
    },
    {
      "page": "about",
      "title": "About tsitter",
      "topics": [
        "about"
      ]
    },
    {
      "page": "as.character.ts_tree",
      "title": "The document of a tree-sitter tree as a character scalar",
      "topics": [
        "as.character.ts_tree"
      ]
    },
    {
      "page": "as.raw.ts_tree",
      "title": "Raw bytes of a document of a tree-sitter tree",
      "topics": [
        "as.raw.ts_tree"
      ]
    },
    {
      "page": "format.ts_tree",
      "title": "Format tree-sitter trees",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "format.ts_tree"
      ]
    },
    {
      "page": "print.ts_tree",
      "title": "Print a tree-sitter tree",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "print.ts_tree"
      ]
    },
    {
      "page": "select-set",
      "title": "Edit parts of a tree-sitter tree",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "select-set",
        "ts_tree_deleted",
        "ts_tree_select<-"
      ]
    },
    {
      "page": "ts_list_parsers",
      "title": "List installed tree-sitter parsers",
      "topics": [
        "ts_list_parsers"
      ]
    },
    {
      "page": "ts_tree_ast",
      "title": "Show the annotated syntax tree of a tree-sitter tree",
      "concept": [
        "ts_tree exploration",
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_ast"
      ]
    },
    {
      "page": "ts_tree_delete",
      "title": "Delete selected elements from a tree-sitter tree",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_delete"
      ]
    },
    {
      "page": "ts_tree_dom",
      "title": "Print the document object model (DOM) of a tree-sitter tree",
      "concept": [
        "ts_tree exploration",
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_dom"
      ]
    },
    {
      "page": "ts_tree_format",
      "title": "Format the selected elements of a tree sitter tree for printing",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_format"
      ]
    },
    {
      "page": "ts_tree_insert",
      "title": "Insert a new element into a tree-sitter tree",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_insert"
      ]
    },
    {
      "page": "ts_tree_mark_selection1",
      "title": "Helper function to decide which AST nodes to highlight for a selection (internal)",
      "topics": [
        "ts_tree_mark_selection1",
        "ts_tree_mark_selection1.ts_tree"
      ]
    },
    {
      "page": "ts_tree_new",
      "title": "Create tree-sitter tree from file or string",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_new"
      ]
    },
    {
      "page": "ts_tree_query",
      "title": "Run tree-sitter queries on tree-sitter trees",
      "concept": [
        "ts_tree exploration",
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_query"
      ]
    },
    {
      "page": "ts_tree_select",
      "title": "Select elements of a tree-sitter tree",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_select"
      ]
    },
    {
      "page": "ts_tree_select1",
      "title": "Select nodes from a tree-sitter tree (internal)",
      "topics": [
        "ts_tree_select1",
        "ts_tree_select1.ts_tree.character",
        "ts_tree_select1.ts_tree.integer",
        "ts_tree_select1.ts_tree.logical",
        "ts_tree_select1.ts_tree.NULL",
        "ts_tree_select1.ts_tree.numeric",
        "ts_tree_select1.ts_tree.ts_tree_selector_default",
        "ts_tree_select1.ts_tree.ts_tree_selector_ids",
        "ts_tree_select1.ts_tree.ts_tree_selector_regex",
        "ts_tree_select1.ts_tree.ts_tree_selector_tsquery"
      ]
    },
    {
      "page": "ts_tree_selection",
      "title": "Helper functions for tree-sitter tree selections (internal)",
      "topics": [
        "ts_tree_selected_nodes",
        "ts_tree_selection"
      ]
    },
    {
      "page": "ts_tree_sexpr",
      "title": "Show the syntax tree of a tree-sitter tree",
      "concept": [
        "ts_tree exploration",
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_sexpr"
      ]
    },
    {
      "page": "ts_tree_unserialize",
      "title": "Unserialize selected elements of a tree-sitter tree",
      "concept": [
        "serialization functions",
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_unserialize"
      ]
    },
    {
      "page": "ts_tree_update",
      "title": "Replace selected elements with a new element in a tree-sitter tree",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_update"
      ]
    },
    {
      "page": "ts_tree_write",
      "title": "Write a tree-sitter tree to a file",
      "concept": [
        "ts_tree generics"
      ],
      "topics": [
        "ts_tree_write"
      ]
    },
    {
      "page": "ts_tree-brackets",
      "title": "Convert ts_tree object to a data frame",
      "concept": [
        "ts_tree exploration"
      ],
      "topics": [
        "ts_tree-brackets",
        "[.ts_tree"
      ]
    }
  ],
  "_readme": "https://github.com/r-lib/tsitter/raw/HEAD/README.md",
  "_rundeps": [
    "cli"
  ],
  "_score": 5.19728055812562,
  "_indexed": true,
  "_nocasepkg": "tsitter",
  "_universes": [
    "r-lib",
    "gaborcsardi"
  ],
  "_previous": "0.0.0.9000",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:01:25.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/a1d6274f28c1e425696f9e490e6a2273779b18409fff4c677ded32ae3f8c6ee2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:01:40.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/2a98e0ae29ef473a06a9ab174898f0cbf2dd1f42e13370115f5cdaa9f518c1d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:01:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/9865bbf844c49912ffcb4f248fe66668dc8e23ab4b2aefe387bc514c670f5433",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:01:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/e98d219e28e822f729fda9d6a3c8f461e67c97d19534653f8059bfbb78ec6c9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:01:14.000Z",
      "arch": "aarch64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/aa595ec64dddce00c978c17d3a05d45a24080fcd3324febd54b2ae9f29d8347a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:02:30.000Z",
      "arch": "x86_64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/2826dfa7cf185e04ff11f3047421740e704526cb82a0a24788b6da93146253d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:01:32.000Z",
      "arch": "aarch64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/793e26a21b5701b848602797d75342514516bfb6118c104c733d37472c2c2665",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:02:18.000Z",
      "arch": "x86_64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/4141ff00bab8398819fad75c6575847b31dde2efd4abed9b4f66ef1233b262d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:02:14.000Z",
      "arch": "emscripten",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/60041f5f326bf216fb74ae0dfb161e0fee3a7172f8fa56c9542e4d0fe818ef70",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:01:00.000Z",
      "arch": "x86_64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/8e9f46382341ddf97a070a3d6a47cb41616ec50fc9919bf8096fb5f06a1fc055",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:01:35.000Z",
      "arch": "x86_64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/0a536932f75beadd34f691083665934fca093a4d514b3812a4f7e174d1a26bd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-23T11:00:53.000Z",
      "arch": "x86_64",
      "commit": "e2c30a57dee7a63ed4d17ed3ebd8366ea0a19970",
      "fileid": "https://r2.ropensci.org/87ced454b568189a98c04717da8c0ec0ee9f5bf5abd334f5d914e4a009263f74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/30001212636"
    }
  ]
}