## ----include=FALSE------------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  eval = FALSE
)

## -----------------------------------------------------------------------------
# renv::settings$snapshot.type("all")

## -----------------------------------------------------------------------------
# renv::settings$ignored.packages("<package>")

## -----------------------------------------------------------------------------
# renv::settings$snapshot.type("explicit")

## -----------------------------------------------------------------------------
# renv::lockfile_validate()

## -----------------------------------------------------------------------------
# renv::install()

## -----------------------------------------------------------------------------
# renv::settings$snapshot.dev(TRUE)

## -----------------------------------------------------------------------------
# # check all packages recorded in the lockfile
# renv::vulns()
# 
# # check specific packages
# renv::vulns(c("openssl==2.0.6", "curl==5.1.0"))

