[Rd] objects intermittently shared between vignettes
Spencer Graves
spencer.graves at prodsyse.com
Fri May 13 03:21:41 CEST 2016
Hello:
Is it widely known that objects not explicitly deleted from one
vignette in a package can be available to a second in "R CMD build" and
"R CMD check" but not when the second vignette is built manually, at
least under RStudio on Mac OS X 10.11.4 using R 3.3.0?
For an example, see
install.packages("pkgW2vignettes", repos="http://R-Forge.R-project.org")
This package contains two toy vignettes.
This is not a big deal, but it spooked me, when I saw 227 objects
listed by "objects()" in a vignette built by "R CMD build" + "R CMD
check", when the same "objects()" command only listed 4 objects when I
built the same vignette by itself from within RStudio.
Enjoy,
Spencer Graves
More information about the R-devel
mailing list