[R-pkg-devel] Issue with including vignettes without building package
Sven E Templer
sven.templer at gmail.com
Thu Apr 20 21:01:23 CEST 2017
what if you run
devtools::install_github(build_vignettes = TRUE)
on your students computer?
> On 20. Apr 2017, at 15:09, Alexandre Courtiol <alexandre.courtiol at gmail.com> wrote:
> Dear all,
> I am using a package for teaching:
> my slides are html vignettes, and it is convenient for students to control
> which packages they must install, provide code and datasets.
> As I am often editing the package live during the course, it would be great
> if I could just push to github and that the student would just have to run
> a devtools::install_github() to get my updated vignettes. I would rather
> not to have to build the package before pushing to save time.
> The issues is that I do not want to build the vignettes on install as they
> are very slow to build. On my computer however it is quick because I have
> cached the knitr chunks output. So I was hoping to just have to run
> devtools::build_vignettes() on my machine before pushing the files thereby
> created (./inst/doc) and that the student could just
> I cannot make this work: no vignettes are found after install. When I do
> check the repository beeing installed on their computers, the html, Rmd and
> R files corresponding to the vignettes are present in ./doc, so it is not
> an issue of having the wrong .gitgnore configuration.
> I have read about many vignettes related issues on the net, but I did not
> find something dealing with this precise issue.
> PS: I know about the R.rsp hack, but I would prefer to find a solution more
> Alexandre Courtiol
> *"Science is the belief in the ignorance of experts"*, R. Feynman
> [[alternative HTML version deleted]]
> R-package-devel at r-project.org mailing list
More information about the R-package-devel