R/is_windows.R

Defines functions is_windows

Documented in is_windows

#' Is the System Running a Windows Machine?
#'
#' Is the system running a windows machine?
#' @return \code{\link{TRUE}} if so, \code{\link{FALSE}} otherwise.
#' @family logical helpers
#' @family operating system functions
#' @export
#' @examples
#' is_windows()
is_windows <- function() return(.Platform[["OS.type"]] == "windows")

Try the fritools package in your browser

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

fritools documentation built on Nov. 19, 2023, 1:06 a.m.