| unvendor | R Documentation |
This function removes the vendored armadillo4r headers from your package by automatically finding the vendored headers.
unvendor(path = NULL)
path |
The directory with the vendored headers. It is recommended to use '"./src/vendor"'. The default is 'NULL'. |
The path to the unvendored code (invisibly).
# create a new directory
dir <- paste0(tempdir(), "/", gsub("\\s+|[[:punct:]]", "", Sys.time()))
dir.create(dir, recursive = TRUE)
# vendor the armadillo4r headers into the directory
vendor(dir)
# unvendor the armadillo4r headers from the directory
unvendor(dir)
# cleanup
unlink(dir, recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.