Re: [R-pkg-devel] Issue with including vignettes without building package

2017-04-20 Thread Zhian Kamvar
Perhaps you could add a Makefile with a rule that compiles the vignettes into the inst/doc directory? This might avoid the build process. - Zhian N. Kamvar, Ph. D. Postdoctoral Researcher (Everhart Lab) Department of Plant Pathology University of Nebraska-Lincoln > On Apr 20, 2017, at 15:3

Re: [R-pkg-devel] Issue with including vignettes without building package

2017-04-20 Thread Alexandre Courtiol
To rephrase my needs, I need to find a way to create the file /Meta/vignette.rds at install, not build, as all other files for the vignettes to run are being installed properly. Has anyone managed to do that? For now my horrible hack is to have a function calling the vignette through a call to brow

Re: [R-pkg-devel] Issue with including vignettes without building package

2017-04-20 Thread Alexandre Courtiol
Thanks but I don't think so, that would imply them to rebuild the vignettes, which is exactly what I want to avoid. Without knitr cached chunk it would take forever on their laptops and they would also need to install tons of packages... ++ On 20 April 2017 at 21:01, Sven E Templer wrote: > Hi A

Re: [R-pkg-devel] Issue with including vignettes without building package

2017-04-20 Thread Sven E Templer
Hi Alex, what if you run devtools::install_github(build_vignettes = TRUE) on your students computer? See ?devtools::install Best, Sven > On 20. Apr 2017, at 15:09, Alexandre Courtiol > wrote: > > Dear all, > > I am using a package for teaching: > my slides are html vignettes, and it i

[R-pkg-devel] Issue with including vignettes without building package

2017-04-20 Thread Alexandre Courtiol
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