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

Description Usage Arguments Details Author(s) References Examples

Description

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

Usage

1
2
3
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(s)

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

References

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

Examples

1
2
3
4
5
6
7
## Not run: 
p_search_any("hadley", 1)
p_sa("hadley", "author")
p_sa("color", 2)
p_sa("psych", "package")

## End(Not run)

pacman documentation built on May 2, 2019, 1:08 p.m.