tests/testthat/test-plot_sensitivity.R

test_that("plot_sensitivity runs silent for density", {
  sens <- read_sensitivity()
  sens <- sens$sensitivity_dna
  expect_silent(
    plot_sensitivity(sensitivity_data = sens, pairwise_diffs = FALSE)
  )
})

test_that("plot_sensitivity runs silent for pairwise diff scatter", {
  sens <- read_sensitivity()
  sens <- sens$sensitivity_dna
  expect_silent(
    plot_sensitivity(sensitivity_data = sens, pairwise_diffs = TRUE)
  )
})

Try the DAISIEprep package in your browser

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

DAISIEprep documentation built on April 3, 2025, 9:26 p.m.