temp_folder | R Documentation |
'temp_folder' created a temporary folder in your AppData directory, which will be automatically removed after you close your RStudio session.
temp_folder(launch = FALSE, quiet = FALSE)
launch |
do you want to launch the temp folder in the Windows Explorer? default = FALSE |
quiet |
suppresses the output message related to the folder creation and location, for use in sub functions, default = FALSE |
creates a temp directory and stores it as 'folderpath_tmp'
## Not run:
load_secrets()
temp_folder(launch = TRUE)
purrr::walk2(.x = df_googlefiles$id,
.y = df_googlefiles$filename,
.f = ~googledrive::drive_download(googledrive::as_id(.x),
file.path(folderpath_tmp, .y)))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.