Reputation: 291
I managed to create a package using RStudio and roxygen2. The whole package-creating process worked without any errors and warnings. Anyway, my question is how do I create a PDF documentation of my package and its functions? Thanks in advance.
Upvotes: 7
Views: 909
Reputation: 30301
You mean the pdf manual? I don't think there's a handy devtools
function for that (but I could be wrong). Try running system('R CMD Rd2pdf /path/to/mypackage')
.
You'll need a working LaTeX distribution to make pdfs. See also this discussion on stackoverflow.
Upvotes: 6