The goal of dverse is to make it easy to create a data frame of the metadata associated to the documentation of a collection of R packages.
If you maintain an R-package universe, it helps you to easily create a universe-wide reference for the pkgdown website of your meta-package (e.g. tidyverse, tidymodels).
Install from CRAN:
install.packages("dverse")
or get a development version from GitHub:
# install.packages("pak")
::pak("maurolepore/dverse") pak
# Use dverse and the universe of packages you want to document
library(dverse)
library(tools)
library(datasets)
<- c("datasets", "tools")
universe <- "https://www.rdocumentation.org/packages/{package}/versions/3.6.2/topics/{topic}.html"
url_template
document_universe(universe, url_template = url_template)
#> # A tibble: 228 × 5
#> topic alias title concept package
#> <chr> <chr> <chr> <chr> <chr>
#> 1 <a href=https://www.rdocumentation.org/packages/… .pri… Prin… Utilit… tools
#> 2 <a href=https://www.rdocumentation.org/packages/… Adob… Conv… Datase… tools
#> 3 <a href=https://www.rdocumentation.org/packages/… AirP… Mont… Datase… datase…
#> 4 <a href=https://www.rdocumentation.org/packages/… BJsa… Sale… Datase… datase…
#> 5 <a href=https://www.rdocumentation.org/packages/… BOD Bioc… Datase… datase…
#> 6 <a href=https://www.rdocumentation.org/packages/… CO2 Carb… Datase… datase…
#> 7 <a href=https://www.rdocumentation.org/packages/… CRAN… CRAN… <NA> tools
#> 8 <a href=https://www.rdocumentation.org/packages/… Chic… Weig… Datase… datase…
#> 9 <a href=https://www.rdocumentation.org/packages/… DNase Elis… Datase… datase…
#> 10 <a href=https://www.rdocumentation.org/packages/… EuSt… Dail… Datase… datase…
#> # ℹ 218 more rows