Nothing
example_csv <- system.file("extdata", "lc50_example.csv", package = "insectecol")
test_that("lc50_analyze() 的 plot_file 参数导出 png", {
f <- tempfile(fileext = ".png")
out <- suppressMessages(lc50_analyze(lc50_read(example_csv),
method = "probit",
plot = TRUE, plot_file = f))
expect_true(file.exists(f))
expect_true(file.size(f) > 0)
expect_equal(unname(out$plot_file), f)
})
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.