context("Unloading")
dyn_lib_names <- function() {
sapply(.dynLibs(), `[[`, "name")
}
expect_true("rnndescent" %in% dyn_lib_names())
unloadNamespace("rnndescent")
expect_false("rnndescent" %in% dyn_lib_names())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.