-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathpkg_status.Rd
55 lines (51 loc) · 3.19 KB
/
pkg_status.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\name{pkg_status}
\alias{pkg_status}
\title{Display installed locations of a package}
\usage{
pkg_status(pkg, lib = .libPaths())
}
\arguments{
\item{pkg}{Name of one or more installed packages to display status for.}
\item{lib}{One or more library paths to lookup packages status in.
By default all libraries are used.}
}
\value{
Data frame with data about installations of \code{pkg}.
\eval{include_docs("pkgdepends", "docs/lib-status-return.rds")}
}
\description{
Display installed locations of a package
}
\section{Examples}{
\if{html}{\out{<div class="sourceCode r">}}\preformatted{pkg_status("MASS")
}\if{html}{\out{</div>}}\if{html}{\out{
<div class="asciicast" style="color: #172431;font-family: 'Fira Code',Monaco,Consolas,Menlo,'Bitstream Vera Sans Mono','Powerline Symbols',monospace;line-height: 1.300000"><pre>
#> <span style="color: #999999;"># A data frame: 2 × 39</span>
#> library package title version depends repos…¹ license needs…² built
#> <span style="color: #c2c2c2;">*</span> <span style="font-style: italic;color: #999999;"><chr></span> <span style="font-style: italic;color: #999999;"><chr></span> <span style="font-style: italic;color: #999999;"><chr></span> <span style="font-style: italic;color: #999999;"><chr></span> <span style="font-style: italic;color: #999999;"><chr></span> <span style="font-style: italic;color: #999999;"><chr></span> <span style="font-style: italic;color: #999999;"><chr></span> <span style="font-style: italic;color: #999999;"><lgl></span> <span style="font-style: italic;color: #999999;"><chr></span>
#> <span style="color: #c2c2c2;">1</span> /Users/ga… MASS Supp… 7.3-58… R (>= … CRAN GPL-2 … TRUE R 4.…
#> <span style="color: #c2c2c2;">2</span> /Library/… MASS Supp… 7.3-58… R (>= … CRAN GPL-2 … TRUE R 4.…
#> <span style="color: #999999;"># … with 30 more variables: remotetype <chr>, remotepkgref <chr>,</span>
#> <span style="color: #999999;"># remoteref <chr>, remoterepos <chr>, remotepkgplatform <chr>,</span>
#> <span style="color: #999999;"># remotesha <chr>, imports <chr>, suggests <chr>, linkingto <chr>,</span>
#> <span style="color: #999999;"># remotes <chr>, remotehost <chr>, remoterepo <chr>,</span>
#> <span style="color: #999999;"># remoteusername <chr>, enhances <chr>, biocviews <chr>,</span>
#> <span style="color: #999999;"># remoteurl <chr>, remotesubdir <chr>, priority <chr>,</span>
#> <span style="color: #999999;"># remoteetag <chr>, remotepackaged <chr>, md5sum <chr>, …</span>
</pre></div>
}}
}
\seealso{
Other package functions:
\code{\link{lib_status}()},
\code{\link{pak}()},
\code{\link{pkg_deps_tree}()},
\code{\link{pkg_deps}()},
\code{\link{pkg_download}()},
\code{\link{pkg_install}()},
\code{\link{pkg_remove}()},
\code{\link{pkg_sysreqs}()}
}
\concept{package functions}