tests/testthat/test-ps.R

test_that("issue #129", {
  if (!ps_os_type()[["POSIX"]]) return()
  pss <- ps(user = "root", after = as.POSIXct('2022-05-15', tz = "GMT"))
  expect_s3_class(pss, "tbl")
})

Try the ps package in your browser

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

ps documentation built on Sept. 13, 2024, 1:12 a.m.