tests/testthat/test-attach.R

test_that("package attach does not call the network", {
  expect_false(
    exists(".onAttach", envir = asNamespace("inferr"), inherits = FALSE)
  )
})

Try the inferr package in your browser

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

inferr documentation built on Nov. 14, 2026, 5:11 p.m.