Closed florianhartig closed 8 years ago
Hmm ... but if I compile from Rstudio, I'm installing from source. The package is not building the vignette if I am either installing / clean and rebuild / or do a check.
It's good that we know it builds when installing from GH, but there should be a solution also for local builds.
I'm leaving this open, but doesn't have top priority!
You're right! But: RStudio is using R CMD INSTALL to install the package (even though it is called build and reload). This is not building the vignette. If installing from GitHub you can force the compilation of the vignette by the argument "build_vignette".
Check is building the Vignette. You'll find it in the PhylGeo.Rcheck directory....
Ah, OK - is it then also properly added to the package index? Because this is also what's annoying me.
I would say let's leave this ticket open but unsolved for the moment, if we can find a solution for this it would be good but it's not top priority!
I think in the end this is not a but but a feature of Rstudio - for future reference, one can install via devtools::build_vignettes("PackageName")
Is working now but only if you install from GitHub. Found this about ~ the same problem: " I think this is a feature:
This approach means that you can distribute vignettes in binary packages to people who might not be able to build them from source." http://stackoverflow.com/questions/18588227/r-cmd-install-build-package-vignettes-missing
So I think this is fixed.