R/checkIfLegendPossible.R

Defines functions checkIfLegendPossible

checkIfLegendPossible <- function(){
  ## Determine operating system to decide whether legends should be added.
  osType <- Sys.info()['sysname']
  if (osType %in% c("Linux", "Windows")){
    addLegend <- TRUE    
  } else addLegend <- FALSE
  return(addLegend)
}
DoroChilds/TPP documentation built on Oct. 31, 2021, 4:38 a.m.