yihui/knitr — pull request #555 by noamross (2013-06-11 22:57:16+00:00)
Title: Added option to change default chunk name

I've added an option to change the default chunk name from "unnamed-chunk". `chunk.name` is now a package-level option, which is called by `unnamed_chunk()` in the parser.

I did this because I preferred to have my figure output files be named *-fig-1, *-fig-2, etc.