R/get_os.R

Defines functions get_os

get_os <- function() {
    OS <- ""
    switch(Sys.info()[["sysname"]],
           Windows = {
               OS <- "Windows"
           },
           Linux = {
               OS <- "Linux"
           },
           Darwin = {
               OS <- "Mac"
           }
    )
    return(OS)
}
RajLabMSSM/echotabix documentation built on Nov. 21, 2023, 8:02 a.m.