tests/testthat/test-cpu.R

test_that("Test CPU", {
  skip_on_cran()
  cpu = get_cpu()
  expect_equal(length(cpu), 3)
  expect_equal(anyNA(cpu), FALSE)
}
)

Try the benchmarkme package in your browser

Any scripts or data that you put into this service are public.

benchmarkme documentation built on June 12, 2022, 5:06 p.m.