pacman (version 0.5.1)

p_search_any: Search CRAN Packages by Maintainer, Author, Version or Package

Description

Uses agrep to find packages by maintainer (often this is the author as well) or by name.

Usage

p_search_any(term, search.by = "Maintainer")

p_sa(term, search.by = "Maintainer")

Arguments

term

A search term (character string).

search.by

The variable to search by (takes a integer or a character string): 1-"Maintainer", 1-"Author", 2-"Package", 3-"Version"

Details

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.

References

https://cran.r-project.org/web/checks/check_summary_by_maintainer.html#summary_by_maintainer http://stackoverflow.com/a/10082624/1000343

Examples

Run this code
# NOT RUN {
p_search_any("hadley", 1)
p_sa("hadley", "author")
p_sa("color", 2)
p_sa("psych", "package")
# }

Run the code above in your browser using DataLab