From cf1f4164403c5a7d644bcaa9b7690128464cad5c Mon Sep 17 00:00:00 2001 From: Holtz Yan Date: Tue, 17 Jul 2018 10:06:52 +1000 Subject: [PATCH] Add my notes --- create_template_tuto.R | 50 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 create_template_tuto.R diff --git a/create_template_tuto.R b/create_template_tuto.R new file mode 100644 index 0000000..a5ff90f --- /dev/null +++ b/create_template_tuto.R @@ -0,0 +1,50 @@ +#Tutorial on: +#http://ismayc.github.io/ecots2k16/template_pkg/ + +# Set working directory +setwd("~/Dropbox/YH_template/") + +# Need devtools +library(devtools) + +# Create my template! +#devtools::create("yhPersoTemplate") + +# Create skeleton directory +#dir.create("yhPersoTemplate/inst/rmarkdown/templates/report/skeleton", recursive = TRUE) + +# Create skeleton.rmd file +# Create .yaml file + +# install package: +remove.packages("epuRate") +devtools::install("epuRate") +library(epuRate) + + + + + + + + + +# Call the library from Github? +library(devtools) +remove.packages("epuRate") +install_github("holtzy/epuRate", force=TRUE) +library(epuRate) + + + + + + + + + + + + + +