File tree Expand file tree Collapse file tree 5 files changed +7
-2
lines changed Expand file tree Collapse file tree 5 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ def r_version(self):
6969 """
7070 # Available versions at https://cran.r-project.org/src/base/
7171 version_map = {
72+ "4.4" : "4.4.1" ,
73+ "4.3" : "4.3.3" ,
7274 "4.2" : "4.2.1" ,
7375 "4.1" : "4.1.3" ,
7476 "4.0" : "4.0.5" ,
@@ -97,6 +99,9 @@ def r_version(self):
9799 # available. Users can however explicitly specify the full version to get something specific
98100 if r_version in version_map :
99101 r_version = version_map [r_version ]
102+ elif len (r_version .split ("." )) == 2 :
103+ # must have x.y.z version, add .0 for unrecognized (future) R versions
104+ r_version += ".0"
100105
101106 # translate to the full version string
102107 self ._r_version = r_version
Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ r-4.4-2025-01-01
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ library('digest')
33
44# Fail if version is not 4.0
55print(version )
6- if (! (version $ major == " 4" && as.double(version $ minor ) > = 0 && as.double(version $ minor ) < 1 )) {
6+ if (! (version $ major == " 4" && as.double(version $ minor ) > = 4 && as.double(version $ minor ) < 5 )) {
77 quit(" yes" , 1 )
88}
99
You can’t perform that action at this time.
0 commit comments