1

I'm developing my first R package and I'm trying to produce a pdf vignette for the package. I have read some documents and online tutorial about producing package vignettes by the tools such as rmarkdown and knitr. I implemented some steps and produced a pdf vignette. However, having a look on the pdf vignettes of some packages like:

, it seems that there is a special template to produce pdf vignettes of R packages. Is there such a template? If yes, how can I find and use it? Thanks in advance for any help

Ali.A
  • 21
  • 5
  • look there: https://bookdown.org/yihui/rmarkdown-cookbook/package-template.html – manro Oct 14 '21 at 12:27
  • As far as I know, these files are created by CRAN itself. They are based on the /man .Rd documents. – tacoman Oct 14 '21 at 12:35
  • @manro Thanks you! I have read the book and used the guidance but I couldn't produce the pdf in the desirable format or structure. However, I think that I've made a mistake in somewhere else. – Ali.A Oct 14 '21 at 13:23
  • Thanks for your comment. You may be right. I think that I've mistaken Reference Manuals as Vignettes. @tacoman – Ali.A Oct 14 '21 at 13:31

1 Answers1

1

As mentioned in the comments I've mistaken reference manuals as vignettes and so, I hadn't be able to find the correct answer. When I searched by using the correct keywords, I found the correct answer:

Ali.A
  • 21
  • 5