Sign inSign up

jsta/gh_cran_portfolio

By jsta

•Updated over 7 years ago

Image
0

1.1K

jsta/gh_cran_portfolio repository overview

⁠Github CRAN Portfolio

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Docker Build

Are pinned 6 pinned Github repositories not enough for you? Do you wish repositories could be tagged with more than one language/framework?

This hugo based, #rstats blogdown, template lets you create your own sorted dashboard for programming projects and CRAN packages. It leverages the ghrecipes package and tools::CRAN_package_db() to search for projects (You can also define your own custom projects). The default tile image is an svg of the project name, but you can also define a custom image. The official hex sticker for a package will be used if an image exists in the Github repo linked to the CRAN URL at man/figures/logo.png.

⁠Dependencies

See Dockerfile⁠.

⁠Usage

⁠Workflow
  1. Add categories(tags) manually via config.toml⁠

  2. Add projects to include manually via scripts/00_project_manual.R⁠

  3. Add projects and tags to ignore manually via scripts/00_project_ignore.R⁠

  4. Set author and Github account in scripts/01_scrape.R⁠

  5. Scrape CRAN and Github, build site via Makefile⁠

    • Tags are detected automatically from Github scraping. Add secondary tags manually via data/links.yml⁠
make clean # to remove cached projects
make all
make all
  1. Preview site
blogdown::serve_site()

⁠Credit

Modified from the slate hugo template⁠

Tag summary

Content type

Image

Digest

Size

771.6 MB

Last updated

over 7 years ago

docker pull jsta/gh_cran_portfolio