tests/testthat/test-as.data.frame.density.R

test_that("as.data.frame.density", {
  expect_s3_class(as.data.frame(density(distribution_normal(1000))), "data.frame")
})

Try the bayestestR package in your browser

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

bayestestR documentation built on April 7, 2023, 5:09 p.m.