It looks like you have this code in RMarkdown document in the setup chunk, which has the option include=FALSE set. This means that you won't see output from that chunk.
You can learn more about how chunks work in RMarkdown here:
For example, here's the section on include:
include : Whether to include anything from a code chunk in the output document. When include = FALSE , this whole code chunk is excluded in the output, but note that it will still be evaluated if eval = TRUE . When you are trying to set echo = FALSE , results = 'hide' , warning = FALSE , and message = FALSE , chances are you simply mean a single option include = FALSE instead of suppressing different types of text output individually.
I'd suggest only using the setup chunk for setting knitr options, etc., and then putting your other code in other chunks. When you create a new RMarkdown document, it usually has multiple chunks inside of it in the example document created. But, essentially, chunks are bound by three backticks (```) with the "engine" or language declared in the opening (this is better described in the section on R code chunks I linked to above:
```{r}
library(here)
library(tidyverse)
# etc. whatever code you want in here
```
You can also use the keyboard shortcut to insert a new chunk if you're working in RStudio.
For Windows and Linux: Ctrl+Alt+I
For Mac: Cmd+Option+I