R/cnOS.R

Defines functions cnOS

Documented in cnOS

#' Chinese operating system
#' Whether the computer is Chinese operating system
#' @return logical
#' @export
#'
#' @examples
#' cnOS()
cnOS <- function(){
    grepl('chinese',tolower(Sys.getlocale()))
}

Try the do package in your browser

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

do documentation built on Aug. 3, 2021, 5:06 p.m.