test_that("fgit_branch-Wrong repository", {
skip_if_offline(host = "fastgit.org")
target_repo <-
"r-lib/diffviewer_mistake"
# Wrong branch name
expect_error(fgit_branch(target_repo),
"Repository may not exist")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.