Skip to content

Commit 4d2319a

Browse files
authored
r-sparsematrixstats: add new versions (spack#48154)
Also, specify incompatibility with `r-matrixstats` versions.
1 parent d6a9511 commit 4d2319a

File tree

1 file changed

+12
-1
lines changed
  • var/spack/repos/builtin/packages/r-sparsematrixstats

1 file changed

+12
-1
lines changed

var/spack/repos/builtin/packages/r-sparsematrixstats/package.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ class RSparsematrixstats(RPackage):
1616

1717
bioc = "sparseMatrixStats"
1818

19+
# The repository is at
20+
# https://code.bioconductor.org/browse/sparseMatrixStats/, to find the
21+
# commit hash check the branch corresponding to a BioConductor release and
22+
# the latest commit (or one of the latest ones) should be the one bumping
23+
# the r-sparsematrixstats version.
24+
version("1.18.0", commit="172c63ee6c8fa200d2fda5546750ab5ac8ddd858")
25+
version("1.16.0", commit="2ad650c393497263c20d67d45d1a56ee6fa3b402")
26+
version("1.14.0", commit="2923a3bb4e59cf0e05f0e21a8e8df66e670c4abc")
1927
version("1.12.0", commit="054bf939cd7220deaf8e768ff7029d0d38483c91")
2028
version("1.10.0", commit="75d85ba2c9c4c36887fef1a007883167aa85bd94")
2129
version("1.8.0", commit="4f1e2213e5b0d6b3d817c2c9129b7566288916f6")
@@ -29,4 +37,7 @@ class RSparsematrixstats(RPackage):
2937
depends_on("r-rcpp", type=("build", "run"))
3038
depends_on("r-matrix", type=("build", "run"))
3139
depends_on("r-matrixstats", type=("build", "run"))
32-
depends_on("[email protected]:", type=("build", "run"), when="@1.6.0:")
40+
depends_on("[email protected]:0.63.0", type=("build", "run"), when="@1.6.0:1.12")
41+
# r-sparsematrixstats 1.12- is incompatible with r-matrixstats v1:
42+
# https://github.com/HenrikBengtsson/matrixStats/issues/227
43+
depends_on("r-matrixstats@1:", type=("build", "run"), when="@1.13.0:")

0 commit comments

Comments
 (0)