Catch rstudio based URL for cran attribute in create.py (#23072)

This commit is contained in:
Glenn Johnson
2021-04-20 19:03:42 -05:00
committed by GitHub
parent fd9918ab6f
commit 09e80604f5

View File

@@ -338,7 +338,7 @@ def __init__(self, name, url, *args, **kwargs):
r_name = parse_name(url)
cran = re.search(
r'(?:r-project)[^/]+/src' + '/([^/]+)' * 2,
r'(?:r-project|rstudio)[^/]+/src' + '/([^/]+)' * 2,
url
)