knitr error with pipe symbol

We need a reproducible example (reprex)

You have loaded tidyverse?