R/onLoad.R

# .First <- function() {
#   options(
#     prompt="> ",
#     repos = c(CRAN = "http://cran.rstudio.com/"),
#     browserNLdisabled = TRUE,
#     deparse.max.lines = 2)
#   
#   if (interactive()) {
#     # suppressMessages(require(devtools))
#   }
#   
#   # Sys.setenv(PATH=paste0(Sys.getenv("PATH"), ":/home/steven/.cabal/bin"))
# }
# 
# 
# .onLoad <- function(libname, pkgname) {
# #   .First()
#   rmdWeave <- function(file, ...) {
#     rmarkdown::render(file, "all")
#   }
#   tools::vignetteEngine("rmarkdown", weave = rmdWeave,
#                         tangle = function(file, ...) {file},
#                         pattern = "[.]Rmd$", package = "rmarkdown")
# }

Try the boostr package in your browser

Any scripts or data that you put into this service are public.

boostr documentation built on May 2, 2019, 1:42 p.m.