Skip to content

Commit f5240b0

Browse files
committed
r-lazyeval: add @0.2.3 and r version conflicts; r-ggstats: add latest @0.13.0, correct dependencies; r-gglpot2: correct dependencies, add r version conflicts; r-gally: add@2.3.0,2.4.0
1 parent 6e5f6a5 commit f5240b0

4 files changed

Lines changed: 115 additions & 44 deletions

File tree

repos/spack_repo/builtin/packages/r_ggally/package.py

Lines changed: 44 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,57 @@ class RGgally(RPackage):
1919

2020
cran = "GGally"
2121

22+
version("2.4.0", sha256="c8d458160e0c220bfeae49ceacd7762534a9ade7e75dfcd974c88c79aa8f7382")
23+
version("2.3.0", sha256="fe5eabe9eec66fd578ce244e291d0453846dd2181b39ca9039c157971ba16d09")
2224
version("2.2.1", sha256="8bb326665936a63f6eef92a2af1a11d1fae78dbd28d6980608d2b38ee1f586c6")
2325
version("2.1.2", sha256="30352f36bf061bc98bdd5fa373ea0f23d007040bd908c7c018c8e627e0fb28e5")
2426
version("2.1.0", sha256="7ffb86b8a4e79543cf7e6bb1e3684d738ecd8e0ba89e8ef38991898b18dd6c53")
2527
version("1.4.0", sha256="9a47cdf004c41f5e4024327b94227707f4dad3a0ac5556d8f1fba9bf0a6355fe")
2628
version("1.3.2", sha256="f4143f45254fed794be991180aeffe459f6756bfa08acad963707d8e843cfd0a")
2729

30+
depends_on("r@4.3:", type=("build", "run"), when="@2.3:")
2831
depends_on("r@3.1:", type=("build", "run"))
29-
depends_on("r-ggplot2@2.2.0:", type=("build", "run"))
30-
depends_on("r-ggplot2@3.3.0:", type=("build", "run"), when="@2.1.0:")
31-
depends_on("r-ggplot2@3.3.4:", type=("build", "run"), when="@2.1.2:")
32-
depends_on("r-ggplot2@3.4.4:", type=("build", "run"), when="@2.2.0:")
33-
depends_on("r-dplyr@1.0.0:", type=("build", "run"), when="@2.1.0:")
34-
depends_on("r-ggstats", type=("build", "run"), when="@2.2.0:")
35-
depends_on("r-gtable@0.2.0:", type=("build", "run"))
36-
depends_on("r-lifecycle", type=("build", "run"), when="@2.1.0:")
37-
depends_on("r-plyr@1.8.3:", type=("build", "run"))
32+
33+
depends_on("r-cli", type=("build", "run"), when="@2.4:")
34+
35+
depends_on("r-dplyr@1.1:", type=("build", "run"), when="@2.3:")
36+
depends_on("r-dplyr@1:", type=("build", "run"), when="@2.1:")
37+
38+
depends_on("r-ggplot2@3.5.2:", type=("build", "run"), when="@2.3:")
39+
depends_on("r-ggplot2@3.4.4:3", type=("build", "run"), when="@2.2.1:2.2")
40+
depends_on("r-ggplot2@3.4.4:3", type=("build", "run"), when="@2.2")
41+
depends_on("r-ggplot2@3.3.4:3", type=("build", "run"), when="@2.1.2:2.1")
42+
depends_on("r-ggplot2@3.3.0:3", type=("build", "run"), when="@2:2.1.1")
43+
depends_on("r-ggplot2@2.2:3", type=("build", "run"))
44+
45+
depends_on("r-ggstats@0.9:", type=("build", "run"), when="@2.3:")
46+
depends_on("r-ggstats", type=("build", "run"), when="@2.2:")
47+
48+
depends_on("r-gtable@0.2:", type=("build", "run"))
49+
50+
depends_on("r-lifecycle", type=("build", "run"), when="@2:")
51+
52+
depends_on("r-magrittr", type=("build", "run"), when="@2.2:")
53+
54+
depends_on("r-network@1.17.1:", type=("build", "run"), when="@2.1.2:")
55+
3856
depends_on("r-progress", type=("build", "run"))
57+
3958
depends_on("r-rcolorbrewer", type=("build", "run"))
40-
depends_on("r-rlang", type=("build", "run"), when="@1.4.0:")
41-
depends_on("r-scales@1.1.0:", type=("build", "run"), when="@2.1.0:")
42-
depends_on("r-tidyr", type=("build", "run"), when="@2.1.0:")
43-
depends_on("r-tidyr@1.3.0:", type=("build", "run"), when="@2.2.0:")
44-
depends_on("r-magrittr", type=("build", "run"), when="@2.2.0:")
45-
depends_on("openssl", when="@1.4.0:")
46-
47-
depends_on("r-forcats", type=("build", "run"), when="@2.1.0:2.1")
59+
60+
depends_on("r-rlang", type=("build", "run"), when="@1.4:")
61+
62+
depends_on("r-s7@0.2", type=("build", "run"), when="@2.3:")
63+
64+
depends_on("r-scales@1.3:", type=("build", "run"), when="@2.3:")
65+
depends_on("r-scales@1.1:", type=("build", "run"), when="@2:")
66+
67+
depends_on("r-tidyr@1.3:", type=("build", "run"), when="@2.2:")
68+
depends_on("r-tidyr", type=("build", "run"), when="@2.1:")
69+
70+
depends_on("openssl", when="@1.4:")
71+
72+
# Historical dependencies
73+
depends_on("r-plyr@1.8.3:", type=("build", "run"), when="@:2.2")
74+
depends_on("r-forcats", type=("build", "run"), when="@2.1")
4875
depends_on("r-reshape@0.8.5:", type=("build", "run"), when="@:2.1")

