summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py
index 6eaab4a07d..85fea9d98a 100644
--- a/lib/spack/spack/cmd/create.py
+++ b/lib/spack/spack/cmd/create.py
@@ -338,7 +338,7 @@ class RPackageTemplate(PackageTemplate):
r_name = parse_name(url)
cran = re.search(
- r'(?:r-project)[^/]+/src' + '/([^/]+)' * 2,
+ r'(?:r-project|rstudio)[^/]+/src' + '/([^/]+)' * 2,
url
)