-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.R
More file actions
33 lines (28 loc) · 837 Bytes
/
Copy pathsetup.R
File metadata and controls
33 lines (28 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
library(frs)
library(tidyverse)
library(scales)
library(rstan)
library(rvest)
library(pscl)
library(scales)
library(extrafont)
library(svglite)
library(devtools)
library(knitr)
library(snakecase)
library(testthat)
library(ozfedelect)
library(RColorBrewer)
library(clipr)
run_all_r_scripts("R", cleanup = FALSE)
myfont <- "Roboto"
main_font <- "Roboto"
heading_font <- "Sarala"
theme_set(theme_light(base_family = main_font) +
theme(legend.position = "bottom") +
theme(plot.caption = element_text(colour = "grey50"),
strip.text = element_text(size = rel(1), face = "bold"),
plot.title = element_text(family = heading_font),
plot.subtitle = element_text(family = heading_font, colour = "grey50"))
)
update_geom_defaults("text", list(family = main_font))