pkgname {switchr}R 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.


[Package switchr version 0.14.8 Index]