Skip to content

treesitter.r

1.3.0Package record

'R' Grammar for 'Tree-Sitter'

4packages dependsuggested by 3
26.9Kdownloads / year
85.1%test coverage
13/13flavors OK

Overview

About

Provides bindings to an 'R' grammar for 'Tree-sitter', to be used alongside the 'treesitter' package. '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.

Changes in 1.3.0

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-08
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.3.0
READMEYes · 63 wordsVignettesNoNEWSYes · 100% structured · mentions 1.3.0Citation fileNo
Help pages
2 (1 internal)includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
100%
Help pages citing references
0%

Downloads

26.9K
CRAN downloads in the past year
Rank #2,130 · ~74/day · ~2.2K/mo
Daily download trend is not available in this view yet.
3.1K30 days
8.3K90 days
26.9K1 year
Compare downloads with other packages →
Also on794 r2u7 autocran

Repository

154Stars
45Forks
14Open issues
2Open PRs
4Releases
312Commits
19Commit identities
License file reads as MIT · 312 commits · Last activity 2026-06-22 · -0.6% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
90%
Median days to close, 50 most recently updated closed issues
53
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-08 · 1202026-10-10 · 154
PracticesBeta

11 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/r-lib/tree-sitter-r on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Contributing guide
Docs source (2)

GitHub Pages site last deployed 2026-06-22 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
Makefile
Lint, format, editor (3)
Lint workflowEditorConfigVS Code
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-02-27
    Pull request: opened by its own account
    Commits: 1 by its own account · at least 1 crediting it in the message
  • Claude Codefirst seen 2026-05-21
    Named in .gitignore: .claude
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing treesitter.r adds no packages beyond those that come with R.

Depends (1)
R >= 4.3.0
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
4direct
1indirect
Imports 4
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 1.0.1 (2024)
Copyright holder, Funder
Copyright holder
Tree-sitter C headers and parser.c
Releases (4)

Pick two releases to compare their code metrics.

  • 1.3.0Latest
    record
    2026-06-19 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.0
    record
    2025-06-05 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.0
    record
    2024-09-06 · diff ↗
  • 1.0.1
    record
    2024-06-24
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-06-24
Total releases
4 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.3.0
Download size
211 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("treesitter.r")
Vaughan, D., Posit Software, PBC, & Tree-sitter authors. (2026). treesitter.r: 'R' Grammar for 'Tree-Sitter' (Version 1.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.treesitter.r

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for treesitter.r version 1.3.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy