astgrepr: Parse and Manipulate R Code

Parsing R code is key to build tools such as linters and stylers. This package provides a binding to the 'Rust' crate 'ast-grep' so that one can parse and explore R code.

Package details

AuthorEtienne Bacher [aut, cre, cph]
MaintainerEtienne Bacher <etienne.bacher@protonmail.com>
LicenseMIT + file LICENSE
Version0.1.1
URL https://github.com/etiennebacher/astgrepr https://astgrepr.etiennebacher.com/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("astgrepr")

Try the astgrepr package in your browser

Any scripts or data that you put into this service are public.

astgrepr documentation built on June 8, 2025, 11:05 a.m.