Debian Codegraph @

tests/testthat/test-lockfile-read.R

raw
1 test_that("renv_lockfile_read gives informative error", {
2 file <- renv_scope_tempfile()
3 writeLines("{", file)
4
5 expect_snapshot(renv_lockfile_read(file), error = TRUE)
6 })