-
Notifications
You must be signed in to change notification settings - Fork 3
/
init.R
63 lines (51 loc) · 3.59 KB
/
init.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# R script to run author supplied code, typically used to install additional R packages
# contains placeholders which are inserted by the compile script
# NOTE: this script is executed in the chroot context; check paths!
r <- getOption("repos")
r["CRAN"] <- "http://cloud.r-project.org"
options(repos=r)
# ======================================================================
# packages go here
install.packages("remotes")
# installs Rcpp, rlang, BH
install.packages("later")
install.packages("https://cran.r-project.org/src/contrib/jsonlite_1.6.tar.gz", type="source", repos=NULL)
install.packages("rjson")
install.packages("listenv")
install.packages("anytime")
install.packages("readr")
install.packages("heatmaply")
# installs magrittr, promises, R6
remotes::install_version("httpuv", version = "1.4.5.1", repos = "http://cloud.r-project.org", upgrade="never")
# installs crayon, digest, htmltools, mime, sourcetools, xtable
remotes::install_version("shiny", version = "1.2.0", repos = "http://cloud.r-project.org", upgrade="never")
# installs askpass, assertthat, base64enc, cli, colorspace, crosstalk, curl, data.table, dplyr, fansi, ggplot2, glue, gtable, hexbin, htmlwidgets, httr, labeling, lattice, lazyeval, mgcv, munsell, nlme, openssl, pillar, pkgconfig, plogr, plyr, purrr, RColorBrewer, reshape2, scales, stringi, stringr, sys, tibble, tidyr, tidyselect, utf8, viridisLite, withr, yaml
remotes::install_version("plotly", version = "4.9.1", repos = "http://cloud.r-project.org", upgrade="never")
install.packages("https://cloud.r-project.org/src/contrib/assertthat_0.2.1.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/xml2_1.2.2.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/triebeard_0.3.0.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/Archive/urltools/urltools_1.7.2.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/jsonlite_1.6.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/webutils_1.0.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/brotli_1.2.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/reqres_0.2.3.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/uuid_0.1-2.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/base64enc_0.1-3.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/codetools_0.2-16.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/globals_0.12.5.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/Archive/future/future_1.11.1.1.tar.gz", type="source", repos=NULL)
# fiery and friends
install.packages("https://cloud.r-project.org/src/contrib/routr_0.4.0.tar.gz", type="source", repos=NULL)
install.packages("https://cloud.r-project.org/src/contrib/fiery_1.1.2.tar.gz", type="source", repos=NULL)
# dash components
remotes::install_github("plotly/dash-table", ref="042ad65")
remotes::install_github("plotly/dash-html-components", ref="17da1f4")
remotes::install_github("plotly/dash-core-components", ref="cc1e654")
remotes::install_github("plotly/dashR", ref="dev", dependencies=FALSE)
install.packages("tidyverse")
install.packages("plotly")
install.packages("maps")
install.packages("repr")
install.packages("ggplot2")
install.packages("broom")
install.packages("gridExtra")