Nothing
context("plosword")
skip_on_cran()
skip_if_offline()
test_that("plosword returns the correct value", {
vcr::use_cassette("plosword1", {
expect_that(names(plosword('Helianthus')), equals("Number of articles with search term"))
})
})
test_that("plosword returns the correct class", {
vcr::use_cassette("plosword2", {
expect_that(plosword(list('monkey','Helianthus','sunflower','protein','whale'), vis = 'TRUE')[[2]],
is_a("ggplot"))
})
})
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.