Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

highlight 0.4.2 is on CRAN. This fixes a few bugs reported by users.

The main improvement is that we can now use highlight as a vignette engine, using the functionality introduced in R 3.0.0. In the Rcpp universe, we use highlight to build some of our vignettes, and before this we had to use crazy tricks with Makefiles, etc … I hope that we won’t need this anymore with highlight 0.4.2 and I’ve already started working on using the vignette engine for the RcppGSL vignette.

To use highlight as your vignette engine, you just need to add this line to your DESCRIPTION file:

VignetteBuilder: highlight


And this somewhere in your vignette:

%\VignetteEngine{highlight::highlight}


Here is the extract of the NEWS file:

0.4.2   2013-06-19

o    Dealing with spaces that were inserted where they should not have.
reported by Yihui Xie.

o    Removing the last line from highligted chunks in the sweave driver
Requested by Dirk Eddelbuettel.

o    Supporting VignetteBuilder: highlight