Search CRAN Packages by Maintainer, Author, Version or Package

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"

Description

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

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.

Examples

## <strong>Not run</strong>: # p_search_any("hadley", 1) # p_sa("hadley", "author") # p_sa("color", 2) # p_sa("psych", "package") # ## <strong>End(Not run)</strong>

Author

BondedDust (stackoverflow.com) and Tyler Rinker