Created
September 28, 2017 07:09
-
-
Save goldingn/ded9cbe38e8cb4ae5745ac2582299fb6 to your computer and use it in GitHub Desktop.
how many R packages on CRAN mention ecology or evolution in their descriptions?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
devtools::install_github("RhoInc/CRANsearcher") | |
pkg <- CRANsearcher:::getPackages() | |
strings <- paste(pkg[, "Title"], pkg[, "Description"]) | |
idx <- grep(" ecolog*| evolut*", strings, ignore.case = TRUE) | |
length(idx) | |
# [1] 236 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment