Search the indexed database of current CRAN packages. It uses the pkgsearch package. See that package for more details and also pkgsearch::pkg_search() for pagination, more advanced searching, etc.

pkg_search(query, ...)

Arguments

query

Search query string.

...

Additional arguments passed to pkgsearch::pkg_search()

Value

A data frame, that is also a pak_search_resultobject with a custom print method. To see the underlying table, you can use [] to drop the extra classes. See examples below.

Examples

if (FALSE) {
# Simple search
pkg_search("survival")

# See the underlying data frame
psro <- pkg_search("ropensci")
psro[]
}