testthat::with_mock
isWindows.Rd
This is used so that unit tests can override this using testthat::with_mock.
isWindows()