highlight 0.4.2

[This article was first published on R Enthusiasts, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
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     

To leave a comment for the author, please follow the link and comment on their blog: R Enthusiasts.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)