tests/testthat/test-as_tibble.R

test_that("as_tibble() works", {
  expect_error(
    dca_binary <-
      dca(cancer ~ cancerpredmarker, data = df_binary) %>%
      as_tibble(),
    NA
  )
})

Try the dcurves package in your browser

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

dcurves documentation built on Dec. 28, 2022, 1:07 a.m.