- Notifications
You must be signed in to change notification settings - Fork55
use Rcpp vignette style#153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
binxiangni commentedAug 1, 2017
Looks good. There might be an inconsistency due to me.Subsection 2.7.3 includes |
eddelbuettel commentedAug 1, 2017
Done! |
eddelbuettel commentedAug 1, 2017
BTW, one downside is that you need a helper script such as the snippet below to compile the vignette. #!/usr/bin/Rscript## use given argument(s) as target files, or else default to .Rnw files in directoryfiles<-if (length(commandArgs(TRUE))==0) dir(pattern="*.Rnw")else commandArgs(TRUE)## convert all files from Rnw to pdf using the highlight driverinvisible(sapply(files,function(srcfile) { Sweave(srcfile,driver=highlight::HighlightWeaveLatex())tools::texi2pdf(gsub(".Rnw",".tex",srcfile))})) |
binxiangni commentedAug 1, 2017
Not familiar with that. I just compile my original one in Rstudio. Thanks for reminding. Really learned a lot from you this summer. |
eddelbuettel commentedAug 1, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
It's the non-standard (but perfectly fine and permitted) vignette engine we use: based onhighlight. All pretty easy on Linux, and (I presume) possible on macOS... |
@binxiangni I updated the vignette a little, see a(temp) copy of the pdf for a quick glance.