Some systems not tested, but based on the cran page: check flavors

get_os()

Value

A string, "osx", "windows", "linux"