R/mantaSetwd.stor.R

Defines functions mantaSetwd.stor

Documented in mantaSetwd.stor

# Roxygen Comments mantaSetwd.stor
#' Sets current Manta working directory to \code{~~/stor}
#'
#' See \code{mantaSetwd}.
#'
#' @keywords Manta
#'
#' @family Directory
#'
#' @export
mantaSetwd.stor <-
function() {
  # If this is the first export function called in the library
  if (manta_globals$manta_initialized == FALSE) {
    mantaInitialize(useEnv = TRUE)
  }
  
  manta_cwd <- "~~/stor"

  path_enc <- mantaExpandPath(manta_cwd)
  assign("manta_cwd", path_enc, envir=manta_globals)
}
joyent/mantaRSDK documentation built on May 19, 2019, 10:43 p.m.