pacman v0.5.1

0

Monthly downloads

0th

Percentile

Package Management Tool

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.

Readme

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

Functions in pacman

Name Description
p_temp Install a Package Temporarily
p_path Path to Library of Add-On Packages
p_search_any Search CRAN Packages by Maintainer, Author, Version or Package
p_news Package/R News
p_old Compare Installed Packages with CRAN-like Repositories
p_detectOS Detects Operating System
p_exists Checks if Package is On CRAN/In Local Library
p_load_current_gh Force Install and Load One or More GitHub Packages
p_information Package Information
p_install Installs & Loads Packages
p_interactive Interactive Package Exploration
p_unload Unloads package(s)
p_base Base Install Packages
p_author Package Author
p_install_gh Installs & Loads GitHub Packages
p_opendir Attempts to open a directory in a file browser
p_loaded Check for Loaded Packages
p_help Package Help Manual
print.p_version_diff Prints a p_version_diff Object
p_install_version Install Minimal Package Version
print.search_any Prints a search_any Object
print.wide_table Prints a wide_table Object
p_library Display Library Packages
p_install_version_gh Install Minimal GitHub Package Version
p_depends Package Dependencies
p_unlock Delete 00LOCK Directory
p_delete Permanently Remove Package Removal(s) From Library
p_isinstalled Checks if Package is Installed
p_boot Script Header: Ensure pacman is Installed
p_extract Convert String With Commas Into Elements
p_load Load One or More Packages
p_cran CRAN Packages
p_functions Package Functions
p_version Package Version
p_data Package Data Sets
p_citation Package Citation
p_set_cranrepo Check if Repo is Set
p_vignette View Package Vignette(s)
p_search_library Partial Matching Package Search
p_load_gh Load One or More GitHub Packages
p_update Update Out-of-Date Packages
No Results!

Last month downloads

Details

Type Package
BugReports https://github.com/trinker/pacman/issues?state=open
License GPL-2
URL https://github.com/trinker/pacman
RoxygenNote 6.1.1
NeedsCompilation no
Packaged 2019-03-11 01:37:03 UTC; trinker
Repository CRAN
Date/Publication 2019-03-11 11:50:07 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/pacman)](http://www.rdocumentation.org/packages/pacman)