Will check for presence of a cloudFolderID and make a new one if one not present on googledrive, with a warning.

checkAndMakeCloudFolderID(
  cloudFolderID = getOption("reproducible.cloudFolderID", NULL),
  cacheRepo = NULL,
  create = FALSE,
  overwrite = FALSE
)

Arguments

cloudFolderID

The google folder ID where cloud caching will occur.

cacheRepo

A repository used for storing cached objects. This is optional if Cache is used inside a SpaDES module.

create

Logical. If TRUE, then the cloudFolderID will be created. This should be used with caution as there are no checks for overwriting. See googledrive::drive_mkdir. Default FALSE.

overwrite

Logical. Passed to googledrive::drive_mkdir.