Edited from various posts on the Stack Exchange Network.

prop_cpu()

Value

Numeric. Proportion

Examples

if(.Platform$OS.type == "windows") prop_cpu()
#> Warning: There was 1 warning in `dplyr::mutate()`.
#>  In argument: `cpu = as.numeric(cpu)`.
#> Caused by warning:
#> ! NAs introduced by coercion