Learn R Programming

rkeops (version 1.4.2.2)

check_os: Check OS

Description

This function checks the OS. Only Unix (Linux and MacOS) are supported at the moment. Windows is not supported.

Usage

check_os(onLoad = FALSE)

Value

a value 1 or 0 depending if check is ok or not.

Arguments

onLoad

boolean indicating if the function is used when loading the package (to avoid the warning in this case).

Author

Ghislain Durif

Details

Return 0 if run on Windows and 1 otherwise, with a possible warning.