Learn R Programming

shiny.benchmark (version 0.1.1)

restore_env: Check and restore renv

Description

Check whether renv is in use in the current branch. Raise error if renv is not in use or apply renv:restore() in the case the package is present

Usage

restore_env(branch, renv_prompt)

Arguments

branch

Commit hash code or branch name. Useful to create an informative error message

renv_prompt

Prompt the user before taking any action?