I'm using
```{r}
library(magrittr)
session_info <- devtools::session_info(include_base = TRUE)
session_info[[2]] <- session_info %>%
magrittr::extract2(2) %>%
magrittr::inset2("date", value = NULL)
session_info
```
at the end of my bookdown
document. As I am using git
tracked in-house packages the version strings get a bit longer. This results in R
/knitr
/rmarkdown
/bookdown
line-breaking the resulting data.frame
(session_info[[2]]
), which disconnects names and versions visually and is thus suboptimal.
I have played with this solution to reduce code chunk font size, but that just renders it clear that the root of the problem is line breaking happening somewhere prior to pdflatex
ing.
Where could I influence when R
/knitr
/rmarkdown
/bookdown
line-breaks code output?