The goal of applepie is to access R-universe API from R, for a tutorial.
You can install the released version of applepie with:
# install.packages("remotes")
remotes::install_github("maelle/applepie")
This is a basic example which shows you how to solve a common problem:
library(applepie)
## List packages in the rOpenSci R-universe
ropensci_universe_pkgs <- get_packages("ropensci")
head(ropensci_universe_pkgs)
#> [1] "AntWeb" "BaseSet" "CodeDepends"
#> [4] "CoordinateCleaner" "DataPackageR" "DataSpaceR"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.