tests/testthat/test-f_functions.R

testthat::test_that("`f_functions()` works", {
  testthat::skip_on_cran()

  df <- f_functions()

  testthat::expect_true(
    is.data.frame(df)
  )

  testthat::expect_true(
    all(df[["name"]] %in% ls(getNamespace("collinear"), all.names = TRUE))
  )
})

Try the collinear package in your browser

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

collinear documentation built on Dec. 8, 2025, 5:06 p.m.