Nothing
# test individual pathotypes ---------------------------------------------------
data(P_sojae_survey)
diversities <- calculate_diversities(
x = P_sojae_survey,
cutoff = 60,
control = "susceptible",
sample = "Isolate",
gene = "Rps",
perc_susc = "perc.susc"
)
test_that("individual_pathotypes() returns a pander object", {
expect_type(
capture.output(
individual_pathotypes(x = diversities, type = "text")), "character")
})
test_that("individual_pathotypes() stops if object is not hagis.diversities
object", {
expect_error(individual_pathotypes("y"),
regexp = "This is not a hagis.diversities object.")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.