Skip to content

astgrepr

Parse and Manipulate R Code

v0.1.1 · Jun 7, 2025 · MIT + file LICENSE

Description

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.

Downloads

588

Last 30 days

6829th

1.1K

Last 90 days

3.5K

Last year

Trend: +98% (30d vs prior 30d)

CRAN Check Status

1 WARNING
8 NOTE
5 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 WARNING
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (9 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘astgrepr/libs/astgrepr.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘astgrepr/libs/astgrepr.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-clang

compiled code

File ‘astgrepr/libs/astgrepr.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘astgrepr/libs/astgrepr.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-devel-macos-arm64

whether package can be installed

Found the following significant warnings:
  ld: warning: object file (/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/rust/target/release/libastgrepr.a[2](astgrepr-5506178f025efd51.astgrepr.ee8f74833b720cd3-cgu.0.rcgu.o)) was built for newer 'macOS' version (15.0) than being linked (14.0)
  ld: warning: object file (/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/rust/target/release/libastgrepr.a[3](ea708c7824d36062-parser.o)) was built for newer 'macOS' version (15.0) than being linked (14.0)
  ld: warning: object file (/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/rust/target/release/libastgrepr.a[4](ea708c7824d36062-scanner.o)) was built for newer 'macOS' version (15.0) than being linked (14.0)
  ld: warning: object file (/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/rust/target/release/libastgrepr.a[5](98490c8781b409d2-lib.o)) was built for newer 'macOS' version (15.0) than being linked (14.0)
See ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
* used SDK: ‘MacOSX14.5.sdk’
NOTE r-devel-windows-x86_64

compiled code

File 'astgrepr/libs/x64/astgrepr.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.0Mb
  sub-directories of 1Mb or more:
    libs   4.8Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.1Mb
  sub-directories of 1Mb or more:
    libs   4.9Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘astgrepr/libs/astgrepr.so’:
  Found non-API calls to R: ‘R_MissingArg’, ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

WARNING 9 OK · 4 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 30, 2026
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘astgrepr/libs/astgrepr.so’:
  Found non-API calls to R: ‘R_MissingArg’, ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-clang

compiled code

File ‘astgrepr/libs/astgrepr.so’:
  Found non-API calls to R: ‘R_MissingArg’, ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-devel-macos-arm64

whether package can be installed

Found the following significant warnings:
  ld: warning: object file (/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00_pkg_src/astgrepr/src/rust/target/release/libastgrepr.a[2](astgrepr-5506178f025efd51.astgrepr.ee8f74833b720cd3-c
...[truncated]...
 newer 'macOS' version (15.0) than being linked (14.0)
See ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/astgrepr.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
* used SDK: ‘MacOSX14.5.sdk’
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.0Mb
  sub-directories of 1Mb or more:
    libs   4.8Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.1Mb
  sub-directories of 1Mb or more:
    libs   4.9Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.0Mb
  sub-directories of 1Mb or more:
    libs   4.8Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.1Mb
  sub-directories of 1Mb or more:
    libs   4.9Mb

Reverse Dependencies (2)

imports

suggests

Dependency Network

Dependencies Reverse dependencies checkmate rrapply yaml flir stbl astgrepr

Version History

new 0.1.1 Mar 10, 2026
updated 0.1.1 ← 0.1.0 diff Jun 7, 2025
new 0.1.0 Jun 3, 2025