{
  "_id": "6ad89c462aa49b935783f52a",
  "Package": "astgrepr",
  "Type": "Package",
  "Title": "Parse and Manipulate R Code",
  "Version": "0.1.2",
  "Authors@R": "person(given = \"Etienne\",\nfamily = \"Bacher\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"etienne.bacher@protonmail.com\")",
  "Description": "Parsing R code is key to build tools such as linters and\nstylers. This package provides a binding to the 'Rust' crate\n'ast-grep' so that one can parse and explore R code.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "URL": "https://github.com/etiennebacher/astgrepr,\nhttps://astgrepr.etiennebacher.com/",
  "BugReports": "https://github.com/etiennebacher/astgrepr/issues",
  "SystemRequirements": "Cargo (Rust's package manager), rustc (>= 1.78.0)",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "Config/roxygen2/version": "8.0.0",
  "Config/rextendr/version": "0.5.0",
  "Config/pak/sysreqs": "libclang-dev",
  "Repository": "https://etiennebacher.r-universe.dev",
  "Date/Publication": "2026-08-06 12:56:44 UTC",
  "RemoteUrl": "https://github.com/etiennebacher/astgrepr",
  "RemoteRef": "HEAD",
  "RemoteSha": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-21 10:54:01 UTC",
    "User": "root"
  },
  "Author": "Etienne Bacher [aut, cre, cph]",
  "Maintainer": "Etienne Bacher <etienne.bacher@protonmail.com>",
  "_user": "etiennebacher",
  "_type": "src",
  "_file": "astgrepr_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/9ed27e707c960ef8807117c535447cdffbcdb01f57f2b8652296e12a9722d9d8",
  "_filesize": 3898505,
  "_sha256": "9ed27e707c960ef8807117c535447cdffbcdb01f57f2b8652296e12a9722d9d8",
  "_expires": "2027-01-29T11:04:36.000Z",
  "_created": "2026-10-21T10:54:01.000Z",
  "_published": "2026-10-21T11:04:38.422Z",
  "_buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 119181898749,
      "time": 143,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12340617930"
    },
    {
      "job": 119181898812,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12339683302"
    },
    {
      "job": 119181898870,
      "time": 153,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12341052595"
    },
    {
      "job": 119181898852,
      "time": 184,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12339563626"
    },
    {
      "job": 119181898770,
      "time": 123,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12341042443"
    },
    {
      "job": 119181898841,
      "time": 455,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12340399211"
    },
    {
      "job": 119181898823,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12341037839"
    },
    {
      "job": 119181898732,
      "time": 550,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12340838783"
    },
    {
      "job": 119179737905,
      "time": 318,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12340867252"
    },
    {
      "job": 119181898864,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 119181898911,
      "time": 351,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12340048439"
    },
    {
      "job": 119181898746,
      "time": 197,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12341062731"
    },
    {
      "job": 119181898824,
      "time": 203,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12340413008"
    },
    {
      "job": 119181898851,
      "time": 315,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12340648264"
    },
    {
      "job": 119181898921,
      "time": 250,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12339813530"
    }
  ],
  "_upstream": "https://github.com/etiennebacher/astgrepr",
  "_commit": {
    "id": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
    "author": "Etienne Bacher <52219252+etiennebacher@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Release 0.1.2 (#50)",
    "time": 1786021004
  },
  "_maintainer": {
    "name": "Etienne Bacher",
    "email": "etienne.bacher@protonmail.com",
    "login": "etiennebacher",
    "mastodon": "@etiennebacher@mastodon.social",
    "bluesky": "@etiennebacher.bsky.social",
    "description": "",
    "uuid": 52219252
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "rrapply",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "etiennebacher",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-31",
      "n": 4
    },
    {
      "week": "2026-32",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.2",
      "date": "2026-08-06"
    }
  ],
  "_stars": 33,
  "_contributors": [
    {
      "user": "etiennebacher",
      "count": 206,
      "uuid": 52219252
    },
    {
      "user": "jeroen",
      "count": 1,
      "uuid": 216319
    },
    {
      "user": "josiahparry",
      "count": 1,
      "uuid": 13534508
    },
    {
      "user": "mpadge",
      "count": 1,
      "uuid": 6697851
    }
  ],
  "_userbio": {
    "uuid": 52219252,
    "type": "user",
    "name": "Etienne Bacher",
    "followers": 223
  },
  "_downloads": {
    "count": 604,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/astgrepr"
  },
  "_devurl": "https://github.com/etiennebacher/astgrepr",
  "_pkgdown": "https://astgrepr.etiennebacher.com/",
  "_searchresults": 14,
  "_cargo": true,
  "_topics": [
    "rust",
    "cargo"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/astgrepr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/etiennebacher/astgrepr",
  "_realowner": "etiennebacher",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-06-04"
    },
    {
      "version": "0.1.1",
      "date": "2025-06-07"
    },
    {
      "version": "0.1.2",
      "date": "2026-08-04"
    }
  ],
  "_exports": [
    "ast_rule",
    "node_ancestors",
    "node_child",
    "node_children",
    "node_find",
    "node_find_all",
    "node_follows",
    "node_get_match",
    "node_get_multiple_matches",
    "node_get_root",
    "node_has",
    "node_inside",
    "node_is_leaf",
    "node_is_named",
    "node_is_named_leaf",
    "node_kind",
    "node_matches",
    "node_next",
    "node_next_all",
    "node_parent",
    "node_precedes",
    "node_prev",
    "node_prev_all",
    "node_range",
    "node_range_all",
    "node_replace",
    "node_replace_all",
    "node_text",
    "node_text_all",
    "pattern_rule",
    "relational_rule",
    "tree_new",
    "tree_rewrite",
    "tree_root"
  ],
  "_help": [
    {
      "page": "ast_rule",
      "title": "Build a rule",
      "topics": [
        "ast_rule"
      ]
    },
    {
      "page": "node_get_root",
      "title": "Recover the tree root from a node",
      "topics": [
        "node_get_root"
      ]
    },
    {
      "page": "node_kind",
      "title": "Find the kind of a node",
      "topics": [
        "node_kind"
      ]
    },
    {
      "page": "node-find",
      "title": "Find node(s) matching a pattern",
      "topics": [
        "node-find",
        "node_find",
        "node_find_all"
      ]
    },
    {
      "page": "node-fix",
      "title": "Change the code in the tree",
      "topics": [
        "node-fix",
        "node_replace",
        "node_replace_all"
      ]
    },
    {
      "page": "node-get-match",
      "title": "Get the match(es) from a meta-variable",
      "topics": [
        "node-get-match",
        "node_get_match",
        "node_get_multiple_matches"
      ]
    },
    {
      "page": "node-info",
      "title": "Get more precise information on a node",
      "topics": [
        "node-info",
        "node_follows",
        "node_has",
        "node_inside",
        "node_matches",
        "node_precedes"
      ]
    },
    {
      "page": "node-is",
      "title": "Get information on nodes",
      "topics": [
        "node-is",
        "node_is_leaf",
        "node_is_named",
        "node_is_named_leaf"
      ]
    },
    {
      "page": "node-range",
      "title": "Get the start and end positions of a node",
      "topics": [
        "node-range",
        "node_range",
        "node_range_all"
      ]
    },
    {
      "page": "node-text",
      "title": "Extract the code corresponding to one or several nodes",
      "topics": [
        "node-text",
        "node_text",
        "node_text_all"
      ]
    },
    {
      "page": "node-traversal",
      "title": "Navigate the tree",
      "topics": [
        "node-traversal",
        "node_ancestors",
        "node_child",
        "node_children",
        "node_next",
        "node_next_all",
        "node_parent",
        "node_prev",
        "node_prev_all"
      ]
    },
    {
      "page": "pattern_rule",
      "title": "Build a pattern rule",
      "topics": [
        "pattern_rule"
      ]
    },
    {
      "page": "relational_rule",
      "title": "Build a relational rule",
      "topics": [
        "relational_rule"
      ]
    },
    {
      "page": "tree_new",
      "title": "Create a syntax tree",
      "topics": [
        "tree_new"
      ]
    },
    {
      "page": "tree_rewrite",
      "title": "Rewrite the tree with a list of replacements",
      "topics": [
        "tree_rewrite"
      ]
    },
    {
      "page": "tree_root",
      "title": "Get the root of the syntax tree",
      "topics": [
        "tree_root"
      ]
    }
  ],
  "_readme": "https://github.com/etiennebacher/astgrepr/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "rrapply",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "astgrepr.Rmd",
      "filename": "astgrepr.html",
      "title": "Getting started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "First steps",
        "Rules and nodes",
        "Modifying nodes"
      ],
      "created": "2024-06-27 21:36:17",
      "modified": "2026-08-06 12:56:44",
      "commits": 3
    }
  ],
  "_score": 6.618884484995451,
  "_indexed": true,
  "_nocasepkg": "astgrepr",
  "_universes": [
    "etiennebacher"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-21T10:56:39.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/9b33f7d1fefa0604ad06b23f538380e65d8c73ff65c6100e189563292ac3efc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-21T10:57:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/c92e34c5a1e067649a75d4edc9b383ff9f52adf5f1980052e8922f2e2aa2b256",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-21T10:56:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/f15038ec662f7b9b128530c4b797729f9e87df18b543e277c41a6eddf6857bb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-21T10:57:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/02384c8adcdf0bbb8adda37318b63c39e47e2537861640c5c6ecb7fe0bd94717",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-21T10:56:16.000Z",
      "arch": "aarch64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/a81defd6bd190fa5d2ac82c0dc3cfadd9fbe943d1e1ea51e18b10a7cfe34d9a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-21T11:00:30.000Z",
      "arch": "x86_64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/af8f49b6f432cf8f628dfdebd613cd509a49cffa4cad0cabef01a740b112dce6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-21T10:56:23.000Z",
      "arch": "aarch64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/530e2a31c03717513feb4312b38a6406dd8a629b0a1f9fa89614cc44a9aecbc3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-21T10:59:52.000Z",
      "arch": "x86_64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/13152ed60380e4f1d963a4eee7e7c61aa1f7719c29b41fec736694b85d02f2c8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-21T10:58:44.000Z",
      "arch": "aarch64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/6f07121b11946d988f93847539167b3ffe7342a0f4a3759cbdf8efe7564bc7ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-21T10:56:02.000Z",
      "arch": "x86_64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/850eccfb3c67812be1c95ea863722beab092cea5f8c942a4b5fab2aaf937fa5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-21T10:56:08.000Z",
      "arch": "x86_64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/00cbefbbb2d9a8c573e348c832f606c97ab85cce9b49c4a01d40267debcc0783",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-21T10:58:15.000Z",
      "arch": "aarch64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/aeece6d0a3392f7cb4ba5d8438e378cda1bed05f1cf7aa8ef7874b791ad16d3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-21T10:56:19.000Z",
      "arch": "x86_64",
      "commit": "7bbe8583226a15e9c24ee2b2a58d51bdc816245a",
      "fileid": "https://r2.ropensci.org/9004f3f40d4b2267c15e1f3660c0c82900ca8891ec942d09d37478ba1a8d0e55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/39587404369"
    }
  ]
}