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