Not sure if this is a bug or not, but maybe you can tell me.
When _R_CHECK_TIMINGS_ is set to 0, R CMD build produces a tarball that does NOT include the purl()ed vignette R file:
biocbuild@zin1:~/bbs-3.4-bioc/meat$ _R_CHECK_TIMINGS_=0 R CMD build RGalaxy
* checking for file ‘RGalaxy/DESCRIPTION’ ... OK
* preparing ‘RGalaxy’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building ‘RGalaxy_1.17.2.tar.gz’
biocbuild@zin1:~/bbs-3.4-bioc/meat$ tar ztf RGalaxy_1.17.2.tar.gz |grep inst/doc
RGalaxy/inst/doc/
RGalaxy/inst/doc/RGalaxy-vignette.Rmd
RGalaxy/inst/doc/RGalaxy-vignette.html
When the variable is NOT set, the R file is present:
biocbuild@zin1:~/bbs-3.4-bioc/meat$ R CMD build RGalaxy
* checking for file ‘RGalaxy/DESCRIPTION’ ... OK
* preparing ‘RGalaxy’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building ‘RGalaxy_1.17.2.tar.gz’
biocbuild@zin1:~/bbs-3.4-bioc/meat$ tar ztf RGalaxy_1.17.2.tar.gz |grep inst/doc
RGalaxy/inst/doc/
RGalaxy/inst/doc/RGalaxy-vignette.R
RGalaxy/inst/doc/RGalaxy-vignette.Rmd
RGalaxy/inst/doc/RGalaxy-vignette.html
I am not sure what _R_CHECK_TIMINGS_ is supposed to do, but I assume from the name that it has to do with R CMD check, not R CMD build, so I am surprised that R CMD build is affected by this.
Can you shed some light on this?
Thanks,
Dan
@mtmorgan
@hpages
@aoles
biocbuild@zin1:~/bbs-3.4-bioc/meat$ R -q --vanilla
> library(knitr);sessionInfo()
R version 3.3.0 (2016-05-03)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04 LTS
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] knitr_1.13
loaded via a namespace (and not attached):
[1] tools_3.3.0
Not sure if this is a bug or not, but maybe you can tell me.
When
_R_CHECK_TIMINGS_is set to0,R CMD buildproduces a tarball that does NOT include thepurl()ed vignette R file:When the variable is NOT set, the R file is present:
I am not sure what
_R_CHECK_TIMINGS_is supposed to do, but I assume from the name that it has to do withR CMD check, notR CMD build, so I am surprised thatR CMD buildis affected by this.Can you shed some light on this?
Thanks,
Dan
@mtmorgan
@hpages
@aoles