Creating package documentation using RStudio?

I managed to create a package using RStudio and roxygen2. The whole process of creating the package worked without errors and warnings. Anyway, my question is how to create PDF documentation for my package and its functions? Thank you in advance.

+6
source share
1 answer

Do you mean the pdf manual? I do not think there is a convenient devtools function for this (but I could be wrong). Try running system('R CMD Rd2pdf /path/to/mypackage') .

You will need a working LaTeX distribution to create PDF files. fooobar.com/questions/218184 / ....

+5
source

Source: https://habr.com/ru/post/978880/


All Articles