find_packages {quickcode} | R Documentation |
Fetch R package based on keyword
Description
This function gets R packages based on a keyword in their description.
Usage
find_packages(keyword)
Arguments
keyword |
character, the keyword to search package descriptions for. |
Value
character vector of matching package names or NULL if no matches.
Note
the function in its current form only searches available.packages()
Examples
# find the list of R packages for data or machine learning
matched_pkgs <- suppressWarnings(find_packages("plotting"))
matched_pkgs
matched_pkgs <- suppressWarnings(find_packages("machine learning"))
matched_pkgs
[Package quickcode version 1.0.8 Index]