R/os.R

#' Returns the name of the Operating System
#' 
#' A simple wrapper around \code{rappdirs:::get_os},
#'  allowing it to be exported.
#' 
#' @return One of \code{"win"}, \code{"mac"}, \code{"unix"},
#'  \code{"Unknown OS"}.
#' 
#' @export
get_os <- utils::getFromNamespace("get_os", ns = "rappdirs")

Try the Nmisc package in your browser

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

Nmisc documentation built on April 28, 2021, 5:10 p.m.