Skip to content

Instantly share code, notes, and snippets.

@przmv
Created February 26, 2018 11:21
Show Gist options
  • Save przmv/547d1e3ef9d8f060c31a6c077d1ced01 to your computer and use it in GitHub Desktop.
Save przmv/547d1e3ef9d8f060c31a6c077d1ced01 to your computer and use it in GitHub Desktop.
Rebuild Dygraphs for R project and docs
#!/usr/bin/env Rscript
library(roxygen2)
library(rmarkdown)
pkg <- "dygraphs"
roxygen2::roxygenize(pkg)
install.packages(pkg, repos = NULL, type = "source")
rmarkdown::render_site(paste(pkg, "docs", sep = "/"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment