Skip to content

Instantly share code, notes, and snippets.

@wheresalice
Created March 13, 2018 09:10
Show Gist options
  • Save wheresalice/9263c297445911adc21ffc6586c8c259 to your computer and use it in GitHub Desktop.
Save wheresalice/9263c297445911adc21ffc6586c8c259 to your computer and use it in GitHub Desktop.
.DEFAULT_GOAL: build
build:
Rscript -e 'library(rmarkdown); rmarkdown::render("dashboard.Rmd", output_file="dashboard.html")'
dep:
Rscript -e 'install.packages("devtools", repos = "https://cloud.r-project.org/")'
Rscript -e 'install.packages(c("ggplot2","prophet","dplyr"), repos = "https://cloud.r-project.org/")'
Rscript -e 'devtools::install_github("rstudio/rmarkdown")'
Rscript -e 'install.packages("rstan", repos = "https://cloud.r-project.org/", dependencies = TRUE)'
Rscript -e 'install.packages(c("Rcpp", "rstan"), type = "source", repos = "https://cloud.r-project.org/")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment