Nothing
create_tmp_package <- function(){
tmp <- tempdir()
# make sure it's empty
files <- list.files(tmp)
sapply(files, empty, dir = tmp)
suppressMessages(usethis::create_package(tmp))
return(tmp)
}
empty <- function(file, dir = tmp){
path <- file.path(dir, file)
unlink(file, recursive = TRUE, force = TRUE)
}
delete_tmp_package <- function(tmp){
unlink(tmp, recursive = TRUE, force = TRUE)
}
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.