Skip to contents

Create or get base folder

Usage

rb_drive_find_base_folder(
  base_folder = "rbackupr",
  create = FALSE,
  cache = TRUE
)

Arguments

base_folder

Name of base folder, defaults to "rbackupr".

create

Defaults to FALSE. If set to TRUE, the folder is create if not found.

cache

Logical, defaults to TRUE. Can be se to NULL, and managed with `rb_enable_cache()` / `rb_disable_cache()`

Examples

if (FALSE) {
if (interactive()) {
  rb_drive_find_base_folder()
}
}