Skip to contents

Is the operating system Unix-based?

Usage

isUnix()

Value

TRUE on success; FALSE on failure, with cause set.

Details

This check will return TRUE on Linux and macOS but FALSE on Windows.

Note

Updated 2020-04-12.

Examples

isUnix()
#> [1] TRUE