Title: | Package Management Tool |
---|---|
Description: | Tools to more conveniently perform tasks associated with add-on packages. pacman conveniently wraps library and package related functions and names them in an intuitive and consistent fashion. It seeks to combine functionality from lower level functions which can speed up workflow. |
Authors: | Tyler Rinker [aut, cre, ctb], Dason Kurkiewicz [aut, ctb], Keith Hughitt [ctb], Albert Wang [ctb], Garrick Aden-Buie [ctb], Albert Wang [ctb], Lukas Burk [ctb], Michael McGowan [ctb] |
Maintainer: | Tyler Rinker <[email protected]> |
License: | GPL-2 |
Version: | 0.5.3 |
Built: | 2024-10-24 02:57:53 UTC |
Source: | https://github.com/trinker/pacman |
Returns the author of a package.
p_author(package = "base")
p_author(package = "base")
package |
Name of the package you want the author of. |
p_author(pacman) p_author()
p_author(pacman) p_author()
List just base packages or list all the packages in the local library and mark those in a base install.
p_base(base.only = TRUE, open = FALSE, basemarker = "***")
p_base(base.only = TRUE, open = FALSE, basemarker = "***")
base.only |
logical. If |
open |
logical. If |
basemarker |
Character string. The string to append to mark which packages are part of the default packages. |
Packages that are installed when R starts are marked with an asterisk(*).
## Not run: p_base() p_base(TRUE) ## End(Not run)
## Not run: p_base() p_base(TRUE) ## End(Not run)
Generate a string for the standard pacman script header that, when added to scripts, will ensure pacman is installed before attempting to use it. pacman will attempt to copy this string (standard script header) to the clipboard for easy cut and paste.
p_boot(load = TRUE, copy2clip = interactive())
p_boot(load = TRUE, copy2clip = interactive())
load |
logical. If |
copy2clip |
logical. If |
The script header takes the form of:
if (!require("pacman")) install.packages("pacman"); library(pacman)
This can be copied to the top of scripts to make it easy to run scripts if
the user shares them with others or to aid in long term script management.
This may also be useful for blog posts and R help sites like
TalkStats or
StackOverflow. In this
way functions like p_load
can be used without fear that others don't
have pacman installed.
Returns a script header string (optionally copies to the clipboard).
p_boot()
p_boot()
Generate citation for a package.
p_citation(package = "r", copy2clip = interactive(), tex = getOption("pac_tex"), ...) p_cite(package = "r", copy2clip = interactive(), tex = getOption("pac_tex"), ...)
p_citation(package = "r", copy2clip = interactive(), tex = getOption("pac_tex"), ...) p_cite(package = "r", copy2clip = interactive(), tex = getOption("pac_tex"), ...)
package |
Name of the package you want a citation for. |
copy2clip |
logical. If |
tex |
logical. If |
... |
Additional inputs to |
## Not run: p_citation() p_cite(pacman) p_citation(pacman, tex = FALSE) p_citation(tex = FALSE) p_cite(knitr) ## End(Not run)
## Not run: p_citation() p_cite(pacman) p_citation(pacman, tex = FALSE) p_citation(tex = FALSE) p_cite(knitr) ## End(Not run)
p_cran
- Generate a vector of all available packages.
p_iscran
- Logical check if a package is available on CRAN.
p_cran(menu = FALSE) p_iscran(package)
p_cran(menu = FALSE) p_iscran(package)
menu |
logical. If |
package |
Name of package. |
## Not run: p_cran() p_cran(TRUE) p_iscran(pacman) ## End(Not run)
## Not run: p_cran() p_cran(TRUE) p_iscran(pacman) ## End(Not run)
Generate a script of all data sets contained in package.
p_data(package = "datasets", static = FALSE)
p_data(package = "datasets", static = FALSE)
package |
name of package (default is the base install datasets package). |
static |
logical. If |
Returns the data sets of a package as a data.frame
.
(static = FALSE
) or as a static text file (static = TRUE
).
p_data() p_data(lattice) ## Not run: p_data(static=TRUE) ## End(Not run)
p_data() p_data(lattice) ## Not run: p_data(static=TRUE) ## End(Not run)
Remove package(s) from the library permanently.
p_delete(..., char, character.only = FALSE, quiet = FALSE) p_del(..., char, character.only = FALSE, quiet = FALSE)
p_delete(..., char, character.only = FALSE, quiet = FALSE) p_del(..., char, character.only = FALSE, quiet = FALSE)
char |
Character vector containing packages to load. If you are calling
|
character.only |
logical. If |
quiet |
logical. Passed to |
... |
name(s) of package(s). |
Using this function will remove the package from your library and cannot be loaded again without reinstalling the package.
## Not run: p_delete(pacman) # You never want to run this ## End(Not run)
## Not run: p_delete(pacman) # You never want to run this ## End(Not run)
p_depends
- Get CRAN or local
package dependencies.
p_depends_reverse
- Get CRAN or
local reverse dependencies.
p_depends(package, local = FALSE, character.only = FALSE, ...) p_depends_reverse(package, local = FALSE, character.only = FALSE, ...)
p_depends(package, local = FALSE, character.only = FALSE, ...) p_depends_reverse(package, local = FALSE, character.only = FALSE, ...)
package |
Name of the package you want the list of dependencies/reverse dependencies for. |
local |
logical. If |
character.only |
logical. If |
... |
other arguments passed to
|
Returns a list of dependencies/reverse dependencies.
p_info
,
package_dependencies
,
dependsOnPkgs
p_depends(lattice) p_depends_reverse(lattice) ## Not run: ## dependencies from CRAN p_depends(pacman) p_depends_reverse("pacman") ## local dependencies p_depends(pacman, local = TRUE) p_depends_reverse("qdap", local = TRUE) ## End(Not run)
p_depends(lattice) p_depends_reverse(lattice) ## Not run: ## dependencies from CRAN p_depends(pacman) p_depends_reverse("pacman") ## local dependencies p_depends(pacman, local = TRUE) p_depends_reverse("qdap", local = TRUE) ## End(Not run)
Attempts to detect the operating system. Returns: "Windows", "Darwin" on Mac, "Linux", or "SunOS" on Solaris
p_detectOS()
p_detectOS()
Checks CRAN to determine if a package exists.
p_exists(package, local = FALSE)
p_exists(package, local = FALSE)
package |
Name of package. |
local |
logical. If |
## Not run: p_exists(pacman) p_exists(pacman, FALSE) p_exists(I_dont_exist) ## End(Not run)
## Not run: p_exists(pacman) p_exists(pacman, FALSE) p_exists(I_dont_exist) ## End(Not run)
p_extract
is designed to be used in conjunction with
p_information
to convert a single comma separated
string into a vector of package names.
p_extract(x, use.names = TRUE)
p_extract(x, use.names = TRUE)
x |
A character string of packages separated by commas; for example
the strings returned from |
use.names |
logical. If |
Returns a character vector of packages.
## Not run: p_extract(p_info(ggplot2, "Depends")) p_extract(p_info(ggplot2, "Imports")) lapply(p_info(ggplot2, "Imports", "Depends", "Suggests"), p_extract) ## End(Not run)
## Not run: p_extract(p_info(ggplot2, "Depends")) p_extract(p_info(ggplot2, "Imports")) lapply(p_info(ggplot2, "Imports", "Depends", "Suggests"), p_extract) ## End(Not run)
List the functions from a package.
p_functions(package = "base", all = FALSE, character.only = FALSE) p_funs(package = "base", all = FALSE, character.only = FALSE)
p_functions(package = "base", all = FALSE, character.only = FALSE) p_funs(package = "base", all = FALSE, character.only = FALSE)
package |
Name of the package you want the list of functions for. |
all |
logical. If |
character.only |
logical. If |
p_functions() p_funs() p_funs(pacman)
p_functions() p_funs() p_funs(pacman)
Generate an html, web or pdf of a package's help manual.
p_help(package = NULL, web = TRUE, build.pdf = FALSE)
p_help(package = NULL, web = TRUE, build.pdf = FALSE)
package |
Name of package. |
web |
logical. If |
build.pdf |
logical. If |
Setting build.pdf = TRUE
requires the user to have a pdf compiler (e.g.,
MikTex or
Tex Live) installed.
http://r.789695.n4.nabble.com/Opening-package-manual-from-within-R-td3763938.html
## Not run: p_help() p_help(pacman) p_help(pacman, web=TRUE) p_help(pacman, build.pdf=TRUE) ## End(Not run)
## Not run: p_help() p_help(pacman) p_help(pacman, web=TRUE) p_help(pacman, build.pdf=TRUE) ## End(Not run)
Provides the information from for a package from the NAMESPACE. Information may include: title, version, author, maintainer, description, depends, imports, suggests
p_information(package = "base", ..., fields = NULL) p_info(package = "base", ..., fields = NULL)
p_information(package = "base", ..., fields = NULL) p_info(package = "base", ..., fields = NULL)
package |
Name of the package to grab information for. Default is
|
... |
Names of fields (see |
fields |
A character vector giving the tags of fields to return (for use inside of functions rather than ...). |
Returns a list of fields.
Note that the output from p_information
(when no
fields are passed) prints pretty but is actually an accessible list (use
names(p_info())
test).
packageDescription
,
p_information
p_information() p_info() names(p_info()) p_info()[names(p_info())] p_info(pacman) p_info(pacman, Author) p_info(pacman, BugReports, URL) p_info(pacman, fields = "Version") ## Not run: p_extract(p_info(ggplot2, "Depends")) p_extract(p_info(ggplot2, "Imports")) lapply(p_info(ggplot2, "Imports", "Depends", "Suggests"), p_extract) ## End(Not run)
p_information() p_info() names(p_info()) p_info()[names(p_info())] p_info(pacman) p_info(pacman, Author) p_info(pacman, BugReports, URL) p_info(pacman, fields = "Version") ## Not run: p_extract(p_info(ggplot2, "Depends")) p_extract(p_info(ggplot2, "Imports")) lapply(p_info(ggplot2, "Imports", "Depends", "Suggests"), p_extract) ## End(Not run)
Installs a package provided the package is a CRAN package.
p_install(package, character.only = FALSE, force = TRUE, path = getOption("download_path"), try.bioconductor = TRUE, update.bioconductor = FALSE, ...) p_get(package, character.only = FALSE, force = TRUE, path = getOption("download_path"), try.bioconductor = TRUE, update.bioconductor = FALSE, ...)
p_install(package, character.only = FALSE, force = TRUE, path = getOption("download_path"), try.bioconductor = TRUE, update.bioconductor = FALSE, ...) p_get(package, character.only = FALSE, force = TRUE, path = getOption("download_path"), try.bioconductor = TRUE, update.bioconductor = FALSE, ...)
package |
Name of package(s). |
character.only |
logical. If |
force |
logical. Should package be installed if it already exists on local system? |
path |
The path to the directory that contains the package. It is
convenient to set |
try.bioconductor |
If |
update.bioconductor |
If |
... |
Additional parameters to pass to |
## Not run: p_install(pacman) ## End(Not run)
## Not run: p_install(pacman) ## End(Not run)
Installs a GitHub package. A wrapper for install_github
which is the same as install_github
.
p_install_gh(package, dependencies = TRUE, ...)
p_install_gh(package, dependencies = TRUE, ...)
package |
Repository address(es) in the format
|
dependencies |
logical. If |
... |
Additional parameters to pass to |
## Not run: p_install_gh("trinker/pacman") ## Package doesn't exist p_install_gh("trinker/pacmanAwesomer") ## End(Not run)
## Not run: p_install_gh("trinker/pacman") ## Package doesn't exist p_install_gh("trinker/pacmanAwesomer") ## End(Not run)
Install minimal package version(s).
p_install_version(package, version)
p_install_version(package, version)
package |
|
version |
Corresponding |
## Not run: p_install_version( c("pacman", "testthat"), c("0.2.0", "0.9.1") ) ## End(Not run)
## Not run: p_install_version( c("pacman", "testthat"), c("0.2.0", "0.9.1") ) ## End(Not run)
Install minimal GitHub package version(s).
p_install_version_gh(package, version, dependencies = TRUE)
p_install_version_gh(package, version, dependencies = TRUE)
package |
|
version |
Corresponding |
dependencies |
logical. If |
## Not run: p_install_version_gh( c("trinker/pacman", "hadley/testthat"), c("0.2.0", "0.9.1") ) ## End(Not run)
## Not run: p_install_version_gh( c("trinker/pacman", "hadley/testthat"), c("0.2.0", "0.9.1") ) ## End(Not run)
Interactively search through packages, looking at functions and optionally attaching the package and looking at the help page.
p_interactive() p_inter()
p_interactive() p_inter()
## Not run: p_interactive() p_inter() ## End(Not run)
## Not run: p_interactive() p_inter() ## End(Not run)
Check if package is installed locally.
p_isinstalled(package)
p_isinstalled(package)
package |
Name of package you want to check. This can be quoted or unquoted. |
## Not run: p_installed(pacman) p_installed(fakePackage) ## End(Not run)
## Not run: p_installed(pacman) p_installed(fakePackage) ## End(Not run)
Generates a vector of all packages available to the user and optionally opens the user's library (this isn't necessarily where all of the available packages are stored).
p_library(open = FALSE) p_lib(open = FALSE)
p_library(open = FALSE) p_lib(open = FALSE)
open |
logical. If |
p_lib() p_library() ## Not run: p_lib(TRUE) ## End(Not run)
p_lib() p_library() ## Not run: p_lib(TRUE) ## End(Not run)
This function is a wrapper for library
and
require
. It checks to see if a
package is installed, if not it attempts to install the package from CRAN
and/or any other repository in the pacman repository list.
p_load(..., char, install = TRUE, update = getOption("pac_update"), character.only = FALSE)
p_load(..., char, install = TRUE, update = getOption("pac_update"), character.only = FALSE)
char |
Character vector containing packages to load. If you are calling
|
install |
logical. If |
update |
logical. If |
character.only |
logical. If |
... |
name(s) of package(s). |
library
,
require
,
install.packages
## Not run: p_load(lattice) p_unload(lattice) p_load(lattice, foreign, boot, rpart) p_loaded() p_unload(lattice, foreign, boot, rpart) p_loaded() ## End(Not run)
## Not run: p_load(lattice) p_unload(lattice) p_load(lattice, foreign, boot, rpart) p_loaded() p_unload(lattice, foreign, boot, rpart) p_loaded() ## End(Not run)
This function is a wrapper for install_github
which is the same as install_github
and
require
. It checks to see if a
package is installed, if not it attempts to install the package from
GitHub. Use this over p_load_gh
if you
want to force install the most recent GitHub version of a package.
p_load_current_gh(..., char, update = getOption("pac_update"), dependencies = TRUE)
p_load_current_gh(..., char, update = getOption("pac_update"), dependencies = TRUE)
char |
Character vector containing repository address to load. If you are calling
|
update |
logical. If |
dependencies |
logical. If |
... |
Repository address(es) in the format
|
install_github
library
,
require
## Not run: p_load_current_gh(c("Dasonk/Dmisc", "trinker/clustext", "trinker/termco")) ## End(Not run)
## Not run: p_load_current_gh(c("Dasonk/Dmisc", "trinker/clustext", "trinker/termco")) ## End(Not run)
This function is a wrapper for install_github
which is the same as install_github
and
require
. It checks to see if a
package is installed, if not it attempts to install the package from
GitHub.
p_load_gh(..., char, install = TRUE, update = getOption("pac_update"), dependencies = TRUE)
p_load_gh(..., char, install = TRUE, update = getOption("pac_update"), dependencies = TRUE)
char |
Character vector containing repository address to load. If you are calling
|
install |
logical. If |
update |
logical. If |
dependencies |
logical. If |
... |
Repository address(es) in the format
|
install_github
library
,
require
## Not run: p_load_gh("Dasonk/Dmisc", "trinker/regexr") p_load_gh(c("trinker/regexTools", "hadley/lubridate", "ramnathv/rCharts")) ## End(Not run)
## Not run: p_load_gh("Dasonk/Dmisc", "trinker/regexr") p_load_gh(c("trinker/regexTools", "hadley/lubridate", "ramnathv/rCharts")) ## End(Not run)
p_loaded
- Output is a character string of loaded packages.
p_isloaded
- Check if package(s) is loaded.
p_loaded(..., all = FALSE, char, character.only = FALSE) p_isloaded(...)
p_loaded(..., all = FALSE, char, character.only = FALSE) p_isloaded(...)
all |
logical. If |
char |
Character vector containing packages to load. If you are calling
|
character.only |
logical. If |
... |
Optional package names. Adding package names will check their individual load status. |
## Not run: p_load(lattice, ggplot2) ## End(Not run) p_loaded() p_loaded(all=TRUE) p_loaded(ggplot2, tm, qdap) p_isloaded(ggplot2) p_isloaded(ggplot2, dfs, pacman) ## Not run: p _unload(lattice) ## End(Not run)
## Not run: p_load(lattice, ggplot2) ## End(Not run) p_loaded() p_loaded(all=TRUE) p_loaded(ggplot2, tm, qdap) p_isloaded(ggplot2) p_isloaded(ggplot2, dfs, pacman) ## Not run: p _unload(lattice) ## End(Not run)
Find out news on a package or R.
p_news(package = NULL)
p_news(package = NULL)
package |
Name of package (default is to see news for R). |
## Not run: p_news() p_news(lattice) ## Grab specific version subsets subset(p_news(lattice), Version == 0.7) ## End(Not run)
## Not run: p_news() p_news(lattice) ## Grab specific version subsets subset(p_news(lattice), Version == 0.7) ## End(Not run)
Indicates packages which have a (suitable) later version on the repositories
p_old()
p_old()
Retuns a data.frame
with info regarding out of data packages.
## Not run: p_old() ## End(Not run)
## Not run: p_old() ## End(Not run)
Attempts to open a directory in a file browser. Opening a directory isn't a platform independent but it is used in more than one function so moving this functionality to its own non-exported function makes sense.
p_opendir(dir = getwd())
p_opendir(dir = getwd())
dir |
A character string representing the path (either relative or absolute) to the directory to be opened. Defaults to the working directory. |
Most likely this function will move to a different package at some point as it's not specifically package related.
## Not run: p_opendir() # opens working directory p_opendir(path.expand("~")) # opens home directory p_opendir(pacman:::p_basepath()) ## End(Not run)
## Not run: p_opendir() # opens working directory p_opendir(path.expand("~")) # opens home directory p_opendir(pacman:::p_basepath()) ## End(Not run)
Path to library of add-on packages.
p_path(package = "R")
p_path(package = "R")
package |
Name of package (default returns path to library of add-on packages). |
p_path() p_path(pacman)
p_path() p_path(pacman)
Uses agrep
to find packages by
maintainer (often this is the author as well) or by name.
p_search_any(term, search.by = "Maintainer") p_sa(term, search.by = "Maintainer")
p_search_any(term, search.by = "Maintainer") p_sa(term, search.by = "Maintainer")
term |
A search term (character string). |
search.by |
The variable to search by (takes
a integer or a character string): 1- |
Useful for finding packages by the same author (usually the same as the maintainer). This function will take some time as the function is searching thousands of packages via CRAN's website.
BondedDust (stackoverflow.com) and Tyler Rinker <[email protected]>
https://cran.r-project.org/web/checks/check_summary_by_maintainer.html#summary_by_maintainer http://stackoverflow.com/a/10082624/1000343
## Not run: p_search_any("hadley", 1) p_sa("hadley", "author") p_sa("color", 2) p_sa("psych", "package") ## End(Not run)
## Not run: p_search_any("hadley", 1) p_sa("hadley", "author") p_sa("color", 2) p_sa("psych", "package") ## End(Not run)
Search library packages using partial matching. Search for packages by partial matching letter(s) or by any letter(s) contained within the package's name. Useful for those times when you can't remember that package name but you know “it starts with...”
p_search_library(begins.with = NULL, contains = NULL) p_sl(begins.with = NULL, contains = NULL)
p_search_library(begins.with = NULL, contains = NULL) p_sl(begins.with = NULL, contains = NULL)
begins.with |
A character string to search for packages starting with the letter(s). |
contains |
A character string to search for packages containing the letter(s). |
## Not run: p_search_library(begins.with = "ma") p_search_library(begins.with = "r", contains = "ar") p_search_library(contains = "att") ## End(Not run)
## Not run: p_search_library(begins.with = "ma") p_search_library(begins.with = "r", contains = "ar") p_search_library(contains = "att") ## End(Not run)
Check if a repo is already set and if not choose an appropriate repo.
p_set_cranrepo(default_repo = "http://cran.rstudio.com/")
p_set_cranrepo(default_repo = "http://cran.rstudio.com/")
default_repo |
The default package repository. |
Installs and loads a package for the current session. The package won't be available in future sessions and will eventually be deleted from the machine with no additional effort needed by the user. This will also install the necessary dependencies temporarily as well.
p_temp(package, character.only = FALSE)
p_temp(package, character.only = FALSE)
package |
The package we want to install temporarily |
character.only |
logical. Is the input a character string? |
juba (stackoverflow.com) and Dason Kurkiewicz
http://stackoverflow.com/a/14896943/1003565
Unloads package(s) or all packages.
p_unload(..., negate = FALSE, char, character.only = FALSE)
p_unload(..., negate = FALSE, char, character.only = FALSE)
... |
name of package(s) or "all" (all removes all add on packages). |
negate |
logical. If |
char |
Character vector containing packages to load. If you are calling
|
character.only |
logical. If |
p_unload
will not unload the base install packages that load
when R boots up. See the comments in the help for detach
about some
issues with unloading and reloading namespaces.
## Not run: p_load(lattice) p_loaded() p_unload(lattice) p_loaded() p_load("lattice", "MASS") p_loaded() p_unload(all) p_loaded() # will not work as you unloaded pacman library(pacman) p_load(lattice, MASS, foreign) p_loaded() p_unload(pacman, negate=TRUE) p_loaded() ## End(Not run)
## Not run: p_load(lattice) p_loaded() p_unload(lattice) p_loaded() p_load("lattice", "MASS") p_loaded() p_unload(all) p_loaded() # will not work as you unloaded pacman library(pacman) p_load(lattice, MASS, foreign) p_loaded() p_unload(pacman, negate=TRUE) p_loaded() ## End(Not run)
Deletes the 00LOCK directory accidentally left behind by a fail in
install.packages
.
p_unlock(lib.loc = p_path())
p_unlock(lib.loc = p_path())
lib.loc |
Path to library location. |
Sometimes install.packages
can "fail so badly
that the lock directory is not removed: this inhibits any further installs to
the library directory (or for –pkglock, of the package) until the lock
directory is removed manually." p_unlock
deletes the directory
00LOCK that is left behind.
Attempts to delete a 00LOCK(s) if it exists. Returns logical
TRUE
if a 00LOCK existed and FALSE
if not.
## Not run: p_unlock() ## End(Not run)
## Not run: p_unlock() ## End(Not run)
Either view out of date packages or update out of data packages.
p_update(update = TRUE, ask = FALSE, ...) p_up(update = TRUE, ask = FALSE, ...)
p_update(update = TRUE, ask = FALSE, ...) p_up(update = TRUE, ask = FALSE, ...)
update |
logical. If |
ask |
logical. If |
... |
Other arguments passed to |
## Not run: p_update() p_update(FALSE) p_up(FALSE) ## End(Not run)
## Not run: p_update() p_update(FALSE) p_up(FALSE) ## End(Not run)
p_version
- Determine what version a package is in your library.
p_version_cran
- Determine what version a package is on CRAN.
p_version_difference
- Determine version difference between a local
package and CRAN.
p_version(package = "R") p_ver(package = "R") p_version_cran(package = "R") p_ver_cran(package = "R") p_version_diff(package = "R") p_ver_diff(package = "R")
p_version(package = "R") p_ver(package = "R") p_version_cran(package = "R") p_ver_cran(package = "R") p_version_diff(package = "R") p_ver_diff(package = "R")
package |
Name of package (default returns R version). |
## Not run: p_ver() p_version() p_ver(pacman) p_version(pacman) p_ver_cran() p_ver_cran(pacman) ## Compare local to CRAN version p_ver(pacman) == p_ver_cran(pacman) p_ver(pacman) > p_ver_cran(pacman) p_ver_diff() p_ver_diff(pacman) ## End(Not run)
## Not run: p_ver() p_version() p_ver(pacman) p_version(pacman) p_ver_cran() p_ver_cran(pacman) ## Compare local to CRAN version p_ver(pacman) == p_ver_cran(pacman) p_ver(pacman) > p_ver_cran(pacman) p_ver_diff() p_ver_diff(pacman) ## End(Not run)
Interactively view vignettes for package(s) or return a dataframe of vignettes and accompanying information.
p_vignette(..., char, interactive = TRUE, character.only = FALSE) p_vign(..., char, interactive = TRUE, character.only = FALSE)
p_vignette(..., char, interactive = TRUE, character.only = FALSE) p_vign(..., char, interactive = TRUE, character.only = FALSE)
char |
Character vector containing packages to find vignettes for. If
you are calling |
interactive |
logical. If |
character.only |
logical. If |
... |
name(s) of package(s). |
## Not run: p_vignette(interactive = FALSE) p_vignette() p_vign() p_vign(pacman) p_vign(grid, utils) p_vign(grid, utils, interactive = FALSE) p_vign(fortunes) ## End(Not run)
## Not run: p_vignette(interactive = FALSE) p_vignette() p_vign() p_vign(pacman) p_vign(grid, utils) p_vign(grid, utils, interactive = FALSE) p_vign(fortunes) ## End(Not run)
Prints a p_version_diff object.
## S3 method for class 'p_version_diff' print(x, ...)
## S3 method for class 'p_version_diff' print(x, ...)
x |
The p_version_diff object. |
... |
ignored |
Prints a search_any object.
## S3 method for class 'search_any' print(x, ...)
## S3 method for class 'search_any' print(x, ...)
x |
The search_any object. |
... |
ignored |
Prints a wide_table object.
## S3 method for class 'wide_table' print(x, right = FALSE, ...)
## S3 method for class 'wide_table' print(x, right = FALSE, ...)
x |
The wide_table object. |
right |
logical. If |
... |
ignored |