Use deactivate() to remove the infrastructure used by renv to activate
projects for newly-launched R sessions. In particular, this implies removing
the requisite code from the project .Rprofile that automatically activates
the project when new R sessions are launched in the project directory.
deactivate(project = NULL)The project directory. If NULL, then the active
project will be used. If no project has been specifically activated,
the current working directory is used.
Other renv: activate