Learn R Programming

switchr (version 0.14.8)

branch: branch

Description

Get or set the branch associated with a Package Source

Usage

branch(x)

# S4 method for PkgSource branch(x)

branch(x) <- value

# S4 method for PkgSource branch(x) <- value

Value

for the getter, the branch associated with the source object, for the setter, the object updated to use the specified branch.

Arguments

x

A source

value

The new branch