html_document() supports a code_folding argument, which, when echo = TRUE, allows the user to either collapse or show all code chunks (with a default).
I think letting the user decide whether she wants to see code chunks is a great idea, especially for longish vignettes.