using_cpu {ami}R Documentation

Processor Checks

Description

using_cpu() checks whether the machine uses the given type of processor or not.

using_x86_cpu() checks whether the machine uses an x86 processor

using_arm_cpu() checks whether the machine uses an ARM-based processor

Usage

using_cpu(arch = c("arm", "x86"))

using_x86_cpu()

using_arm_cpu()

Arguments

arch

CPU architecture name. Either "arm" or "x86".

Value

A logical value

Examples

using_arm_cpu()
using_x86_cpu()
using_arm_cpu()

[Package ami version 0.1.0 Index]