Package development : location of pdf manual and vignette

前端 未结 3 804
傲寒
傲寒 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:11

    I can find my PACKAGE-manual.pdf, where throughout PACKAGE is my package name, by first going to

    C:\Users\USERNAME\AppData\Local\Temp\

    within the Windows folder directory. You may have to enable hidden folders and files to see this. Within this folder are many many temp folders and other such things. Sort by date, and scroll down to where the folders are. The most recent one is the one you probably want; the ones that prefix with a "Rtmp" are the ones created by R.

    Within the (probably) most recent Rtemp[blah] should be a folder entitled PACKAGE.Rcheck. In that PACKAGE.Rcheck folder should be the manual pdf PACKAGE-manual.pdf, assuming it was successfully created.

    The full path string on my computer (for this package-creation run) is

    C:\Users\USERNAME\AppData\Local\Temp\RtmpG0713j\PACKAGE.Rcheck\PACKAGE-manual.pdf.

    You might have to search through a couple of Rtmp[blah] folders before you get the right one.

提交回复
热议问题