Skip to content
A package management tools for R
Branch: master
Clone or download
Latest commit fc09ccd Mar 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R changed p_load_gh use of remotes package's upgrade from "always" to "… Mar 22, 2019
inst changed p_load_gh use of remotes package's upgrade from "always" to "… Mar 22, 2019
man reran documentation Mar 11, 2019
tools/pacman_logo updated to meet R 3.4.0 standards including: tools folder for README … Apr 30, 2017
.Rbuildignore updated to meet R 3.4.0 standards including: tools folder for README … Apr 30, 2017
.gitattributes Added gitattributes to remove generated html from language stats. Thi… Feb 28, 2017
.gitignore removed thumbs Mar 31, 2016
.travis.yml oops commented out the wrong line...doof Oct 22, 2018
DESCRIPTION changed p_load_gh use of remotes package's upgrade from "always" to "… Mar 22, 2019
NAMESPACE
NEWS upped version after CRAN push Mar 11, 2019
NEWS.md reran documentation Mar 11, 2019
README.md updated to meet R 3.4.0 standards including: tools folder for README … Apr 30, 2017
contributors.geojson Update contributors.geojson Apr 9, 2017

README.md

pacman

Build Status DOI

The pacman package is an R package management tool that combines the functionality of base library related functions into intuitively named functions. This package is ideally added to .Rprofile to increase workflow by reducing time recalling obscurely named functions, reducing code and integrating functionality of base functions to simultaneously perform multiple actions.

Function names in the pacman package follow the format of p_xxx where 'xxx' is the task the function performs. For instance the p_load function allows the user to load one or more packages as a more generic substitute for the library or require functions and if the package isn't available locally it will install it for you.

Installation

The user can install from CRAN via:

install.packages("pacman")

You can also download the dev version via zip ball or tar ball, decompress and run R CMD INSTALL on it, or use the devtools package to install the development version:

## Make sure your current packages are up to date
update.packages()
## devtools is required
library(devtools)
install_github("trinker/pacman")

Note: Windows users need Rtools and devtools to install this way.

Help

Contact

You are welcome to:

Installing, Loading, Unloading, Updating, & Deleting Packages with pacman

Quick Reference Table

pacman Function Base Equivalent Description
p_load install.packages + library Load and Install Packages
p_install install.packages Install Packages from CRAN
p_load_gh NONE Load and Install GitHub Packages
p_install_gh NONE Install Packages from GitHub
p_install_version install.packages &
packageVersion
Install Minimum Version of Packages
p_temp NONE Install a Package Temporarily
p_unload detach Unload Packages from the Search Path
p_update update.packages Update Out-of-Date Packages
You can’t perform that action at this time.