tests/testthat/test_local_checkUserConfirmation.R

test_that("checkUserConfirmation", {
  with_reset_config({
    setOMLConfig(confirm.upload = FALSE)
    expect_true(checkUserConfirmation("flow"))
  })
})
openml/r documentation built on Oct. 21, 2022, 2:21 a.m.