Skip to contents

Build full path to base working folder

Usage

cas_get_base_path(
  create_folder_if_missing = NULL,
  custom_path = NULL,
  custom_folder = NULL,
  index = FALSE,
  file_format = "html",
  ...
)

Arguments

create_folder_if_missing

Logical, defaults to NULL. If NULL, it will ask before creating a new folder. If TRUE, it will create it without asking.

custom_path

Defaults to NULL. If given, all other parameters and settings are ignored, and folder is set to this value.

file_format
...

Passed to cas_get_options().

Value

Path to base folder. A character vector of length one of class fs_path.