powered by
This function checks the OS. Only Unix (Linux and MacOS) are supported at the moment. Windows is not supported.
Unix
check_os(onLoad = FALSE)
a value 1 or 0 depending if check is ok or not.
boolean indicating if the function is used when loading the package (to avoid the warning in this case).
Ghislain Durif
Return 0 if run on Windows and 1 otherwise, with a possible warning.