Closed oganm closed 6 years ago
Also it is not part of this pull request but instead of demanding pdftk address from the user it can be automatically detected
if(Sys.info()['sysname'] =='Windows'){ path = system2('where','pdftk',stdout = TRUE) } else { path = system2('which','pdftk',stdout = TRUE) } animation::ani.options(pdftk = path)
Thank you for your contribution and good example!
Should we just use shQuote()? I confess I haven't read my own source code in this package for several years...
shQuote()
@yihui you are right, I will update it.
Also it is not part of this pull request but instead of demanding pdftk address from the user it can be automatically detected