restore_env: Check and restore renv

View source: R/utils.R

restore_envR Documentation

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?


shiny.benchmark documentation built on Jan. 22, 2023, 1:28 a.m.