Skip to content

tomjemmett/setup-r-icons

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

setup-r-icons

This action downloads and installs the {icons} package and then optionally downloads individual icon libraries. It then caches whatever font's have been installed to improve future runtimes.

This action needs R to have previously been setup (e.g. with r-lib/actions/setup-r).

Inputs

  • cache-version - default 1. If you need to invalidate the existing cache pass any other number and a new cache will be used.
  • icon-sets - default ''. Comma separated list of the font's to download, see below for further details

Fonts

The font set's that are available to download can be found in the {icons} package, named as download_*(). Currently available are:

  • bioicons
  • feather_icons
  • fontawesome
  • google_material
  • ionicons
  • octicons
  • simple_icons

Usage

steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v1
- uses: tomjemmett/setup-r-icons@v1
  with:
    icon-sets: fontawesome,simple_icons