{
  "_id": "6a12901bacfb0bcc41d0a399",
  "Package": "tsitter",
  "Title": "Tree-Sitter Parsing Tools",
  "Version": "0.0.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",
  "Remotes": [
    "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",
  "Biarch": "true",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://r-lib.r-universe.dev",
  "Date/Publication": "2026-05-18 11:07:36 UTC",
  "RemoteUrl": "https://github.com/r-lib/tsitter",
  "RemoteRef": "HEAD",
  "RemoteSha": "904bbd778988520aa88688f5d2dca312da2a8bf0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-23 09:04:14 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>",
  "MD5sum": "6a1c9081a5fcb7e16391bfd99a668058",
  "_user": "r-lib",
  "_type": "src",
  "_file": "tsitter_0.0.0.9000.tar.gz",
  "_fileid": "90ad54528ac4a9d8fee2a131cecc41f581ee13cebcc1e2c901cf29d59bf5e002",
  "_filesize": 427974,
  "_sha256": "90ad54528ac4a9d8fee2a131cecc41f581ee13cebcc1e2c901cf29d59bf5e002",
  "_created": "2026-05-23T09:04:14.000Z",
  "_published": "2026-05-24T05:43:55.726Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77574782728,
      "time": 160,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175842850"
    },
    {
      "job": 77574782806,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175842699"
    },
    {
      "job": 77574782691,
      "time": 147,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175841801"
    },
    {
      "job": 77574782621,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182581864"
    },
    {
      "job": 77574782699,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175838341"
    },
    {
      "job": 77574782842,
      "time": 238,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175849421"
    },
    {
      "job": 77574782738,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175841183"
    },
    {
      "job": 77574782627,
      "time": 251,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182594795"
    },
    {
      "job": 77574782687,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175828872"
    },
    {
      "job": 77574782688,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175840018"
    },
    {
      "job": 77574782659,
      "time": 179,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175844344"
    },
    {
      "job": 77574782846,
      "time": 174,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175844010"
    },
    {
      "job": 77574782693,
      "time": 206,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175846519"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-lib/tsitter",
  "_commit": {
    "id": "904bbd778988520aa88688f5d2dca312da2a8bf0",
    "author": "Gábor Csárdi <csardi.gabor@gmail.com>",
    "committer": "Gábor Csárdi <csardi.gabor@gmail.com>",
    "message": "Git and R ignore coverage output files\n",
    "time": 1779102456
  },
  "_maintainer": {
    "name": "Gábor Csárdi",
    "email": "csardi.gabor@gmail.com",
    "login": "gaborcsardi",
    "mastodon": "@gaborcsardi@fosstodon.org",
    "bluesky": "@gaborcsardi.org",
    "description": "",
    "uuid": 660288
  },
  "_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
    }
  ],
  "_tags": [
    {
      "name": "repo",
      "date": "2026-01-26"
    },
    {
      "name": "src/contrib",
      "date": "2026-01-26"
    }
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "gaborcsardi",
      "count": 105,
      "uuid": 660288
    }
  ],
  "_userbio": {
    "uuid": 22618716,
    "type": "organization",
    "name": "R infrastructure"
  },
  "_downloads": {
    "count": 0,
    "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": 30,
  "_rbuild": "4.6.0",
  "_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",
    "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.1003705451175625,
  "_indexed": true,
  "_nocasepkg": "tsitter",
  "_universes": [
    "r-lib",
    "gaborcsardi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-05-23T09:06:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "214023e4674b762d8de84f945163fdb410c50c3277a47b7fa579d8bab1365e49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-05-23T09:06:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "94a81857d84cbb9d3026d60045edff78864c14be041b4adf7d0dc0c58689b13b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-05-23T09:06:46.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "d97079a4de60582346ba22b4d03305faf288995d00916bbbb1b23f38ba8cf58a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-05-24T05:41:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "7b798a47091baf63a3d2ee828afb006d66ae56f562fddeaa19d1d7ff046e0b2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-05-23T09:06:11.000Z",
      "arch": "aarch64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "71153b715365846232d80ac55e35d3518e600d948c4e4bfc77ed04abcd97202f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-05-23T09:08:04.000Z",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "ca0e759a66c575db65a6b74e717b2b1b44a91947f1dd9aacc46c3066b9649d9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-05-23T09:06:38.000Z",
      "arch": "aarch64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "4297d3b7ed030b88a60ca3e05cffe6938619f7353cd09df996c33de443b5b926",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-05-24T05:42:50.000Z",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "8c2c9d7f0f0c7b36732dc0d62ed04fec78192c328253e354809fe729bd3ac60d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9000",
      "date": "2026-05-23T09:06:39.000Z",
      "arch": "emscripten",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "3dbe3127366676c296d92e6549860bdcef2ba0e14b29cfdcecda12d96ba9978b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-05-23T09:07:00.000Z",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "1cbc6cb6fe7481fb494d93d40586e2c0ad99992df7d977388f8a12927a4e5ebe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-05-23T09:06:55.000Z",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "21b61369af73c80f6ef2b3ac1f830d111a1bba843fcced7f7bf166b8d8d8a253",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-05-23T09:07:17.000Z",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "2fec844f9e5d113cff3de324c57166c5f368ce8e5ad74bec8f153ad0860fd770",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26328746826"
    }
  ]
}