is.windows: Checks if the running OS is windows

View source: R/is.x.R

is.windowsR Documentation

Checks if the running OS is windows

Description

Returns TRUE/FALSE if the R session is running on Windows or not.

Usage

is.windows(...)

Arguments

...

none are available.

Details

This function is run when the 'installr' package is first loaded in order to check if the current running OS is Windows. If you are running a different OS, then the installr package (at its current form) does not have much to offer you.

Value

Returns TRUE/FALSE if the R session is running on Windows or not.

Examples

## Not run: 
is.windows() # returns TRUE on my machine.

## End(Not run)

installr documentation built on Nov. 13, 2022, 1:06 a.m.