deactivate: Deactivate a Project

Description Usage Arguments Value See Also Examples

View source: R/deactivate.R

Description

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.

Usage

1

Arguments

project

The project directory. If NULL, then the active project will be used. If no project is currently active, then the current working directory is used instead.

Value

The project directory, invisibly. Note that this function is normally called for its side effects.

See Also

Other renv: activate()

Examples

1
2
3
4
5
6
7
## Not run: 

# deactivate the currently-activated project
renv::deactivate()


## End(Not run)

wnattt/renv documentation built on Dec. 23, 2021, 5:19 p.m.