Skip to content

treesitter

Bindings to 'Tree-Sitter'

v0.3.2 · Apr 2, 2026 · MIT + file LICENSE

Description

Provides bindings to 'Tree-sitter', an incremental parsing system for programming tools. 'Tree-sitter' builds concrete syntax trees for source files of any language, and can efficiently update those syntax trees as the source file is edited. It also includes a robust error recovery system that provides useful parse results even in the presence of syntax errors.

Downloads

3.2K

Last 30 days

2295th

8.2K

Last 90 days

20.8K

Last year

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

CRAN Check Status

2 WARNING
3 NOTE
7 OK
Show all 12 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang WARNING
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-patched-linux-x86_64 WARNING
r-release-linux-x86_64 NOTE
r-release-macos-arm64 NOTE
r-release-macos-x86_64 NOTE
Check details (5 non-OK)
WARNING r-devel-linux-x86_64-debian-clang

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘R_NamespaceRegistry’, ‘R_UnboundValue’,
    ‘Rf_findVarInFrame’
This entry point may be removed soon:
‘Rf_findVarInFrame’

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-patched-linux-x86_64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘R_MissingArg’, ‘R_NamespaceRegistry’,
    ‘R_UnboundValue’, ‘Rf_findVarInFrame’
This entry point may be removed soon:
‘Rf_findVarInFrame’

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-release-linux-x86_64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘PRENV’, ‘PRVALUE’, ‘R_PromiseExpr’,
    ‘Rf_allocSExp’, ‘Rf_findVarInFrame3’, ‘SETLENGTH’,
    ‘SET_GROWABLE_BIT’, ‘SET_PRCODE’, ‘SET_PRENV’, ‘SET_PRVALUE’,
    ‘SET_TRUELENGTH’

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-release-macos-arm64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘PRENV’, ‘PRVALUE’, ‘R_PromiseExpr’,
    ‘Rf_allocSExp’, ‘Rf_findVarInFrame3’, ‘SETLENGTH’,
    ‘SET_GROWABLE_BIT’, ‘SET_PRCODE’, ‘SET_PRENV’, ‘SET_PRVALUE’,
    ‘SET_TRUELENGTH’

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-release-macos-x86_64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘SETLENGTH’, ‘SET_GROWABLE_BIT’,
    ‘SET_TRUELENGTH’

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.

Additional Issues

Check History

WARNING 3 OK · 7 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API call to R: ‘Rf_findVarInFrame’

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-linux-x86_64-debian-gcc

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API call to R: ‘Rf_findVarInFrame’
This entry point may be removed soon.

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 ‘treesitter/libs/treesitter.so’:
  Found non-API call to R: ‘Rf_findVarInFrame’

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 ‘treesitter/libs/treesitter.so’:
  Found non-API call to R: ‘Rf_findVarInFrame’

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-patched-linux-x86_64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘SETLENGTH’, ‘SET_GROWABLE_BIT’,
    ‘SET_TRUELENGTH’

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-release-linux-x86_64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘SETLENGTH’, ‘SET_GROWABLE_BIT’,
    ‘SET_TRUELENGTH’

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-release-macos-arm64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘SETLENGTH’, ‘SET_GROWABLE_BIT’,
    ‘SET_TRUELENGTH’

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-release-macos-x86_64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘SETLENGTH’, ‘SET_GROWABLE_BIT’,
    ‘SET_TRUELENGTH’

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 7 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-patched-linux-x86_64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘SETLENGTH’, ‘SET_GROWABLE_BIT’,
    ‘SET_TRUELENGTH’

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-release-linux-x86_64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘SETLENGTH’, ‘SET_GROWABLE_BIT’,
    ‘SET_TRUELENGTH’

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-release-macos-arm64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘SETLENGTH’, ‘SET_GROWABLE_BIT’,
    ‘SET_TRUELENGTH’

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-release-macos-x86_64

compiled code

File ‘treesitter/libs/treesitter.so’:
  Found non-API calls to R: ‘SETLENGTH’, ‘SET_GROWABLE_BIT’,
    ‘SET_TRUELENGTH’

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.

Reverse Dependencies (5)

Dependency Network

Dependencies Reverse dependencies cli R6 rlang vctrs (>= 0.6.5) gander muttest treesitter.c box.linters treesitter.r treesitter

Version History

updated 0.3.2 ← 0.3.1 diff Apr 3, 2026
new 0.3.1 Mar 10, 2026
updated 0.3.1 ← 0.3.0 diff Jan 12, 2026
updated 0.3.0 ← 0.2.0 diff Jun 5, 2025
updated 0.2.0 ← 0.1.0 diff Apr 8, 2025
new 0.1.0 Jun 23, 2024