Meant for internal use, as there are internal objects as arguments.
cacheId of the object to upload
The character string of the local filename that the downloaded object will have
The result of
googledrive::drive_ls(googledrive::as_id(cloudFolderID), pattern = "outputHash")
A repository used for storing cached objects.
This is optional if
Cache is used inside a SpaDES module.
A googledrive dribble of a folder, e.g., using
If left as
NULL, the function will create a cloud folder with name from last
two folder levels of the
cachePath path, :
paste0(basename(dirname(cachePath)), "_", basename(cachePath)).
cloudFolderID will be added to
but this will not persist across sessions. If this is a character string, it will
treat this as a folder name to create or use on GoogleDrive.
if using a database backend, drv must be an object that
inherits from DBIDriver e.g.,
an optional DBIConnection object, as returned by dbConnect().
Numeric, -1 silent (where possible), 0 being very quiet,
1 showing more messaging, 2 being more messaging, etc.
Default is 1. Above 3 will output much more information about the internals of
Caching, which may help diagnose Caching challenges. Can set globally with an
options('reproducible.verbose' = 0) to reduce to minimal