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
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
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
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
Thanks all for the suggestions.
If I have screenshots in the Vignette, where should I put the picture files -
in the vignette folder (this is so it will work when submitted to CRAN)?
As for why display the result, just a design decision. Sometimes it makes
sense to display right away the resul
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. Peterson wrote:
>
>> David,
>>
>>
On 20/04/2017 4:57 AM, Brian G. Peterson wrote:
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
On 20/04/2017 4:38 AM, David Hugh-Jones wrote:
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
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
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 have no idea how I could fix these c
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
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
huxta
Two questions:
1. If your package definitely needs to call View(), and you want to explain
how that will look, then why not show one or more screenshots in your
documentation?
2. Why does your package need to call View? Why can't it return the
metadata as a data frame, and let the user do what he
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 Biomet
14 matches
Mail list logo