R/mantaJobs.running.R

Defines functions mantaJobs.running

Documented in mantaJobs.running

# Roxygen Comments mantaJobs.running
#' Lists identifiers of any running Manta jobs.
#'
#' @keywords Manta
#'
#' @family mantaJobs
#'
#' @examples
#' \dontrun{
#' ## List any running Manta jobs:
#' mantaJobs.running()
#' }
#'
#'
#' @export
mantaJobs.running <-
function() {
  # If this is the first export function called in the library
  if (manta_globals$manta_initialized == FALSE) {
    mantaInitialize(useEnv = TRUE)
  }  
  return(mantaLs(mantapath = "~~/jobs?state=running", l='names', sortby = 'time'))
}
joyent/mantaRSDK documentation built on May 19, 2019, 10:43 p.m.