R/p_detectOS.R

Defines functions p_detectOS

Documented in p_detectOS

#' Detects Operating System
#' 
#' Attempts to detect the operating system.
#' Returns: "Windows", "Darwin" on Mac, "Linux", or "SunOS" on Solaris
#' 
#' @export
p_detectOS <- function(){
    Sys.info()[["sysname"]]
}

Try the pacman package in your browser

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

pacman documentation built on May 2, 2019, 1:08 p.m.