give knitr tidy = FALSE to keep code formatting, minor edits