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

2019-07-04 Thread Michael Gruenstaeudl
Assume an R package that generates a figure ('output.pdf') as the result of executing the example code specified in one of the manual files (i.e. 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

[R-pkg-devel] VignetteBuilder field

2019-07-03 Thread Michael Gruenstaeudl
Assume an R package `myPackage` that contains the folder `vignettes`, in which the TEX-file `PACViR_Vignette.tex` and two image files (`image1.pdf` and `image2.pdf`) are located. The TEX-file compiles nicely without the need to use Sweave or knitr. Upon testing the package for submission to CR

[R-pkg-devel] Installing conda dependecy onAttach

2019-06-14 Thread Michael Gruenstaeudl
Assume an R package (`myRpackage`) that has a conda package (`condaDependecy`) as a system requirement. The file `DESCRIPTION` of the R package would read like: Package: myRpackage ... SystemRequirements: condaDependecy (>= 0.1) ... How can I ensure the automatic installation o