Skip to content

Commit

Permalink
install treesitter in lint-r test
Browse files Browse the repository at this point in the history
  • Loading branch information
radbasa committed Aug 22, 2024
1 parent 0225f57 commit 8e74a80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/e2e/test-lint-r.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if (getRversion() >= 4.3) {
install.packages(c("treesitter", "treesitter.r"))
}

rhino::lint_r()
# Create bad scripts and test if formatting returns the expected result
test_file_path <- fs::path("app", "logic", "bad-style.R")
Expand Down

0 comments on commit 8e74a80

Please sign in to comment.