Skip to content

Commit

Permalink
Don't attempt to pass NA to numeric_version()
Browse files Browse the repository at this point in the history
Apparently this works only in R >= 4.2
  • Loading branch information
jennybc committed Nov 20, 2024
1 parent eb9f55c commit d115618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/release.R
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ pkg_minimum_r_version <- function() {
if (length(r_dep) > 0) {
numeric_version(gsub("[^0-9.]", "", r_dep))
} else {
numeric_version(NA_character_)
NA_character_
}
}

Expand Down

0 comments on commit d115618

Please sign in to comment.