context("artist.R")
test_that(
"get_artist() returns a list", {
expect_match(
class(get_artist(1, access_token=Sys.getenv("GENIUS_SECRET"))),
"data.frame"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.