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)
}

Try the TPP package in your browser

Any scripts or data that you put into this service are public.

TPP documentation built on Nov. 8, 2020, 5:55 p.m.