check_cmake: Check cmake version

Description Usage Arguments Details Value Author(s)

View source: R/common-check.R

Description

This function calls the cmake executable whose path is given in input and check if its version is higher than 3.10 which is the minimum required for rkeops to work.

Usage

1
check_cmake(cmake_executable, onLoad = FALSE)

Arguments

cmake_executable

text string, path to cmake (e.g. /path/to/cmake on Unix system).

Details

The function check for the existence of the input file cmake_executable, if it is actually a cmake executable and its version (rkeops requires cmake >= 3.10).

Value

a value 1 or 0 depending if checks are ok or not.

Author(s)

Ghislain Durif


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