context("ricmd helpers")
test_that("isPkgLoaded", {
unloadNamespace("git2r")
expect_false(isPkgLoaded("git2r"))
library(git2r)
expect_true(isPkgLoaded("git2r"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.