check-scalar-hasCpu: Does the current machine have a sufficient number of CPU...

check-scalar-hasCpuR Documentation

Does the current machine have a sufficient number of CPU cores?

Description

Does the current machine have a sufficient number of CPU cores?

Usage

hasCpu(n)

Arguments

n

integer(1). Minimum number of CPU cores.

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2023-08-10.

Examples

## TRUE ====
hasCpu(n = 1L)

## FALSE ====
hasCpu(n = Inf)

acidgenomics/goalie documentation built on Dec. 11, 2023, 11:36 p.m.