Rstudio projects are self contained.
GitHub integration allow for version control: https://happygitwithr.com/
GitHub allow for larger visibility and integration with other tools (see below).
Dynamic documents combine executable code and formatted text. Quarto is the current standard.
Text is annotated using Markdown flavored syntax.
They can easily be turned into webpages, presentations and interactive documents.
In /demo.qmd you can play with one of this documents.
Or open a new empty Quarto document (upper-right corner in Rstudio).
Explain people what you are doing: README.md file.
.md is better here because is automatically rendered by GitHub.
Explain people what they can do with your project: Licence it!
Other useful files: .gitignore, .Rproj
Zenodo gives you permanent stable DOI
Log in to https://zenodo.org/ (with your GitHub account).
Go to /GitHub in the top main menu and update your repos. Flip the switch of your repo.
In GitHub, go to Releases (right column) and create a new one.
Versioning should use incremental numbers for minor and major updates (0.1, 0.2, 1.0, 1.2, …)
Go back to Zenodo to collect your DOI and add it to README.md file.
Think on adding a News.md
In GitHub go to Settings/Pages and enable webpage creation.
Many options are possible, but a simple Deploy from branch, main in /docs should work.
GitHub will look for a index.html and a .nojekyll file.
You can link it to the GitHub “About” section in the right column.
Github actions e.g. https://github.com/ibartomeus/CropPollinationModels
Readme.md with DOI, version, file description, relevant info, etc…
/Data with raw, clean and the relevant scripts.
/Analysis
/Manuscript
LICENCE
testthat
News.md
Metadata/
Renv/
Tools evolve
Plan accordingly (use standard open formats)
Will we see living papers in our lifetime?