check_os: Check OS

Description Usage Arguments Details Value Author(s)

View source: R/common-check.R

Description

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

Usage

1
check_os(onLoad = FALSE)

Arguments

onLoad

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

Details

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

Value

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

Author(s)

Ghislain Durif


rkeops documentation built on Feb. 17, 2021, 5:08 p.m.