inst

0th

Percentile

Get the installation path of a package

Given the name of a package, this returns a path to the installed copy of the package, which can be passed to other devtools functions.

Usage
inst(name)
Arguments
name

the name of a package.

Details

It searches for the package in .libPaths(). If multiple dirs are found, it will return the first one.

Aliases
  • inst
Examples
# NOT RUN {
inst("pkgload")
inst("grid")
# }
Documentation reproduced from package pkgload, version 1.0.0, License: GPL-3

Community examples

Looks like there are no examples yet.