# NOT RUN {
rmarkdown::draft("myarticle.Rmd",
template = "usgs_article",
package = "inlmisc")
rmarkdown::render("myarticle/myarticle.Rmd")
system("open myarticle/wrapper.pdf")
unlink("myarticle", recursive = TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab