Learn R Programming

reproducible (version 1.1.1)

checkAndMakeCloudFolderID: Check for presence of checkFolderID (for Cache(useCloud))

Description

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

Usage

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.