p_load_gh {pacman} | R Documentation |
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)
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)