build_package.R

#! /usr/bin/R
reconstruct_data <- FALSE
library(devtools)
library(roxygen2)
library(rmarkdown)
document('.')
install('.')
render('README.Rmd')
setwd('vignettes')
render('vignette.Rmd')
setwd('..')
if(reconstruct_data){
  setwd('data-raw')
  source('create_data_files.R')
  setwd('..')
}
databrew/gsod documentation built on Dec. 16, 2017, 3:29 p.m.