Skip to contents

This function forcefully initializes an renv project at the specified path, ensuring explicit snapshot settings and ignoring specified packages. It overrides the internal renv function to automatically initialize the project without prompting the user.

Usage

force_renv_init_project(path = ".")

Arguments

path

Character. The project directory where renv should be initialized. Defaults to the current working directory (".").

Value

Invisibly returns TRUE after successful re-initialization.