R/detect_deployment.R

Defines functions detect_deployment

Documented in detect_deployment

#' detect deployment
#' 
#' Determine if the the app is running on a local machine, on a virtual 
#' machine (ie, from a docker container) or from a host such as shiny.io
#'
#' @return string, one of "remote", "virtual", or "local"
#' 
detect_deployment <- function(){
    envType = ifelse(isInDocker(), "remote", "local") 
    return(envType)
}
IvoryC/shinyBioLockJ documentation built on May 29, 2021, 7:40 a.m.