summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-openxlsx/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-openxlsx/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-openxlsx/package.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/r-openxlsx/package.py b/var/spack/repos/builtin/packages/r-openxlsx/package.py
index 8cafb9381b..30fb8dd701 100644
--- a/var/spack/repos/builtin/packages/r-openxlsx/package.py
+++ b/var/spack/repos/builtin/packages/r-openxlsx/package.py
@@ -7,21 +7,20 @@ from spack import *
class ROpenxlsx(RPackage):
- """Read, Write and Edit xlsx Files
+ """Read, Write and Edit xlsx Files.
Simplifies the creation of Excel .xlsx files by providing a high level
interface to writing, styling and editing worksheets. Through the use of
'Rcpp', read/write times are comparable to the 'xlsx' and 'XLConnect'
packages with the added benefit of removing the dependency on Java."""
- homepage = "https://github.com/awalker89/openxlsx"
- url = "https://cloud.r-project.org/src/contrib/openxlsx_4.1.0.1.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/openxlsx"
+ cran = "openxlsx"
+ version('4.2.5', sha256='65d06d2819b656ac30fc78437ee712a83fb5a7ab750f56268e5c9e578c582519')
version('4.2.3', sha256='cdef89d826e50bef772af3e5eae935ca0316626a6e22f55f7631eac733b5e46f')
version('4.1.0.1', sha256='8b7011debe14714de035ef42797c8caa923162d5dc3cc3c2a299fc10eff3d4d1')
depends_on('r@3.3.0:', type=('build', 'run'))
- depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-stringi', type=('build', 'run'), when='@4.2.3:')
depends_on('r-zip', type=('build', 'run'))
- depends_on('r-stringi', when='@4.2.3:', type=('build', 'run'))
+ depends_on('r-rcpp', type=('build', 'run'))