Nothing
source("../fns.R")
skip_on_cran()
test_that("update", {
wd <- getwd()
pkg <- create_tmp_package()
setwd(pkg)
on.exit({
setwd(wd)
delete_tmp_package(pkg)
})
expect_error(update_scaffold(TRUE))
scaffold()
expect_message(update_scaffold(FALSE))
expect_message(update_scaffold(TRUE))
expect_true(update_scaffold(TRUE))
packer::scaffold_leprechaun(edit = FALSE)
use_packer()
use_js_utils()
# manually change lock
new_version <- "0.0.1"
lock <- leprechaun:::lock_read()
lock$version <- new_version
lock$uses$packer <- new_version
lock$uses$`js-utils` <- new_version
leprechaun:::lock_write(lock)
expect_true(sitrep())
expect_message(update_scaffold(FALSE))
expect_message(update_scaffold(force = TRUE))
})
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.