{
  "_id": "6a0fef76acfb0bcc41c74f00",
  "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-05-22 05:44:53 UTC",
    "User": "root"
  },
  "Author": "Etienne Bacher [aut, cre, cph]",
  "Maintainer": "Etienne Bacher <etienne.bacher@protonmail.com>",
  "MD5sum": "ab3d9396041ca87fc9112b713f3b0b16",
  "_user": "etiennebacher",
  "_type": "src",
  "_file": "astgrepr_0.1.1.tar.gz",
  "_fileid": "ec34a2c5670992bbc4eb96aab4e101dad39fb0d310020288e4bbbfce91bd7fa0",
  "_filesize": 3933540,
  "_sha256": "ec34a2c5670992bbc4eb96aab4e101dad39fb0d310020288e4bbbfce91bd7fa0",
  "_created": "2026-05-22T05:44:53.000Z",
  "_published": "2026-05-22T05:53:58.164Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77323503766,
      "time": 193,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7153636835"
    },
    {
      "job": 77323503760,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7153635166"
    },
    {
      "job": 77323503792,
      "time": 184,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153636318"
    },
    {
      "job": 77323503763,
      "time": 176,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153634229"
    },
    {
      "job": 77323503758,
      "time": 146,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7153688522"
    },
    {
      "job": 77323503756,
      "time": 299,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7153662695"
    },
    {
      "job": 77323503761,
      "time": 191,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7153687389"
    },
    {
      "job": 77323503774,
      "time": 283,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7153667561"
    },
    {
      "job": 77323053692,
      "time": 277,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153598768"
    },
    {
      "job": 77323503751,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 77323503753,
      "time": 207,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7153640261"
    },
    {
      "job": 77323503746,
      "time": 280,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7153653193"
    },
    {
      "job": 77323503745,
      "time": 210,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153641892"
    }
  ],
  "_buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666",
  "_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-21",
      "n": 3
    },
    {
      "week": "2025-23",
      "n": 4
    },
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-26",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2025-05-28"
    }
  ],
  "_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"
  },
  "_downloads": {
    "count": 482,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/astgrepr"
  },
  "_devurl": "https://github.com/etiennebacher/astgrepr",
  "_pkgdown": "https://astgrepr.etiennebacher.com/",
  "_searchresults": 10,
  "_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",
    "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.597695185925512,
  "_indexed": true,
  "_nocasepkg": "astgrepr",
  "_universes": [
    "etiennebacher"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-22T05:48:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "e1b4d5623db82f3b5ffccbc36ce63a7e090fe4ad62184b0eaa36bbd356fabb57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-22T05:48:02.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "2b348824107d54600e33063a8fb92fdd7e107396b614f34e6c626344b99eed52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-22T05:48:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "04f75f079dd5e8586f2cb7344e2a599cfcf7155b4716a727e9348289cba376aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-22T05:47:54.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "b6ff12b0ab251b01f8e3c30a6c837f8c058695d44db5fad9d8d1b094ace32548",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-22T05:52:27.000Z",
      "arch": "aarch64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "99ad347c4065d2a3d5ec6cb9648c1e42b61d76953967f2a6db65f85c16a31ddb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-22T05:49:22.000Z",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "97f4fed5e56a00f358251590dce637fc382d14c9e142b7752ee714dd472af2d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-22T05:52:04.000Z",
      "arch": "aarch64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "113edb0572baf05022b7d67527b8a44b2f2940a0dc9aa4be5cb10d20add910b7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-22T05:49:25.000Z",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "80a651755cfc58798db9351f569d5826aac56403cbecca5e5499bf51c5a398f8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-22T05:47:04.000Z",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "0fb5a3fba4225dcb74b72bad2c8648ec5dc82211a38f63bc41ad263afe1e8383",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-22T05:47:18.000Z",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "dc5125204e62c56ee3691d45b4a2b3117636abb01cd82f0fd6625a058a02010a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-22T05:47:07.000Z",
      "arch": "x86_64",
      "commit": "41d20ade4263c9f26fb5b073308d1150fb943a71",
      "fileid": "bb615ec343a09f3bf3e3659cd23ce5d42891f7a39393ed73547c20251b29471c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/etiennebacher/actions/runs/26217596666"
    }
  ]
}