{
  "_id": "6a3b69bc5cdecea1d681e1e2",
  "Package": "astgrepr",
  "Type": "Package",
  "Title": "Parse and Manipulate R Code",
  "Version": "0.1.1",
  "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",
  "Config/rextendr/version": "0.4.0.9000",
  "RoxygenNote": "7.3.2",
  "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/pak/sysreqs": "libclang-dev",
  "Repository": "https://etiennebacher.r-universe.dev",
  "Date/Publication": "2025-06-24 12:23:20 UTC",
  "RemoteUrl": "https://github.com/etiennebacher/astgrepr",
  "RemoteRef": "HEAD",
  "RemoteSha": "41d20ade4263c9f26fb5b073308d1150fb943a71",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-24 05:14:29 UTC",
    "User": "root"
  },
  "Author": "Etienne Bacher [aut, cre, cph]",
  "Maintainer": "Etienne Bacher <etienne.bacher@protonmail.com>",
  "MD5sum": "edecefa7c4b007ea493fd58f504ea805",
  "_user": "etiennebacher",
  "_type": "src",
  "_file": "astgrepr_0.1.1.tar.gz",
  "_fileid": "394a1cf582e394f0a8bc8801a80d82099c53048d86595b1e8f4a1d702dd6a4fb",
  "_filesize": 3935946,
  "_sha256": "394a1cf582e394f0a8bc8801a80d82099c53048d86595b1e8f4a1d702dd6a4fb",
  "_created": "2026-06-24T05:14:29.000Z",
  "_published": "2026-06-24T05:23:08.416Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83122800422,
      "time": 186,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7840753608"
    },
    {
      "job": 83122800428,
      "time": 228,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7840762639"
    },
    {
      "job": 83122800425,
      "time": 186,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7840753951"
    },
    {
      "job": 83122800423,
      "time": 227,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7840762363"
    },
    {
      "job": 83122800446,
      "time": 164,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7840748429"
    },
    {
      "job": 83122800435,
      "time": 308,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7840780142"
    },
    {
      "job": 83122800441,
      "time": 176,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7840750658"
    },
    {
      "job": 83122800432,
      "time": 443,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7840811881"
    },
    {
      "job": 83122288767,
      "time": 280,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7840710328"
    },
    {
      "job": 83122800412,
      "time": 199,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 83122800408,
      "time": 328,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7840785138"
    },
    {
      "job": 83122800397,
      "time": 218,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7840760183"
    },
    {
      "job": 83122800420,
      "time": 252,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7840767330"
    }
  ],
  "_buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/etiennebacher/astgrepr",
  "_commit": {
    "id": "41d20ade4263c9f26fb5b073308d1150fb943a71",
    "author": "Etienne Bacher <52219252+etiennebacher@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Release 0.1.1 (#43)\n\n",
    "time": 1750767800
  },
  "_maintainer": {
    "name": "Etienne Bacher",
    "email": "etienne.bacher@protonmail.com",
    "login": "etiennebacher",
    "mastodon": "@etiennebacher@mastodon.social",
    "bluesky": "@etiennebacher.bsky.social",
    "description": "",
    "uuid": 52219252
  },
  "_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": "2025-26",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 33,
  "_contributors": [
    {
      "user": "etiennebacher",
      "count": 202,
      "uuid": 52219252
    },
    {
      "user": "josiahparry",
      "count": 1,
      "uuid": 13534508
    },
    {
      "user": "mpadge",
      "count": 1,
      "uuid": 6697851
    }
  ],
  "_userbio": {
    "uuid": 52219252,
    "type": "user",
    "name": "Etienne Bacher",
    "followers": 212
  },
  "_downloads": {
    "count": 477,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/astgrepr"
  },
  "_devurl": "https://github.com/etiennebacher/astgrepr",
  "_pkgdown": "https://astgrepr.etiennebacher.com/",
  "_searchresults": 12,
  "_cargo": true,
  "_topics": [
    "rust",
    "cargo"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/astgrepr.html",
    "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",
    "LICENSE",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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": "2024-06-28 13:47:28",
      "commits": 2
    }
  ],
  "_score": 6.074816440645175,
  "_indexed": true,
  "_nocasepkg": "astgrepr",
  "_universes": [
    "etiennebacher"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-24T05:17:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "d1d65b5751ed5be26421d57a48386baf140bc014d2c3a2b1a34156eb5fe435c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-24T05:18:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "3eb2a7d6a6d6f567f2c19620961469bb6ae65b97005af42e559f62ba7de205b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-24T05:17:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "70503e7e17406e44e6459c8435336e1030e105e8d2f3ff3de5c25dccf463628b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-24T05:18:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "130f978fd0af19435ee8dcab3155a945db0520cf6e48f79cef4df911c98f97bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-24T05:16:43.000Z",
      "arch": "aarch64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "fa17ab9a710e33f243b1d465b5b102444d8c1be8be8755c8ca362fe0f3662f52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-24T05:18:29.000Z",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "207ece593ff060ef280521c61c5982fb673e144377842e2aa6e95879a6a3962b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-24T05:17:01.000Z",
      "arch": "aarch64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "0e4dcdc1d98c927c63bc32259f2e8e49659fdcb85a4c3f200c6077e10c1513fe",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-24T05:19:40.000Z",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "8e7318fc84fb4d547ccab5c7b5a4ac55a0dee9a346e549abb0ad9320209b2396",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-24T05:17:09.000Z",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "046d2d59cae2323705bf4b4e2675d09ee791a9047af91dc3fca75581c27aa39b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-24T05:16:29.000Z",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "6572250e0700c0f1832e30f58d97153523ed047d3b97a3203de5a2064e67dd1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-24T05:16:49.000Z",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "8dcddbf0f036f67d156da15f48111790d3dbfc9ab85e6e979511f85decf8333c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/28076674260"
    }
  ]
}