Searches for packages on CRAN by scanning a specified set of information fields for a user-provided search term.
exploreFields( term, fields = c("Name", "Description", "LongDescription"), mode = "or", match = "like", display = "viewer", index = NULL )
term | Search term to look for; character vector must have one element. |
---|---|
fields | The list of fields to be scanned for the search term; must be a character vector with one or more field names. Allowed field names are: |
mode | Indicates whether matches in the field shall be combined with a logical OR or with a logical AND; accordingly, permitted values are |
match | Either |
display | Describes where the search results shall be shown. Either |
index | Either a path (or URL) to a search index, or a search index that is already loaded. If no index is provided, |
No return value.
Found packages are listed in alphabetical order, there is no prioritization of search hits as in findPackage()
.
Joachim Zuckarelli joachim@zuckarelli.de
#> #> Results: 152 out of 17409 CRAN packages found in 5 seconds.