This function removes the vendored armadillo4r headers from your package by automatically finding the vendored headers.
Examples
# 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)
#> here
# cleanup
unlink(dir, recursive = TRUE)