@@ -141,17 +141,37 @@ jobs:
141141 run : |
142142 if (!requireNamespace("BiocManager", quietly = TRUE))
143143 install.packages("BiocManager")
144+ if (!requireNamespace("remotes", quietly = TRUE))
145+ install.packages("remotes")
146+ # smoother (destiny dependency) was archived from CRAN on
147+ # 2025-12-19, so BiocManager::install("destiny") can no longer
148+ # resolve it from PPM. Install the last archived version first.
149+ if (!requireNamespace("smoother", quietly = TRUE))
150+ remotes::install_version(
151+ "smoother", version = "1.3",
152+ repos = "https://cloud.r-project.org",
153+ upgrade = "never"
154+ )
144155 BiocManager::install(
145156 c("ComplexHeatmap", # Module 5 heatmap
146157 "slingshot", # Module 6 principal-curve pseudotime
147158 "destiny", # Module 6 diffusion pseudotime (DPT)
148159 "scater"), # Module 6 SCE helpers / plotting
149160 update = FALSE, ask = FALSE
150161 )
151- if (!requireNamespace("remotes", quietly = TRUE))
152- install.packages("remotes")
153- remotes::install_github("jiadongm/PhiSpace/pkg", upgrade = "never")
154- remotes::install_github("meiosis97/NeighbourNet", upgrade = "never")
162+ # Use pak for the GitHub installs. The remotes package (>=2.5)
163+ # errors with "can't convert package edgeR with RemoteType
164+ # 'bioconductor' to remote" when a Bioconductor-installed
165+ # transitive dependency is already on the library path; pak
166+ # resolves Bioconductor remotes correctly.
167+ if (!requireNamespace("pak", quietly = TRUE))
168+ install.packages("pak")
169+ pak::pkg_install(
170+ c("github::jiadongm/PhiSpace/pkg",
171+ "github::meiosis97/NeighbourNet"),
172+ ask = FALSE,
173+ upgrade = FALSE
174+ )
155175 shell : Rscript {0}
156176
157177 # Install local package (needed for pkgdown to build reference docs)
0 commit comments