flr/FLSAM

Deal with long computation of vignettes

Closed this issue · 2 comments

The FLSAM vignettes take a very long time, and R CMD build/check want to run them. Need to find the best mechanism for them not to be rerun unless the Rnw files have been changed. A well-built Makefile that checks for changes in the Rnw files might be an option

The approach that I took originally when I created them was to place the vignettes in a separate directory where they wouldn't be built automatically. ie inst/doc. When major changes were made to the code or the vignette, I would update it manually. This is, technically, bad style according to the R manuals, but it let me avoid the long run times otherwise associated with building this vignette..


Fra: Iago Mosqueira [notifications@github.com]
Sendt: 17. juli 2013 16:34
Til: flr/FLSAM
Emne: [FLSAM] Deal with long computation of vignettes (#2)

The FLSAM vignettes take a very long time, and R CMD build/check want to run them. Need to find the best mechanism for them not to be rerun unless the Rnw files have been changed. A well-built Makefile that checks for changes in the Rnw files might be an option


Reply to this email directly or view it on GitHubhttps://github.com//issues/2.

It is better to be pragmatic. We could always move the vignette outside
and add it for pkg release, but let's see if the Makefile option works.
Will look at finding a pkg doing it already.

Iago

On 07/17/2013 04:45 PM, markpayneatwork wrote:

The approach that I took originally when I created them was to place the
vignettes in a separate directory where they wouldn't be built
automatically. ie inst/doc. When major changes were made to the code or
the vignette, I would update it manually. This is, technically, bad
style according to the R manuals, but it let me avoid the long run times
otherwise associated with building this vignette..


Fra: Iago Mosqueira [notifications@github.com]
Sendt: 17. juli 2013 16:34
Til: flr/FLSAM
Emne: [FLSAM] Deal with long computation of vignettes (#2)

The FLSAM vignettes take a very long time, and R CMD build/check want to
run them. Need to find the best mechanism for them not to be rerun
unless the Rnw files have been changed. A well-built Makefile that
checks for changes in the Rnw files might be an option


Reply to this email directly or view it on
GitHubhttps://github.com//issues/2.


Reply to this email directly or view it on GitHub
#2 (comment).