On 01/02/2021 1:51 p.m., Jose Barrera wrote:
Indeed, the "cache" folder is not present in the tar.gz file. Could you
please help me on how to fix "the cache is not installed into the package"?
Where is the cache on your local system? I think if it is in the
vignettes/_cache directory, it woul
Dear Dirk,
Thanks for clarifying, now I can see Thierry's point. But the issue is that
doing that my vignette would lose the "reproducible research" property
because the Rnw would need all those artefacts to reproduce the pdf. I know
I could combine Thierry's suggestion with playing with echo = TR
On 1 February 2021 at 20:21, Jose Barrera wrote:
| Many thanks for your help Thierry but unfortunately I can't see the link
| between your first reply and my issue (of course, that's my fault).
Thierry very gently (yet correctly) suggested to have the "cached" results as
"precomputed" artifacts
That will be hard to do without your package. Note that I've suggested a
work around in my first reply.
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie & Kwal
Many thanks for your help Thierry but unfortunately I can't see the link
between your first reply and my issue (of course, that's my fault).
Jose Barrera
Statistician, Associate Lecturer
*IS**Global*
Barcelona Institute for Global Health - Campus MAR
Barcelona Biomedical Research Park (PRBB) (Ro
Indeed, the "cache" folder is not present in the tar.gz file. Could you
please help me on how to fix "the cache is not installed into the package"?
Thanks,
Jose Barrera
Statistician, Associate Lecturer
*IS**Global*
Barcelona Institute for Global Health - Campus MAR
Barcelona Biomedical Research
Probably because the cache is not installed into the package. I'd check the
tar.gz file to see if the cache is present.
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team
Dear Thierry,
Thanks for your advice. However, I would like to understand why when I
build the vignette to get the pdf from the Rnw, it takes just 8 seconds
once the "cache" folder has been created instead of the initial 4 minutes,
but this time reduction does not happen when checking the package.
Dear Jose,
I store the results of CPU intensive chunks in the package. Have a look at
https://github.com/ropensci/git2rdata/blob/master/vignettes/efficiency.Rmd.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOS
Dear all,
I have an issue when checking a package that includes a vignette using
cache = TRUE in some chunks. The vignette is generated with knit from an
Rnw document. The issue is that cache works when building the vignette
locally but it seems not working when checking the package.
I have proce
10 matches
Mail list logo