Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

several fixes, checked for portability #2

Merged
merged 6 commits into from
Mar 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*.log
*.aux
*.Rhistory
.RData
**gen/
**.Rout
Empty file added gen/analysis/audit/.gitkeep
Empty file.
Empty file added gen/analysis/input/.gitkeep
Empty file.
Empty file added gen/analysis/output/.gitkeep
Empty file.
Binary file removed gen/analysis/output/model_results.RData
Binary file not shown.
Empty file added gen/analysis/temp/.gitkeep
Empty file.
Empty file.
Empty file.
Empty file.
Binary file removed gen/data-preparation/output/data_cleaned.RData
Binary file not shown.
Empty file.
Binary file removed gen/data-preparation/temp/data_merged.RData
Binary file not shown.
Empty file added gen/paper/audit/.gitkeep
Empty file.
Empty file added gen/paper/input/.gitkeep
Empty file.
Empty file added gen/paper/output/.gitkeep
Empty file.
Binary file removed gen/paper/output/paper.pdf
Binary file not shown.
36 changes: 0 additions & 36 deletions gen/paper/output/table1.tex

This file was deleted.

Empty file added gen/paper/temp/.gitkeep
Empty file.
7 changes: 5 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
# - If run on unix system, use rm instead of del command in clean
# - Careful with spaces! If use \ to split to multiple lines, cannot have a space after \

all: data_cleaned results paper clean
# OVERALL BUILD RULES
all: data_cleaned results paper
paper: gen/paper/output/paper.pdf
data_cleaned: gen/data-preparation/output/data_cleaned.RData
results: gen/analysis/output/model_results.RData

# INDIVIDUAL RECIPES

# Generate paper/text
gen/paper/output/paper.pdf: gen/paper/output/table1.tex \
src/paper/paper.tex
Expand Down Expand Up @@ -35,6 +38,6 @@ gen/data-preparation/temp/data_merged.RData: data/dataset1/dataset1.csv \
R CMD BATCH src/data-preparation/merge_data.R

clean:
del /S *.log *.aux
del /S *.log *.aux
del .RData

34 changes: 0 additions & 34 deletions src/analysis/analyze.Rout

This file was deleted.

34 changes: 0 additions & 34 deletions src/data-preparation/clean_data.Rout

This file was deleted.

30 changes: 0 additions & 30 deletions src/data-preparation/merge_data.Rout

This file was deleted.

74 changes: 0 additions & 74 deletions src/paper/tables.Rout

This file was deleted.