forked from UBC-MDS/532_Group_22-R
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.R
More file actions
15 lines (12 loc) · 723 Bytes
/
Copy pathinit.R
File metadata and controls
15 lines (12 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File adapted from Heroku/Dashr demonstration repo by Joel Ostblom (https://github.com/UBC-MDS/dashr-heroku-deployment-demo)
#
# 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(c('dash', 'tidyverse', 'ggplot2', 'cowplot', 'here', 'ggthemes', 'remotes', 'spdplyr', 'plotly', 'rjson'))
remotes::install_github('facultyai/dash-bootstrap-components@r-release')