https://github.com/jsta/gh_cran_portfolio
Github CRAN Portfolio Dashboard
https://github.com/jsta/gh_cran_portfolio
javascript rstats
Last synced: about 1 month ago
JSON representation
Github CRAN Portfolio Dashboard
- Host: GitHub
- URL: https://github.com/jsta/gh_cran_portfolio
- Owner: jsta
- Created: 2019-02-01T02:55:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-06T23:21:07.000Z (about 6 years ago)
- Last Synced: 2025-07-07T02:07:33.172Z (11 months ago)
- Topics: javascript, rstats
- Language: CSS
- Homepage: https://jsta.github.io/gh_cran_portfolio
- Size: 9.83 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Github CRAN Portfolio
[](https://www.repostatus.org/#active) [](https://cloud.docker.com/repository/docker/jsta/gh_cran_portfolio)
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](Dockerfile).
## Usage
### Workflow
1. Add categories(tags) _manually_ via [config.toml](config.toml)
* Icon codes can be found at: https://fontawesome.io
* Tags must be lower case
2. Add projects to include _manually_ via [scripts/00_project_manual.R](scripts/00_project_manual.R)
3. Add projects and tags to ignore _manually_ via [scripts/00_project_ignore.R](scripts/00_project_ignore.R)
4. Set author and Github account in [scripts/01_scrape.R](scripts/01_scrape.R)
5. Scrape CRAN and Github, build site via [Makefile](Makefile)
* Tags are detected automatically from Github scraping. Add secondary tags _manually_ via [data/links.yml](data/links.yml)
```
make clean # to remove cached projects
```
```
make all
make all
```
6. Preview site
```r
blogdown::serve_site()
```
## Credit
Modified from the [slate hugo template](https://github.com/gesquive/slate)