-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve file naming with advice from R4DS #243
base: main
Are you sure you want to change the base?
Conversation
figure-01.png | ||
figure-02.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
start file names with numbers so that alphabetical sorting puts them in the order they get used
quoted from below, goes against this good example
If you later realise that you've missed some steps, it's tempting to use `02a`, | ||
`02b`, etc. However, I think it's generally better to bite the bullet and | ||
rename all files. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is indentation messed up here? not sure if it affects the final result
Microsoft Windows or OS X) which can lead to problems with (case-sensitive) | ||
revision control systems. Prefer file names that are all lower case, and never | ||
have names that differ only in their capitalization. | ||
4. Don't [tempt fate](https://phdcomics.com/comics.php?f=1531) by using "final" or similar words in file names. Instead either rely on Git to track changes over time, opr failing that put the date, formatted as year-month-day, in the file name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4. Don't [tempt fate](https://phdcomics.com/comics.php?f=1531) by using "final" or similar words in file names. Instead either rely on Git to track changes over time, opr failing that put the date, formatted as year-month-day, in the file name. | |
4. Don't [tempt fate](https://phdcomics.com/comics.php?f=1531) by using "final" or similar words in file names. Instead either rely on Git to track changes over time, or failing that put the date, formatted as year-month-day, in the file name. |
https://r4ds.hadley.nz/workflow-scripts.html#saving-and-naming