inst/build.R

#' Title
#'
#' Description
#'
#' @return
#' @references
#' @keywords
#' @export
#' @seealso
#' @examples

build <- function(blog_dir = "/Users/ssimpson/Documents/repos/data-steve.github.io"){

   wd <- getwd()
   if (wd!=blog_dir){
     setwd(blog_dir)
   }
   system("bundle exec jekyll build")
   setwd(wd)
}
data-steve/blogtools documentation built on May 14, 2019, 6:17 p.m.