tests/testthat/test-DAISIE_plot_stt.R

context("DAISIE_plot_stt")

test_that("use", {
  
  utils::data(islands_1type_1000reps, package = "DAISIE")
  plot_lists <- DAISIE:::DAISIE_convert_to_classic_plot(
    simulation_outputs = islands_1type_1000reps
  )
  type <- names(plot_lists)[1]
  expect_silent(
    DAISIE:::DAISIE_plot_stt(
      plot_plus_one = FALSE,
      time = 4,
      plot_lists = plot_lists,
      type = type
    )
  )
})
xieshu95/Test-Trasie documentation built on Dec. 18, 2019, 7:34 a.m.