fixed type in knitr option setting