R/getBucket.R

Defines functions getBucket

Documented in getBucket

#' Returns the team
#'
#' Returns the team
#' @author Daniel Fischer
#' @export

getBucket = function(){
  tryCatch({
      bucket = suppressWarnings({readLines("~/.bucket")[1]})
      return(bucket)
    },error = function(e) {
      stop("Please setup your bucket using workspaces application")
    })
}
metricarts/metRictools documentation built on Nov. 12, 2019, 10 a.m.