diff --git a/var/spack/repos/builtin/packages/r-dbplyr/package.py b/var/spack/repos/builtin/packages/r-dbplyr/package.py index 03c62f6ed9..3ed51d78cc 100644 --- a/var/spack/repos/builtin/packages/r-dbplyr/package.py +++ b/var/spack/repos/builtin/packages/r-dbplyr/package.py @@ -7,16 +7,18 @@ class RDbplyr(RPackage): - """A 'dplyr' back end for databases that allows you to work with remote - database tables as if they are in-memory data frames. Basic features - works with any database that has a 'DBI' back end; more advanced - features require 'SQL' translation to be provided by the package - author.""" + """A 'dplyr' Back End for Databases + + A 'dplyr' back end for databases that allows you to work with remote + database tables as if they are in-memory data frames. Basic features works + with any database that has a 'DBI' back end; more advanced features require + 'SQL' translation to be provided by the package author.""" homepage = "https://github.com/tidyverse/dbplyr" url = "https://cloud.r-project.org/src/contrib/dbplyr_1.1.0.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/dbplyr" + version('2.0.0', sha256='ecd71936ecfefbdda0fad24e52653ac9c0913e01126e467c92c8ba9de37b4069') version('1.4.2', sha256='b783f0da2c09a1e63f41168b02c0715b08820f02a351f7ab0aaa688432754de0') version('1.4.1', sha256='cfe829f56acdc785c5af21bf3927cf08327504d78c4ae1477c405c81b131da95') version('1.2.2', sha256='9d410bb0055fffe10f1f8da55a5b24d98322c7b571d74df61427d5888332bc48') @@ -29,8 +31,12 @@ class RDbplyr(RPackage): depends_on('r-dbi@1.0.0:', type=('build', 'run')) depends_on('r-dplyr@0.8.0:', type=('build', 'run')) depends_on('r-glue@1.2.0:', type=('build', 'run')) + depends_on('r-lifecycle', when='@2.0.0:', type=('build', 'run')) + depends_on('r-magrittr', when='@2.0.0:', type=('build', 'run')) depends_on('r-purrr@0.2.5:', type=('build', 'run')) depends_on('r-r6@2.2.2:', type=('build', 'run')) depends_on('r-rlang@0.2.0:', type=('build', 'run')) depends_on('r-tibble@1.4.2:', type=('build', 'run')) depends_on('r-tidyselect@0.2.4:', type=('build', 'run')) + depends_on('r-blob@1.2.0:', when='@2.0.0:', type=('build', 'run')) + depends_on('r-withr', when='@2.0.0:', type=('build', 'run'))