Nussig
Nussig

Reputation: 291

Creating Package Documentation with RStudio?

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

Answers (1)

Zach
Zach

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

Related Questions