# create a new directory
dir <- tempfile()
dir.create(dir)
# vendor the cpp11 headers into the directory
cpp_vendor(dir)
list.files(file.path(dir, "inst", "include", "cpp11"))
# cleanup
unlink(dir, recursive = TRUE)
Run the code above in your browser using DataLab