context("internals")
test_that("final environment can be found", {
expect_true(is_library_dependency(summary))
f <- function(){}
environment(f) <- globalenv()
expect_false(is_library_dependency(f))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.