-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathinstall_packages.R
36 lines (33 loc) · 1018 Bytes
/
install_packages.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#step 0 set Default repository for automated download ####
# this is optional, uncomment only if needed
# local({r <- getOption("repos")
# r["CRAN"] <- "https://cran.r-project.org"
# options(repos=r)
# })
#step1 install all required packages from CRAN ####
flame_all_packages <- c("devtools",
"shiny",
"shinyjs",
"shinydashboard",
"shinyWidgets",
"shinyalert",
"bsplus",
"stringr",
"httr",
"httpuv",
"curl",
"jsonlite",
"gprofiler2",
"WebGestaltR",
"DT",
"tidyr",
"enrichR",
"plotly",
"igraph",
"visNetwork",
"upsetjs",
"plyr",
"poolr"
)
flame_new_packages <- subset(flame_all_packages, !(flame_all_packages %in% rownames(installed.packages())))
install.packages(flame_new_packages)