Skip to content

Commit

Permalink
resolved TT hoves packagedown deploy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
camdenblatchly committed Sep 20, 2024
1 parent dd3273e commit 9448f32
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion vignettes/cookbook.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,29 @@ options(dplyr.print_min = 6, dplyr.print_max = 6)

### Load fonts into your environment

```{r, message=FALSE, warning = FALSE}
```{r, message=FALSE, warning = FALSE, eval=FALSE}
# For easily loading Lato, Bitter, and TT Hoves (TT Hoves needs to be installed locally)
# you can use the following utility function
cori.charts::load_fonts()
```


```{r, message=FALSE, warning = FALSE,}
# Otherwise, I recommend loading fonts using the sysfonts library
# Loads Lato from the google font repository and adds it to sysfonts
sysfonts::font_add_google("Lato")
# Ensures that any newly opened graphics devices will use showtext to draw text
showtext::showtext_auto()
# Sets default density per inch for exports
showtext::showtext_opts(dpi = 300)
```

### Load required libraries

```{r, message = FALSE, warning = FALSE}
Expand Down

0 comments on commit 9448f32

Please sign in to comment.