Skip to content

SmithCollege-SDS/sds

Repository files navigation

R-CMD-check

sds

R package providing R Markdown templates for SDS

Install

# install.packages("remotes")
remotes::install_github("SmithCollege-SDS/sds")

Load

library(sds)

Add Smith theming to a ggplot

library(ggplot2)
ggplot(mpg, aes(y = hwy, x = reorder(model, hwy), fill = hwy)) +
  geom_col(position = "dodge") +
  coord_flip() +
  facet_wrap(~year) +
  scale_fill_smith_cd(midpoint = 20)

Hex logo!

You can write the logo to a file:

hex_logo(file = "man/figures/logo.png")

Or include it directly in a Markdown document:

img_logo(width = 64)

Write a letter on official SDS letterhead

Select File -> New File -> R Markdown… and choose the Smith SDS Letter template

Write a xaringan presentation with Smith theming

Select File -> New File -> R Markdown… and choose the Smith xaringan template


Post any bugs to Issues!

About

templates and things for SDS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •