XinyueHou / DATA550Project

0 stars 2 forks source link

DATA 550 Peer Review #1

Open htracy15 opened 3 months ago

htracy15 commented 3 months ago

I received this error when I typed in make: "make: *** No targets specified and no makefile found. Stop." I think you need to create a Makefile and put rules in it to build your report. Right now your Makefile is a txt file.

jackalperstein commented 3 months ago

Same comment as htracy15, the makefile should not be .txt file. I copied the text from your Makefile.txt into a new makefile and still received errors such as:

$ make report
Rscript -e "rmarkdown::render('docs/report.Rmd', output_file='docs/final_report.html')"
Error in abs_path(input) : The file 'docs/report.Rmd' does not exist.
Calls: <Anonymous> -> setwd -> dirname -> abs_path
In addition: Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
  path[1]="docs/report.Rmd": The system cannot find the file specified
Execution halted
make: *** [makefile:4: report] Error 1

The file to make your report in your docs folder is called DATA550_PROJECT2.Rmd but that is not referenced in the makefile.

When I try to run the report markdown or the analysis individually, you use absolute file paths which do not work either.