Skip to content

Commit

Permalink
do not complain when R version is 4 or above. Issue #28.
Browse files Browse the repository at this point in the history
  • Loading branch information
nunofonseca committed Mar 25, 2023
1 parent 1e4020a commit d2825f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ version <- getRversion()
currentVersion <- sprintf("%d.%d", version\$major, version\$minor)
message("R version:",version)
usebiocmanager<-TRUE
if ( version\$major < 3 || (version\$major>=3 && version\$minor<5) ) {
if ( version\$major < 3 || (version\$major==3 && version\$minor<5) ) {
cat("ERROR: R version should be 3.5 or above\n")
q(status=1)
}
Expand Down

0 comments on commit d2825f7

Please sign in to comment.