folder structure ideas #71
Replies: 8 comments 3 replies
-
@iantaylor-NOAA I like this structure. Simple. My concern is with the presentations folder. You provide markdown scripts, which if that is the content, I agree. However, if .ppt files are to go there, there may be concerns with file size. General best practice is to not include pdf's, so I would think excluding .ppt, and presentations compiled as .pdfs may be preferable. Long story short, have presentation scripts, or exclude the presentation folder within our github repos. |
Beta Was this translation helpful? Give feedback.
-
We could use |
Beta Was this translation helpful? Give feedback.
-
What are people's thoughts on also adding the typical files necessary to make a directory an R package while we are at it? I found this helpful for lingcod because it would ensure that users had all of the necessary dependencies via the DESCRIPTION file and that all functions were easily loadable. |
Beta Was this translation helpful? Give feedback.
-
Hmmm. I am less than enthused about these suggestions, perhaps I just need to warm up to it. Currently, in my repo for next year's assessments I created a "docs" folder to align closer with the |
Beta Was this translation helpful? Give feedback.
-
@chantelwetzel-noaa, I see your point and was continually annoyed by the "doc" vs "docs" with lingcod. The problem is that github gives us no choice but to use "docs" for github pages:
To avoid that conflict, I suppose we could move our folder from "doc" to "write_up" (like https://github.com/chantelwetzel-noaa/dover_sole_2021/tree/master/write_up) @kellijohnson-NOAA, maybe the R package files could be optional. I like the idea of |
Beta Was this translation helpful? Give feedback.
-
Alternatively, we could just write out the whole folder making it clearer "document" or I could just continue to be the old crank yelling "get off my lawn". |
Beta Was this translation helpful? Give feedback.
-
@kellijohnson-NOAA I agree with Ian and think having a package structure as the default be optional. Although I was on lingcod, and think the package structure was helpful, that was and still is something I could not do on my own. The result would be a lot of questions to you, and frustration on my part over organization. |
Beta Was this translation helpful? Give feedback.
-
This is a follow-up to note that I edited the folder structure diagram in my original post above (link) to reflect the discussion in this thread and also changed "doc" to "documents" since that's what @chantelwetzel-noaa did in https://github.com/pfmc-assessments/copper_rockfish_2023/tree/main/documents (which makes more sense than the "document" suggestion above when you have multiple areas with separate documents). Also, check out this beautiful website if you haven't already: https://pfmc-assessments.github.io/copper_rockfish_2023/. I'm going to implement that folder structure for petrale but obviously everyone is free to choose what they want to do. |
Beta Was this translation helpful? Give feedback.
-
I posted an issue recently #68 suggesting that it would be easier to compare across {sa4ss} assessment repositories (and borrow code from each other) if there were a common default folder structure that folks followed.
@kellijohnson-NOAA wisely suggested that GitHub Discussions might be the best way to share ideas on that topic.
Here's what I'm thinking about for petrale based on chatting with @kellijohnson-NOAA, looking at other {sa4ss} repos and working on lingcod last time. Please comment below if you think there are better ways to structure any of this so I can think about copying what you are doing.
[structure edited 28 Dec 2022 to reflect some of the discussion below and 4 Jan 2023 to use "documents"]
Beta Was this translation helpful? Give feedback.
All reactions