rstudio/rmarkdown-cookbook

v_spaces is not recognized anymore.

Closed this issue · 1 comments

i used to use the method for displaying line numbers using the instructions in Add line numbers to source code however, after upgrading all the packages, it does not work anymore as v_spaces is not recognized anymore.

yihui commented

The internal function v_spaces() has been removed from knitr. I just updated the book to use strrep() in base R instead. Sorry about the confusion!