write_readme | R Documentation |
This function streamlines project documentation by creating and managing a README.md file. It provides interactive prompts for existing files and maintains consistent project documentation structure.
write_readme(path = here::here())
path |
The destination directory for the README file. Defaults to |
The README.md template includes structured sections for:
Project description (study name, principal investigator, author)
Project setup steps for reproducibility
File and directory descriptions
Miscellaneous project notes
If the README file already exists, the function will stop and warn the user. The templates include example documentation that can be modified to suit project needs.
Creates a comprehensive README template for project documentation.
# Create new README in temporary directory
tmp <- tempdir()
write_readme(path = tmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.