Fixed issues in dynamic [knitr] chunks MRE for my corresponding question on StackOverflow. Posted my answer, including the solution (http://stackoverflow.com/a/26902849/2872891).