Need help in trying to configure Git repositories for users who are using RStudio #193470
-
🏷️ Discussion TypeQuestion BodyI am one of the GitHub Administrators where I work. I'm a developer, focusing primarily on Microsoft .NET/C#. But where I work other programming languages are used. Two of them are SAS and R. I am familiar with SAS and R by reputation only. Various groups here have used SAS for many years and are starting to use R, in RStudio, more. There's a major project to migrate all the SAS code into R. For me, the hardest thing is trying to figure out how the SAS/R people have used SAS and R for all the years they've been writing scripts in both languages. What's complicated this is the project managers who are involved, will derail any attempt I've made to try to understand how the users have approached configuring the R projects. Once I ask a clarifying question, the PMs drive the discussion elsewhere. This is causing other problems, but the bottom line is I'm no closer to understanding how and why the users configure their R projects the way they do, then I was weeks ago. So, I've come here, in hopes of gaining some insights. Here's what little I know. I know that they've been developing SAS and R projects on network (Windows) shares. I get the impression (which I've never been able to verify) that they'll build a large and deep hierarchy of SAS/R projects. I've no idea how large nor how deep. Also, I have no idea, no matter how many times I've asked, if any of these individual SAS/R projects are related, or if they're only in this folder structure because it was convenient to do it that way, rather than putting the projects in separate folders rather than embedded folders. I get the impression that one group of people will work on one project, but they are concerned that other groups do not see what they're doing, even if they are in embedded folders. That concern makes no sense to me, because anyone who has access to any folder, should have access to sub-folders, etc. But here I'm not sure I'm understanding it correctly. Maybe they do have separate, base folders with sub-folders for other SAS/R projects which are all related. But like I said, this is one of those questions that even when I bring up a clarifying question, the discussion is forced in another direction, so I never get this question answered. I hope that this is enough to help you understand the predicament I am in. And I'm hoping there are some people here who have SAS or R repos who also have experience with people writing SAS and R code who know how to configure these repos in a way that my users will be somewhat happy with and conform, at least somewhat, to how they've worked for many years. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yo @Rod-at-DOH — I feel for you man. PMs derailing technical discussions is a universal pain 😂 repo-root/ One repo per team/project. Not one mega-repo with embedded folders. That's what they're afraid of — Team A doesn't want Team B's commits showing up in their history. R stuff.Rproj.user/ SAS stuff*.sas7bdat Datadata/ The PM problem: Stop asking "how do you configure repos?" Ask "what breaks your workflow?" Then build Git around that. |
Beta Was this translation helpful? Give feedback.
Yo @Rod-at-DOH — I feel for you man. PMs derailing technical discussions is a universal pain 😂
But real talk, you're asking the wrong question. You don't need to understand how SAS/R people configured their projects for 20 years. You need to know what they actually need from Git to not revolt.
Here's the reality:
SAS/R people don't think in repos. They think in scripts, datasets, and "where did I save that .csv." The folder hierarchy you're seeing? It's probably organic chaos from 15 years of "just save it here for now."
What they actually care about:
"Can I still open my project the same way?" (RStudio projects map to folders)
"Will my paths break?" (R uses relative paths, moving folders…