/ouRstyle

Your colours and ggplot2 theme in R.

Primary LanguageRMIT LicenseMIT

ouRstyle

Your colours and ggplot2 theme

ouRstyle provides a template allowing users to specify colours and colour palettes which are then built into a package of functions allowing them to be used in R. A plot theme is also provided that can be customised to reflect your brand / aesthetic.

How To

  • Copy/fork from this repo
  • Optional: replace every mention of 'our_' with a prefix you prefer
  • Update ./data-raw/colours.R with your colours and run it
  • Customise ./R/our_theme.R to reflect how you want your plots to look
  • Build the package (CMD + SHIFT + B)
  • Share with others in your team, Sharing Interal R Packages

TO DO

  • Add support for handling more fonts
  • Add an easier way to configure theme elements (e.g. font sizes)