{
  "_id": "6a3aefd15cdecea1d67f7b12",
  "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-06-23 20:39:16 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": "c0edab2f609a0ec57ec630b9031c1f22",
  "_user": "r-lib",
  "_type": "src",
  "_file": "tsitter_0.0.0.9000.tar.gz",
  "_fileid": "bf933b0896fccff9f33dd3c9d09adde9d056bf5834660b1611709f170a364f7e",
  "_filesize": 430891,
  "_sha256": "bf933b0896fccff9f33dd3c9d09adde9d056bf5834660b1611709f170a364f7e",
  "_created": "2026-06-23T20:39:16.000Z",
  "_published": "2026-06-23T20:42:57.439Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83056786407,
      "time": 132,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7832896206"
    },
    {
      "job": 83056786301,
      "time": 133,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7832894768"
    },
    {
      "job": 83056786328,
      "time": 131,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7832895651"
    },
    {
      "job": 83056786286,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7832894140"
    },
    {
      "job": 83056786323,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7832885252"
    },
    {
      "job": 83056786351,
      "time": 180,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7832912330"
    },
    {
      "job": 83056786326,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7832889380"
    },
    {
      "job": 83056786346,
      "time": 180,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7832912007"
    },
    {
      "job": 83056161331,
      "time": 191,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7832843733"
    },
    {
      "job": 83056786219,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7832887010"
    },
    {
      "job": 83056786352,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7832882154"
    },
    {
      "job": 83056786309,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7832879029"
    },
    {
      "job": 83056786362,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7832879658"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473",
  "_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",
    "followers": 740
  },
  "_downloads": {
    "count": 507,
    "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.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",
    "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.1673173347481764,
  "_indexed": true,
  "_nocasepkg": "tsitter",
  "_universes": [
    "r-lib",
    "gaborcsardi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:41:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "9030d41e2af59c67a6786e5a6fe12028a2614f669a13166ca51613b71e0bfbc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:41:36.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "3ab61e9baaea0759bb94acd57103440481569dbfbf205922118f2ef09a166b20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:41:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "402d680c28f7dfd3bcb09650845542ea1e682b8b73f15a37dd99dce17ea72ef4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:41:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "18b2511564cf34e0fdea96b4caf4d0eeee0c5bab3eb36724b0695bed71f4f0e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:41:11.000Z",
      "arch": "aarch64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "a7ac144654d0e2d0fd028bc970c20fd0789bb4fb97c496c146696ce371f92fd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:41:58.000Z",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "7800e109a1f2de8033fa5bbda71f638150e3ebd591e76b6de1d93b4356b201a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:41:10.000Z",
      "arch": "aarch64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "9c6832c70945d978e0cf7a10df773fe6ea154a413ac849d03df6f900d7bd89f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:41:57.000Z",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "23950c397214bd8062abbdcb291fb4a0b39ec72a97ed9ab3cc84bbcfd511c0f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:41:32.000Z",
      "arch": "emscripten",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "3f88e1fad4cccd198e8705ba0d5d17eff36031ba97b0b2159cec63c6324e67f6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:40:44.000Z",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "bc7c2536fd6b95c2750bdb97bddbcf4f0a33d975c068692a8c7829a9e157e60b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:40:37.000Z",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "3d183ebcca9f18a22fc091f888bcb92e0c5131eecc3ffaeb70565b6f1a7db41b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-06-23T20:40:39.000Z",
      "arch": "x86_64",
      "commit": "904bbd778988520aa88688f5d2dca312da2a8bf0",
      "fileid": "952f9b5e03db2233834329e8d9fd1c04a5dac1fac0498448d74d8eee762d4d0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28055336473"
    }
  ]
}