Nothing
test_that("Testing synapse version", {
# exit if user doesn't have synapser, a log in, or access to data.
testthat::skip_if_not(.is_connected_to_genie())
expect_equal(
class(synapse_version(FALSE)),
c("tbl_df", "tbl", "data.frame")
)
expect_equal(
class(synapse_version(TRUE)),
c("tbl_df", "tbl", "data.frame")
)
expect_equal(nrow(synapse_version(TRUE)) < nrow(synapse_version(FALSE)),
TRUE)
})
test_that("Test most_recent argument", {
expect_error(synapse_version(most_recent = "ABC"))
expect_error(synapse_version(most_recent = 123))
})
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.