tests/testthat/test-wait-inotify.R

test_that("dummy", {
  expect_true(TRUE)
})

if (ps_os_type()[["LINUX"]]) {
  fun <- function() {
    withr::local_envvar(PS_WAIT_FORCE_INOTIFY = "true")
    testthat::source_file(test_path("test-wait.R"), env = environment())
  }
  fun()
}

Try the ps package in your browser

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

ps documentation built on Oct. 29, 2024, 1:08 a.m.