pkgname: pkgname

pkgnameR Documentation

pkgname

Description

Get or set the package name associated with a Package Source

Usage

pkgname(x)

## S4 method for signature 'PkgSource'
pkgname(x)

pkgname(x) <- value

## S4 replacement method for signature 'PkgSource'
pkgname(x) <- value

Arguments

x

A source

value

The new pkgname

Value

for the getter, the package name as a string, for the setter, an updated PkgSource (or subclass) object with the new package name.


switchr documentation built on March 31, 2023, 5:13 p.m.