Repository navigation
Commit f0e184f
committed
ci: install BiasedUrn, which weighted ORA stops without
The Publish Quarto Book run on 2583a25 failed at the Render step with
The package "BiasedUrn" is required for weighted ORA.
BiasedUrn is in enrichit's Suggests, not its Imports, so pak never installs it
on a fresh runner. enrichment-network.qmd's weighted-ORA chunk calls
ora(weight = w), and enrichit's ora() runs rlang::check_installed('BiasedUrn')
on that path -- it stops rather than degrading to unweighted ORA, so the
chapter cannot render.
Verified locally by hiding the installed package and re-running the chapter's
exact call: the same error appears, and with the package back the weighted
ora() and gsea() both run against the demo GSON.
Fix in three parts, following the rule that a CI dependency list is trimmed by
runtime reachability rather than by counting mentions in the .qmd sources:
- add cran::BiasedUrn to the CRAN install list;
- add it to the verify-loadable step so a future omission is a 10-second
failure instead of a 21-minute one;
- document the requirement in the chapter, since the dependency is invisible
in the prose.
Also checked the rest of the dependency surface: the only other packages
named in the chapters that are not installed locally (COSG, createKEGGdb,
KEGG.db, STRINGdb, SeuratData, AnnotationForge, rcartocolor) all sit in
eval: false or commented-out chunks, so none of them is on an executed path.1 parent 2583a25 commit f0e184f
2 files changed
Lines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
91 | 98 | | |
92 | 99 | | |
93 | 100 | | |
| |||
128 | 135 | | |
129 | 136 | | |
130 | 137 | | |
131 | | - | |
| 138 | + | |
| 139 | + | |
132 | 140 | | |
133 | 141 | | |
134 | 142 | | |
| |||
159 | 167 | | |
160 | 168 | | |
161 | 169 | | |
162 | | - | |
| 170 | + | |
| 171 | + | |
163 | 172 | | |
164 | 173 | | |
165 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
248 | 264 | | |
249 | 265 | | |
250 | 266 | | |
| |||
0 commit comments