This function makes an R project that includes an analysis.Rmd file with conflicted and tidyverse and an aggressive .gitignore. The .gitignore is designed to help protect against leaking data (with protected health information). This function is used by the research_project.dcf file to make the files.
make_project(path)
Path automatically set by research_project.dcf (see
./rstudio/templates/project/
)
Creates a project directory with the following contents: a template
.Rmd
file called "analysis", a subdirectory for data, a template
.gitignore
with aggressive protections against publishing potential
protected health information, a starter bibliography file called
"references" (in standard .bib
format), and a stock Citation Style
Language (.csl
) file for the New England Journal of Medicine.
if (FALSE) {
make_project(path = "~/test_project")
}