R/env-setup.R

Defines functions get.base.path get.path

# env-setup
get.base.path <- function() {
  return('.')
}

get.path <- function(someRelativePath) {
  filePath <- file.path(get.base.path(), someRelativePath)

  if(!file.exists(filePath))
    dir.create(filePath, recursive = T)

  filePath
}
sohrabsa/ddclone documentation built on May 30, 2019, 6:08 a.m.