test_that("renv_lockfile_read gives informative error", {
file <- renv_scope_tempfile()
writeLines("{", file)
expect_snapshot(renv_lockfile_read(file), error = TRUE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.