test_that("public url is correctly inferred", {
local_create_package()
desc::desc_set_urls(c(
"https://subugoe.github.io/muggle",
"https://github.com/subugoe/muggle",
"https://www.google.com"
))
expect_equal(get_url_from_desc(), "https://subugoe.github.io/muggle")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.