vignettes/precompile.R

# Precompiled vignettes that are slow

#remove old version
list<-list.files(path ="vignettes/",pattern="(*)+(.png)", full.names=TRUE)
file.remove(list)
file.remove("vignettes/Examples.Rmd")

#can build here for last changes
library(knitr)
knit("vignettes/Examples.Rmd.orig", "vignettes/Examples.Rmd")

list<-list.files(pattern="(*)+(.png)", full.names=TRUE)
file.copy(from = list,to ="vignettes/")
file.remove(list)
devtools::build_vignettes()

Try the LKT package in your browser

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

LKT documentation built on July 3, 2024, 5:11 p.m.