knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
This vegnette and related built functions are inspired from [@Rickert2018], who shows a idea to dig the R package download trend and to find the "good" package to learn and download.
Searching for R packages is a vexing problem for both new and experienced R users. With over 13,000 packages already on CRAN, and new packages arriving at a rate of almost 200 per month, it is impossible to keep up. Package names can be almost anything, and they are rarely informative, so searching by name is of little help. I make it a point to look at all of the new packages arriving on CRAN each month, but after a month or so, when asked about packages related to some particular topic, more often than not, I have little more to offer than a vague memory that I saw something that might be useful. [@Rickert2018]
Likewise, knowing something of an author’s background, his or her experience writing other R packages, and prominent R developers he or she may have collaborated with is also helpful in assessing whether to give a newly found package is worth a try. [@Rickert2018]
library(add2prep) library(tidyverse) vec <- c('NMF','N-NMF','negative matrix factorization') pkg_list(vec)
download_log(vec)
download_by_month(vec)
download_trend(vec)
From this plot, we find the demand of NMF
package descreases a lot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.