-
Notifications
You must be signed in to change notification settings - Fork 85
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
Discussion: use_github() #110
Comments
I completely understand what you mean. I've had that experience you describe many times: the Git and GitHub step is always a struggle with errors. I welcome a revision of our step three that is "GitHub first" (cf. https://happygitwithr.com/new-github-first.html) rather than using usethis as we currently do. Perhaps we can outsource some of the instructions to that book? |
Excellent - I can prepare a PR to edit the README next week. @ntrlshrp You invested a lot of time into this |
@nevrome , thanks for inviting my participation here (especially as I had forgotten about the Dec 31 PR discussion). You and @benmarwick have much more experience than I do in the Q1: How many Q2: If an Pros of new workflow:
Cons:
|
Thank you for this breakdown @ntrlshrp! I think the advantages strongly outweigh the disadvantages. I create more than 10 repos every year and I still do it from github. Takes literally 30 seconds. So I believe the decision is clear. I'll provide a PR with some suggestions. The |
Hey @benmarwick,
as you know I gave another course on rrtools yesterday. Here is an observation I wanted to discuss with you:
Although my session was preceded by two (!) sessions on Git and Github we had tremendous problems with the Github setup workflow. For a number of people everything worked fine and as intended, but others (e.g. @ivelsko) got entangled in an email address configuration mess. Pretty much everybody saw this failed initial push error and some participants had difficulties solving it on the command line. I believe I lost some people here in terms of motivation. I remember that we had similar issues at the SAA workshop, but with 3-4 people to assist on the fly it was more easy to fix them quickly.
As rrtools is not just a package, but also a workflow, I suggest to tweak it in this regard: Setting up the Github repository from the R console is a nice idea, but ultimately makes things a lot more complicated (config issues, need for a PAT, etc.) and also doesn't really make sense if we want people to use the Github interface in the end. @TCLamnidis actually confronted me with the question, why we went all this way, when we already learned to create and clone a repo with the Github interface in the previous session.
Maybe a better way to solve this would be to add an option to
use_compendium()
to populate an already established repo cloned from Github. The default workflow would therefore start on Github and continue in RStudio.IMHO
use_github()
could be cut out of the workflow completely. This would also affect #91/#109.The text was updated successfully, but these errors were encountered: