Nothing
.onLoad = function(lib, pkg) {
# spin goat's hair
tools::vignetteEngine(
name = 'spin',
package='Pmisc',
weave = function(file, ...) {
knitr::spin(hair=file, format='Rmd', knit=TRUE, report=TRUE)
},
tangle = function(file, ...) {
hair=readLines(file)
wool=knitr::spin(
text=hair,
format='Rmd', knit=FALSE)
knitr::knit(
text=wool,
tangle=TRUE,
output = gsub("hair$", "", file)
)
},
pattern = '[.][Rr]hair$'
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.