Nothing
# Tests ---------------------------------------------------------
testthat::test_that('skater_edge_shot_location() returns non-empty data.frame', {
testthat::skip_if_offline()
test <- skater_edge_shot_location()
testthat::expect_true(is.data.frame(test) && nrow(test) > 0)
})
# Run skater edge shot location tests.
testthat::test_that('skater_edge_shot_location(0) returns message and empty data.frame', {
testthat::skip_if_offline()
testthat::expect_message(
test <- skater_edge_shot_location(0),
'Invalid argument\\(s\\); refer to help file\\.'
)
testthat::expect_true(is.data.frame(test) && nrow(test) == 0)
})
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.