Skip to content

Commit

Permalink
the latest version of knitr uses knitr.width instead of KNITR_WIDTH now
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Oct 7, 2013
1 parent fc0e579 commit e9461eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _bin/knit
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for (i in setdiff(c(
}

# formatR indent 2 spaces; print width 65; no progress
options(reindent.spaces = 2, KNITR_WIDTH = 65)
options(reindent.spaces = 2, knitr.width = 65)

library(knitr)
stopifnot('_source' %in% list.files()) # run me from the root directory
Expand Down

0 comments on commit e9461eb

Please sign in to comment.