forked from bbolker/testing_bias_distribution
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
132 lines (84 loc) · 3.01 KB
/
Makefile
File metadata and controls
132 lines (84 loc) · 3.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
## This is https://github.com/bbolker/testing_bias_distribution
current: target
-include target.mk
Ignore = target.mk
-include makestuff/perl.def
######################################################################
## mpFitting.html: mpFitting.md
######################################################################
## log-diff_cdf-log_simp.png
## log-diff_simp-log_simp.png
## Test_positivity_vs_test_proportion_phi_inc.png
## OR_Sim.Rout: OR_Sim.R OR_Sim.md
OR_Sim_SIR_MacPan.Rout: OR_Sim_SIR_MacPan.R
$(pipeR)
## OR_Sim.Rout: OR_Sim.R OR_Sim.md
OR_Sim.Rout: OR_Sim.R
$(pipeR)
######################################################################
Ignore += docs *.html
Sources += $(wildcard *.rmd *.qmd *.md)
testing_distrib.html: testing_distrib.rmd
%.html: %.rmd
echo "rmarkdown::render(\"$<\")" | R --slave
%.html: %.md
$(pandocs)
%.html: %.qmd
quarto render $<
docs/%.html: %.html
cp $< $@
######################################################################
Sources += betaParams.md simple.md README.md
######################################################################
## If people don't object to having make install makestuff, you can activate the 00.stamp line below and this stuff will work.
## Or we could make more simple rules like those above
## autopipeR = defined
Sources += $(wildcard *.R)
## Not working yet 2024 Sep 19 (Thu)
corrCheck.Rout: corrCheck.R
Expected_Test_positivity_figure.Rout: Expected_Test_positivity_figure.R testing_funs.R
testing_distrib.html: testing_distrib.rmd testing_funs.R
##### 2024 Oct 16 (Wed)
Logspace_comparing_methods.Rout: Logspace_comparing_methods.R
inc-testing_positivity-ratio.Rout: inc-testing_positivity-ratio.R
######################################################################
### Odds ratios
Sources += or.md $(wildcard *.mac)
## or.mac.out: or.mac or.md
## or_mac.html: or_mac.rmd
or.mac.tex: or.mac.out mactex.pl
$(PUSH)
######################################################################
## rvdss stuff moved to ariCanada
## Some implicit curves of positivity vs. test proportion
## First attempt
orCurves.Rout: orCurves.R
## Now modularized a bit
## Original grid (two prevalences, three shapes)
orGrid.Rout: orGrid.R
## Try to converge on a point
## orConv.Rout: orConv.R
## orConv.compPlots.Rout: compPlots.R orConv.R
## orGrid.compPlots.Rout: compPlots.R
%.compPlots.Rout: compPlots.R %.rds
$(pipeR)
######################################################################
## Beta illustrations
betaIllus.Rout: betaIllus.R
######################################################################
### Makestuff
Sources += Makefile
Ignore += makestuff
msrepo = https://github.com/dushoff
Makefile: makestuff/02.stamp
makestuff/%.stamp:
- $(RM) makestuff/*.stamp
(cd makestuff && $(MAKE) pull) || git clone --depth 1 $(msrepo)/makestuff
touch $@
-include makestuff/os.mk
-include makestuff/pipeR.mk
-include makestuff/max.mk
-include makestuff/pdfpages.mk
-include makestuff/git.mk
-include makestuff/gitbranch.mk
-include makestuff/visual.mk