The template that I like for projects
See renv
documentation here
The directory is structured by what type of files go in the folder. So all scripts go insite the scripts
folder, all outputs go in the outputs
folder. I differentiate between data that will be provided to others and data used for the project. Data used in the project goes into the data
folder whereas data that will provided to others goes in the appropriate folder under the output
folder.