tests/testthat/test-sysutils.R

context("system utils")

test_that("sysutils",{
  expect_is(n<-ncpus(),'integer')
  expect_true(n>=1L)
})

Try the nat.utils package in your browser

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

nat.utils documentation built on June 7, 2023, 6:30 p.m.