What is the fastest way to obtain all the URLs of packages on CRAN? For example, the URL for the htmlwidgets package is: "https://github.com/ramnathv/htmlwidgets". Is there a more efficient way than just scraping these off each individual package page?
library(tidyverse) pdb <- tools:::CRAN_package_db() (htmlw <- pdb %>% filter(Package=="htmlwidgets") %>% pull(URL)) #[1] "https://github.com/ramnathv/htmlwidgets"
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.