Nothing
# Unit tests for the get_all_nfl_players function
# Test 1: Clean parameter not of type logical? Throws an error
test_that("Throws error if clean is not of type logical", {
expect_error(get_all_nfl_players(clean = "test"))
})
# Test 2: Clean parameter = TRUE returns data frame
test_that("Throws error if clean is not of type logical", {
expect_equal(class(get_all_nfl_players(clean = TRUE)), "data.frame")
})
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.