From bfda9bb6ef7c814931bf78ed722c3d26a7abe721 Mon Sep 17 00:00:00 2001 From: syounkin Date: Fri, 1 Nov 2024 12:05:30 -0500 Subject: [PATCH] Moved R Markdown to top-level Does having the R markdown script stored in the top-level work for you? --- Makefile | 4 ++-- R/route_analysis.Rmd => route_analysis.Rmd | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename R/route_analysis.Rmd => route_analysis.Rmd (100%) diff --git a/Makefile b/Makefile index e895b4d..6bcd32b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -route_analysis: R/route_analysis.Rmd - R -e 'library("rmarkdown"); old_path <- Sys.getenv("PATH"); Sys.setenv(PATH = paste(old_path, "/usr/local/bin", sep = ":")); rmarkdown::render(knit_root_dir = "./../", output_dir = "./html", input = "./R/route_analysis.Rmd", output_file = "./html/route_analysis.html")' +route_analysis: route_analysis.Rmd + R -e 'library("rmarkdown"); old_path <- Sys.getenv("PATH"); Sys.setenv(PATH = paste(old_path, "/usr/local/bin", sep = ":")); rmarkdown::render(knit_root_dir = "./", output_dir = "./html", input = "./route_analysis.Rmd", output_file = "./html/route_analysis.html")' clean: clean-data clean-figure clean-script diff --git a/R/route_analysis.Rmd b/route_analysis.Rmd similarity index 100% rename from R/route_analysis.Rmd rename to route_analysis.Rmd