Open fmichonneau opened 7 years ago
this is with current github version:
> packageDescription("remake")
Package: remake
Title: Make-like build management
Version: 0.3.0
Authors@R: "Rich FitzJohn <rich.fitzjohn@gmail.com> [aut, cre]"
Description: Make-like build management in R. The idea is to have some
sort of declarative programming to build analysis pipelines,
without having to use/install make.
Depends: R (>= 3.0.0)
License: BSD_2_clause + file LICENSE
LazyData: true
Imports: R6 (>= 2.0.0), crayon, digest, optparse, storr (>= 0.5.0),
yaml
Suggests: DiagrammeR, devtools, knitr, testthat
RoxygenNote: 5.0.1.9000
RemoteType: github
RemoteHost: api.github.com
RemoteRepo: remake
RemoteUsername: richfitz
RemoteRef: master
RemoteSha: 902ec7a3b584dd672e048b656ebe1e6a56418e46
GithubRepo: remake
GithubUsername: richfitz
GithubRef: master
GithubSHA1: 902ec7a3b584dd672e048b656ebe1e6a56418e46
Author: "Rich FitzJohn" [aut, cre]
Maintainer: "Rich FitzJohn" <rich.fitzjohn@gmail.com>
Built: R 3.3.2; ; 2017-02-15 20:48:00 UTC; unix
-- File: /home/francois/.R/library/remake/Meta/package.rds
This is the same issue as #129 I think, and is a bug. I got part way through a solution to this before getting derailed again; it's a little subtle but it really should be fixed
let's say I have this as
remake.yml
this as
functions.R
and this as
manuscript.Rmd
editing the code of make_figure1 or make_figure2 properly triggers re-building the corresponding PDF file (figure1.pdf or figure2.pdf) but not of manuscript.md:
First time this is run:
2nd time without changing anything:
after editing the content of
make_figure2()
: