README.md

Build Status Coverage Status Coverage

flagr

flag-icons for R

Installation

You can install flagr from github with:

# install.packages("devtools")
devtools::install_github("JohnCoene/flagr")

Example

library(flagr)

flagr("be") # belgian flag
flagr("gr") # greek flag
flagr("us", width = 100, height = 60) # us flag
flagr("ch", squared = TRUE) # swiss flag squared

FYI

Flag icons are SVG, leading to large /inst directory.

R CMD check results
0 errors | 0 warnings | 1 note 
checking installed package size ... NOTE
  installed size is  7.9Mb
  sub-directories of 1Mb or more:
    htmlwidgets   7.8Mb


JohnCoene/flagr documentation built on May 28, 2019, 12:55 p.m.