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

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.

Author

BondedDust (stackoverflow.com) and Tyler Rinker <tyler.rinker@gmail.com>

Examples

if (FALSE) { # \dontrun{
p_search_any("hadley", 1)
p_sa("hadley", "author")
p_sa("color", 2)
p_sa("psych", "package")
} # }