R/get_os.R

Defines functions get_os

Documented in get_os

#' Get current operating system
#'
#' @return Name of current operating system.
#' @export
#'
#' @examples
#'
#' get_os()

get_os <- function() {
  tolower(Sys.info()[["sysname"]])
}
aedobbyn/dobtools documentation built on May 28, 2019, 2:33 a.m.