tests/testthat/test_fitevo.R

## load sample data
data(GARS_fit_list)

## check input
expect_error(GARS_PlotFitnessEvolution())
expect_error(GARS_PlotFitnessEvolution("GARS_fit_list"))
expect_error(
  GARS_PlotFitnessEvolution(
    GARS_fit_list[sample(length(GARS_fit_list))]
  )
)

Try the GARS package in your browser

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

GARS documentation built on Nov. 8, 2020, 7:23 p.m.