Nothing
test_that("Require file", {
expect_error(mx_export())
})
mx_result <- mx_search(mx_snapshot(),
query = c("dementia"),
to_date = "2020-01-01",
)
tmpfile <- tempfile(fileext = ".bib")
test_that("Inital output", {
skip_if_offline()
expect_message(mx_export(mx_result,tmpfile),
regexp = "References exported to")
})
testthat::test_that("Inital output", {
skip_if_offline()
expect_identical(file.exists(tmpfile), TRUE)
})
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.