[R-pkg-devel] CRAN-compatible location for output of example code?

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Fri Jul 5 01:06:26 CEST 2019



On July 4, 2019 3:25:25 PM PDT, Michael Gruenstaeudl <mi.gruenstaeudl using gmail.com> wrote:
>Assume an R package that generates a figure ('output.pdf') as the
>of executing the example code specified in one of the manual files
>an .Rd file). The example code specifies the figure to be saved to the 
>root directory of the package (i.e., where files DESCRIPTION and 
>NAMESPACE are located).
>outFile <- paste(getwd(), "output.pdf", sep="")
>Upon submitting the package to CRAN, I receive the NOTE that the 
>following note:
>Flavor: r-devel-linux-x86_64-debian-gcc
>Check: for non-standard things in the check directory, Result: NOTE
>   Found the following files/directories:
>     'output.pdf'
>To which folder should I have the example code save the output file in 
>order for the code to be compatible with the CRAN submission
>R-package-devel using r-project.org mailing list

Sent from my phone. Please excuse my brevity.

More information about the R-package-devel mailing list