p_load_gh {pacman} | R Documentation |
Load One or More GitHub Packages
Description
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.
Usage
p_load_gh(..., char, install = TRUE, update = getOption("pac_update"),
dependencies = TRUE)
Arguments
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
|
See Also
install_github
library
,
require
Examples
## Not run:
p_load_gh("Dasonk/Dmisc", "trinker/regexr")
p_load_gh(c("trinker/regexTools",
"hadley/lubridate",
"ramnathv/rCharts"))
## End(Not run)