Skip to content

Commit

Permalink
CI does not like getRversion()
Browse files Browse the repository at this point in the history
  • Loading branch information
radbasa committed Aug 27, 2024
1 parent ed579df commit fa0a81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ read_dependencies <- function() {
}

write_dependencies <- function(deps) {
if (getRversion() >= 4.3) {
if (as.numeric(R.Version()$major) >= 4 && as.numeric(R.Version()$minor) >= 3.0) {
deps <- c(deps, "treesitter", "treesitter.r")
}
deps <- sort(unique(c("rhino", deps))) # Rhino is always needed as a dependency.
Expand Down

0 comments on commit fa0a81b

Please sign in to comment.