# success
run_test("renv-lockfile-validate",
file_name = "renv-success",
suffix = ".lock", cmd_args = c("--error"),
std_err = NULL
)
# fail
run_test("renv-lockfile-validate",
file_name = "renv-fail",
suffix = ".lock", cmd_args = c("--error"),
std_err = "error validating json"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.