R/rtRoot.R

Defines functions rtRoot

Documented in rtRoot

#' Initialise a Radiotracking Project
#'
#' @export
#'



rtRoot = function(projroot = "."){

  dirCreate <- function(x) {
    x <- file.path(projroot, x)
    if(! file.exists(x)) dir.create(x) else warning("Directory '", x, "' already exists.")
  }

  if(projroot != ".") dirCreate("")

  dirCreate("data")




}
JannisGottwald/N40RTS documentation built on Feb. 1, 2021, 5:13 p.m.