Package development : location of pdf manual and vignette

前端 未结 3 795
傲寒
傲寒 2021-02-15 14:03

When building mypackage, everything seems to work:

library(devtools)
build(vignettes = T, manual = T)

* checking for file ‘/storage/Documents/client/validate/my         


        
3条回答
  •  清歌不尽
    2021-02-15 14:12

    Not sure quite where RStudio puts it, but in a bare bones check operation the pdf version of the manual should be in a folder called mypackage.Rcheck If you created a mypackage-package.R file then when the package is installed, ?mypackage should lead you to the html version of the manual. The vignette you can get by installing your package and doing vignette("mypackage").

提交回复
热议问题