-- I -- installcmd()

-- P -- print.installcmd()

Installation command

Description

Function generates installation command for a given installed package. Installation command points to a github page of a package.

Usage

installcmd(pkg = "pkgup")

Arguments

pkg

Character, default "pkgup". A package name for which we want to generate installation command.

Value

Object of class installcmd is returned.

See Also

print.installcmd

Examples

installcmd("pkgup")

Print installcmd method

Description

Prints installation command for installcmd object.

Usage

## S3 method for class 'installcmd'
print(x, ...)

Arguments

x

An installcmd object.

...

Ignored.

Value

Returns x invisibly. Display output to console as a side effect.

See Also

installcmd

Examples

cmd = installcmd("pkgup")
print(cmd)