repos/spack_repo/builtin/packages/r_ggplot2/package.py

Lines changed: 45 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -38,37 +38,59 @@ class RGgplot2(RPackage):
3838

3939
with default_args(type=("build", "run")):
4040
depends_on("r@4.1:", when="@4:")
41-
depends_on("r@3.5:", when="@3.5.0:")
41+
depends_on("r@3.5:", when="@3.5:")
4242
depends_on("r@3.3:", when="@3.3.4:")
43-
depends_on("r@3.2:", when="@3.2.0:")
43+
depends_on("r@3.2:", when="@3.2:")
4444
depends_on("r@3.1:")
4545

46-
depends_on("r-cli", when="@3.4.0:")
46+
depends_on("r-cli", when="@3.4:")
47+
4748
depends_on("r-gtable@0.3.6:", when="@4:")
4849
depends_on("r-gtable@0.1.1:")
49-
depends_on("r-isoband", when="@3.3.3:")
50-
depends_on("r-lifecycle@1.0.1.1:", when="@3.4.0:")
51-
depends_on("r-rlang@1.1.0:", when="@3.4.2:")
52-
depends_on("r-rlang@1.0.0:", when="@3.4.0:")
50+
51+
depends_on("r-isoband", when="@3.3:")
52+
53+
depends_on("r-lifecycle@1.0.1.1:", when="@3.4:")
54+
55+
depends_on("r-rlang@1.1:", when="@3.4.2:")
56+
depends_on("r-rlang@1:", when="@3.4:")
5357
depends_on("r-rlang@0.4.10:", when="@3.3.4:")
54-
depends_on("r-rlang@0.3.0:", when="@3.0.0:")
58+
depends_on("r-rlang@0.3:", when="@3.2:")
59+
depends_on("r-rlang@0.2.1:", when="@3.1:")
60+
depends_on("r-rlang", when="@3:")
61+
5562
depends_on("r-s7", when="@4:")
56-
depends_on("r-scales@1.4.0:", when="@4:")
57-
depends_on("r-scales@1.3.0:", when="@3.5.0:")
58-
depends_on("r-scales@1.2.0:", when="@3.4.0:3.4.4")
59-
depends_on("r-scales@0.5.0:")
60-
depends_on("r-vctrs@0.6.0:", when="@3.5.1:")
61-
depends_on("r-vctrs@0.5.0:", when="@3.4.0:")
63+
64+
depends_on("r-scales@1.4:", when="@4:")
65+
depends_on("r-scales@1.3:", when="@3.5:")
66+
depends_on("r-scales@1.2:", when="@3.4:3.4.4")
67+
depends_on("r-scales@0.5:", when="@3:")
68+
depends_on("r-scales@0.4.1:", when="@2.2:")
69+
depends_on("r-scales@0.3:")
70+
71+
depends_on("r-vctrs@0.6:", when="@3.5.1:")
72+
depends_on("r-vctrs@0.5:", when="@3.4:")
73+
6274
depends_on("r-withr@2.5.0:", when="@3.4.0:")
63-
depends_on("r-withr@2.0.0:", when="@3.0.0:")
75+
depends_on("r-withr@2:", when="@3:")
6476

