Skip to contents

This function gets the right folder for results

Usage

path(
  ...,
  create_dir = FALSE,
  trailing_slash = FALSE,
  auto = cs9::config$is_auto
)

Arguments

...

Second level and beyond

create_dir

create directory if it does not exist

trailing_slash

do you want a trailing /?

auto

Is this running in auto (then the base directory is used) or interactive ("/interactive")?