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.

Version: 0.1.0
Depends: R (≥ 4.2)
Imports: checkmate, rrapply, stats, yaml
Suggests: knitr, rmarkdown, rstudioapi, spelling, tinytest
Published: 2025-06-04
DOI: 10.32614/CRAN.package.astgrepr
Author: Etienne Bacher [aut, cre, cph]
Maintainer: Etienne Bacher <etienne.bacher at protonmail.com>
BugReports: https://github.com/etiennebacher/astgrepr/issues
License: MIT + file LICENSE
URL: https://github.com/etiennebacher/astgrepr, https://astgrepr.etiennebacher.com/
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc (>= 1.78.0)
Language: en-US
Materials: README NEWS
CRAN checks: astgrepr results [issues need fixing before 2025-06-18]

Documentation:

Reference manual: astgrepr.pdf
Vignettes: Getting started (source, R code)

Downloads:

Package source: astgrepr_0.1.0.tar.gz
Windows binaries: r-devel: astgrepr_0.1.0.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): astgrepr_0.1.0.tgz, r-oldrel (arm64): astgrepr_0.1.0.tgz, r-release (x86_64): astgrepr_0.1.0.tgz, r-oldrel (x86_64): astgrepr_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=astgrepr to link to this page.