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
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
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
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
I figured it out as header clash. Putting #include R headers after Windows
headers works for me.
GSC 于2017年4月18日周二 上午9:54写道:
> That link is deprecated, new link to log:
> https://win-builder.r-project.org/I3u4Z9BbLHsC/ .
>
> GSC 于2017年4月17日周一 下午10:47写道:
>
>> I
Hi Duncan,
Thank you very much for taking the time to look at this.
I tried rebuilding the tar file so as to include only the .Rmd files, not
the HTML files, in 'vignettes':
drwxr-xr-x 0 david staff 0 20 Apr 09:21 huxtable/vignettes/
-rw-r--r-- 0 david staff1633 6 Apr 16:26
Hi guys,
Thanks very much for all of your comments. I now have a good sense of what
the possibilities are, and I will think about what works best for my
package.
Cheers,
David
On 20 April 2017 at 14:42, Duncan Murdoch wrote:
> On 20/04/2017 4:57 AM, Brian G.
David,
I'd suggest creating a vignette for each of HTML and PDF, and including
a source file that contains the common code. e.g. have a pdf header and
an html header file, and then include the 'main' Rmd as a child doc from
each header Rmd. This way R CMD build could build both pdf and html
Dear Roy,
In case you create a HTML vignette you can use datatable() from the DT
package. That creates a dynamic table in the output.
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team