6577
# Historical dependencies
66-
depends_on("r-digest", when="@:3.3.6")
67-
depends_on("r-glue", when="@3.3.3:3")
68-
depends_on("r-lazyeval", when="@:3.2.0")
78+
depends_on("r-digest", when="@:3.3")
79+
depends_on("r-glue", when="@3.3:3")
80+
depends_on("r-lazyeval", when="@2.2:3.2")
6981
depends_on("r-mass", when="@:3")
70-
depends_on("r-mgcv", when="@3.2.0:3")
71-
depends_on("r-plyr@1.7.1:", when="@:3.1.1")
72-
depends_on("r-reshape2", when="@:3.2.0")
73-
depends_on("r-tibble", when="@:3")
74-
depends_on("r-viridislite", when="@3.0.0:3.2.0")
82+
depends_on("r-mgcv", when="@3")
83+
depends_on("r-plyr@1.7.1:", when="@:3.1")
84+
depends_on("r-reshape2", when="@:3.2")
85+
depends_on("r-tibble", when="@2.2:3")
86+
depends_on("r-viridislite", when="@3:3.2")
87+
88+
# R 4.4 changed the way version comparison works causing following build error:
89+
# > Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) :
90+
# invalid non-character version specification 'x' (type: double)
91+
conflicts("^r@4.4:", when="@3:3.4.2") # approximate
92+
93+
# R 4.6 no longer accepts "structure(NULL, ...)"
94+
# > Error in structure(NULL, class = "waiver") :
95+
# attempt to set an attribute on NULL
96+
conflicts("^r@4.6:", when="@2.1")

repos/spack_repo/builtin/packages/r_ggstats/package.py

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,35 @@ class RGgstats(RPackage):
1717

1818
license("GPL-3.0-or-later", checked_by="wdconinc")
1919

20+
version("0.13.0", sha256="82dd03ca8dd49baa5567b54a25c749516800574b008d61e63e95efc6c87cd787")
2021
version("0.6.0", sha256="f80aaa229f542cb18174b9ab82b0026c6bd3331f22bf2662712ab6af480b6d80")
2122

22-
depends_on("r-broom-helpers@1.14.0:", type=("build", "run"))
23+
depends_on("r@4.2:", type=("build", "run"), when="@0.7:")
24+
2325
depends_on("r-cli", type=("build", "run"))
26+
2427
depends_on("r-dplyr", type=("build", "run"))
28+
2529
depends_on("r-forcats", type=("build", "run"))
26-
depends_on("r-ggplot2@3.4.0:", type=("build", "run"))
30+
31+
depends_on("r-ggplot2@4:", type=("build", "run"), when="@0.11:")
32+
depends_on("r-ggplot2@3.4:", type=("build", "run"))
33+
2734
depends_on("r-lifecycle", type=("build", "run"))
28-
depends_on("r-magrittr", type=("build", "run"))
35+
2936
depends_on("r-patchwork", type=("build", "run"))
37+
3038
depends_on("r-purrr", type=("build", "run"))
39+
3140
depends_on("r-rlang", type=("build", "run"))
41+
3242
depends_on("r-scales", type=("build", "run"))
43+
3344
depends_on("r-stringr", type=("build", "run"))
45+
3446
depends_on("r-tidyr", type=("build", "run"))
47+
48+
# Historical dependencies
49+
conflicts("^r-vctrs@7:", when="@:0.11")
50+
depends_on("r-broom-helpers@1.14:", type=("build", "run"), when="@:0.6")
51+
depends_on("r-magrittr", type=("build", "run"), when="@:0.6")

repos/spack_repo/builtin/packages/r_lazyeval/package.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@ class RLazyeval(RPackage):
1818

1919
license("GPL-3.0-only")
2020

21+
version("0.2.3", sha256="c65db1997b195a7bb0ab3afbb834345ea277b428b2736eeded4242629e86adcb")
2122
version("0.2.2", sha256="d6904112a21056222cfcd5eb8175a78aa063afe648a562d9c42c6b960a8820d4")
2223
version("0.2.1", sha256="83b3a43e94c40fe7977e43eb607be0a3cd64c02800eae4f2774e7866d1e93f61")
2324
version("0.2.0", sha256="13738f55b2044184fe91f53d17516a445dfb508227527921218cda6f01f98dcb")
2425

25-
depends_on("c", type="build") # generated
26+
depends_on("c", type="build")
2627

2728
depends_on("r@3.1.0:", type=("build", "run"))
29+
30+
depends_on("r-rlang", when="@0.2.3:", type=("build", "run"))
31+
32+
conflicts("^r@4.6:", when="@:0.2.2")

0 commit comments

Comments
 (0)