README.md

hugo-rstats-pkg-meta

The catchies title of them all.

I don't know where this is going yet, please move along.

Motivation

The goal is to auto-generate a file (or multiple files?) that are suitable as Hugo data templates. The idea is to collect some basic metadata about R packages and have easy access to said data via the use of Hugo templates and/or shortcodes.

Currently I have generated something that at least collects all the CRAN packages and basic metadata, but of course it would also be neat of GitHub-only packages would be included as well, but I have no idea how to handle that yet.

Initially, for my own use, that data was based on my locally installed packages, but since I hope to automate the process via GitHub Actions, this does not seem feasible.

Current Status

Usage

To use this data with a Hugo site, you'll have to include it either as a theme component or a Hugo module in your config.toml:

[module]
  [[module.imports]]
    path = "github.com/jemus42/hugo-rstats-pkg-meta"


jemus42/hugo-rstats-pkg-meta documentation built on April 12, 2025, 11:37 a.m.