Nothing
library(PaRe)
library(git2r)
library(testthat)
library(withr)
withr::local_envvar(
R_USER_CACHE_DIR = tempfile("cache-")
)
test_that("void", {
expect_error(
checkDependencies(),
"argument \"repo\" is missing, with no default"
)
})
test_that("minimal", {
skip_if_offline()
skip_if_not(repoCloned)
repo <- Repository$new(path)
expect_message(
suppressWarnings(checkDependencies(repo = repo)),
"All dependencies are approved."
)
})
test_that("parallel", {
skip_if_offline()
skip_if_not(repoCloned)
repo <- Repository$new(path)
expect_message(
suppressWarnings(checkDependencies(repo = repo, nThreads = 2)),
"All dependencies are approved."
)
})
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.