Merge pull request #210 from rstudio/versions
Fix unexpected `4.3.3.tar.xz` version in `versions.json`
This commit is contained in:
commit
49fd6fef5d
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ def _cran_r_versions(url):
|
|||
r_versions = []
|
||||
for link in soup.find_all('a'):
|
||||
href = link.get('href')
|
||||
if 'R-' in href:
|
||||
if href.startswith('R-') and href.endswith('.tar.gz'):
|
||||
v = href.replace('.tar.gz', '').replace('R-', '')
|
||||
if '-revised' not in v: # reject 3.2.4-revised
|
||||
r_versions.append(v)
|
||||
|
|
|
|||
Loading…
Reference in a new issue