The r chunk setting tidy = TRUE re-formats the shown code in a tidy format. Setting this as a global option would enforce a more consistent coding style. Additional preferences can be supplied too. See here: https://yihui.org/knitr/options/#code-decoration
The r chunk setting
tidy = TRUE
re-formats the shown code in a tidy format. Setting this as a global option would enforce a more consistent coding style. Additional preferences can be supplied too. See here: https://yihui.org/knitr/options/#code-decoration