Query the type of the OS

ps_os_type()

ps_is_supported()

Value

ps_os_type returns a named logical vector. The rest of the functions return a logical scalar.

ps_is_supported() returns TRUE if ps supports the current platform.

Examples

ps_os_type()
#> POSIX WINDOWS LINUX MACOS #> TRUE FALSE FALSE TRUE
ps_is_supported()
#> [1] TRUE