R create reference manual with R CMD check

前端 未结 4 1324
Happy的楠姐
Happy的楠姐 2020-12-02 16:55

I am writing an R package and would like to make a pdf reference manual of all functions in the package. I understood from here that R CMD check automatically c

4条回答
  •  醉话见心
    2020-12-02 17:36

    Another way is to create the reference manual directly using:

    R CMD Rd2pdf mypackage
    

    where mypackage is the folder containing your R package code folder structure including the man folder with your .Rd files.

    For some reason I never get the reference manual during build or check in RStudio, maybe because I've missed a setting somewhere. But running the command like this works fine as well.

提交回复
热议问题