inst/source/R/is_windows.R

#' 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 fritools2 package in your browser

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

fritools2 documentation built on July 9, 2023, 7:07 p.m.