Create a new subdirectory in the staging directory to store files for an upload via uploadDirectory
.
allocateUploadDirectory(staging, attempts = 3)
String containing a path to a newly created subdirectory within staging
.
staging <- tempfile()
dir.create(staging)
allocateUploadDirectory(staging)
#> [1] "/tmp/Rtmpk5zsYr/file2197a3c9b70/upload-21953b68a8a"