Nothing
context("download_metadata2")
# skip tests because they take too much time
skip_if(Sys.getenv("TEST_ONE") != "")
testthat::skip_on_cran()
test_that("download_metadata2", {
metadata <- download_metadata2()
testthat::expect_true(is(metadata, "data.frame"))
testthat::expect_equal(ncol(metadata), 4)
testthat::expect_true(is( download_metadata2() , "data.frame"))
})
# Expected errors
test_that("download_metadata2", {
testthat::expect_error( download_metadata2("asdasd") )
testthat::expect_error( download_metadata2( NULL) )
})
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.