Nothing
testthat::test_that("Dropping Variables Work", {
var1 <- "a"
var2 <- 2
var3 <- rep(var1, 10)
freshr::freshr(pkgexc = "testthat")
testthat::expect_equal(length(ls(envir = .GlobalEnv)), 0)
})
testthat::test_that("Dropping Packages Work", {
library(usethis)
freshr::freshr(pkgexc = "testthat")
testthat::expect_equal(names(sessionInfo()$otherPkgs), "testthat")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.