|
a |
|
b/binder/postBuild |
|
|
1 |
#!/usr/bin/env Rscript |
|
|
2 |
|
|
|
3 |
mran = "https://mran.microsoft.com/snapshot/2020-09-13" |
|
|
4 |
|
|
|
5 |
# install dependencies |
|
|
6 |
# copied from README, only those not available through conda |
|
|
7 |
# most dependencies expressed in environment.yml |
|
|
8 |
install.packages( |
|
|
9 |
c( |
|
|
10 |
"philentropy", |
|
|
11 |
"NetIndices" |
|
|
12 |
), |
|
|
13 |
repos=mran |
|
|
14 |
) |
|
|
15 |
|
|
|
16 |
# no bioconductor packages are missing, |
|
|
17 |
# but use this if any are added |
|
|
18 |
# requireNamespace("BiocManager") |
|
|
19 |
# BiocManager::install(...) |
|
|
20 |
BiocManager::install( |
|
|
21 |
c( |
|
|
22 |
"impute" |
|
|
23 |
) |
|
|
24 |
) |
|
|
25 |
|
|
|
26 |
# install DIscBIO itself |
|
|
27 |
# remotes::install_github("ocbe-uio/DIscBIO", "dev", repos=mran, build_vignettes=F) |
|
|
28 |
devtools::install_local(getwd(), repos=mran) |