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/r-goalie documentation built on Jan. 12, 2024, 4:15 a.m.