Conversation
jennybc
left a comment
There was a problem hiding this comment.
LGTM
Yeah, to @DavisVaughan's point, you might want to rephrase somewhat to account for the fact that the number doesn't necessarily have to go first, if a bunch of filenames start with a common prefix.
Other points I usually make on this topic that aren't here yet (but are perhaps intentional omissions?):
- Be very deliberate in your use of delimiters (I know you and I have different conventions here)
- Left pad numbers with zero
- ISO 8601 for dates
https://speakerdeck.com/jennybc/how-to-name-files-the-sequel
files.qmd
Outdated
| 1. File names should be **machine readable**: avoid spaces, symbols, and special characters. Prefer file names that are all lower case, and never | ||
| have names that differ only in their capitalization. Use `.R` as the extension of R files. |
There was a problem hiding this comment.
Soft comment: When I hold forth on this topic, I sometimes go on to say that what "machine readable" really means here is "very approachable with globbing and regular expressions".
There was a problem hiding this comment.
I couldn't quite figure out where to squeeze that in
|
I think I managed to get most of your comments in, without having to rework the whole section again. We might want to do that in the future, but this is as much time as I want to spend on this now. |
https://r4ds.hadley.nz/workflow-scripts.html#saving-and-naming