For optimal results you need a good internet connection.
The package queries
utils::available.packages()
for CRAN and Bioconductor packages;
GitHub API via the gh
package, if it finds a GitHub repo URL in DESCRIPTION or as git remote. GitHub API is queried to find the preferred README, and the repo topics. If you use codemetar for many packages having a GITHUB_PAT is better;
R-hub sysreqs API to parse SystemRequirements.
If your machine is offline, a more minimal codemeta.json will be created. If your internet connection is poor or there are firewalls, the codemeta creation might indefinitely hang.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.