]> code.communitydata.science - ml_measurement_error_public.git/blob - presentations/ica_hackathon_2022/Makefile
Unstash work on misclassification models
[ml_measurement_error_public.git] / presentations / ica_hackathon_2022 / Makefile
1 #!/usr/bin/make
2 all:html pdf
3
4 html: $(patsubst %.Rmd,%.html,$(wildcard *.Rmd)) 
5 pdf: $(patsubst %.Rmd,%.pdf,$(wildcard *.Rmd)) 
6
7 remembr.RDS:
8         rsync klone:/gscratch/comdata/users/nathante/ml_measurement_error/mi_simulations/remembr.RDS .
9
10 %.pdf:  %.html
11         Rscript -e 'xaringan::decktape("$<","$@",docker=FALSE)'
12
13 %.html: %.Rmd *.css remembr.RDS
14         Rscript -e 'library(rmarkdown); rmarkdown::render("$<", output_file = "$@")'
15 #       firefox "$@"
16
17 clean:
18         rm *.html
19         rm -r *_files
20         rm -r *_cache
21
22 publish: all pdf
23         scp -r *.html groc:/home/nathante/public_html/slides/measurement_error_comdatahack_2022.html
24         scp -r *.pdf groc:/home/nathante/public_html/slides/measurement_error_comdatahack_2022.pdf
25
26 .PHONY: clean all

Community Data Science Collective || Want to submit a patch?