# Make sure to have a GitHub Token created:
# usethis::create_github_token()
# Add the token so R knows about it
gitcreds::gitcreds_set()
# Create a new branch
pr_init("name-of-new-branch")
# Make and commit changes
# Push your changes to GitHub and make a Pull Request
pr_push()
# Fill in the details of the Pull Request page that opened up
# Stop work on your local branch by moving back to the main branch
pr_pause()
# After your PR has been merged, run these two commands
pr_resume()
# Select your branch that was just merged
pr_finish()
Check out the Project Board to have a bigger picture overview of what needs to be done, what needs to be reviewed, and who works on what.
Who does what
preamble/syllabus.qmd: @lwjohnst86sessions/automated-testing.qmd: @signekbsessions/creating-website.qmd: @omarsilvermansessions/debugging.qmd: @Aastedetsessions/documenting-functions.qmd: @AndersAskelandsessions/function-development.qmd: @AndersAskelandsessions/introduction.qmd: @lwjohnst86sessions/package-setup.qmd: @lwjohnst86sessions/testing.qmd: @signekbsessions/what-next.qmd: @lwjohnst86sessions/writing-guides.qmd: ?appendix/project.qmd: @lwjohnst86General roadmap
This timeline is assuming maybe 2-3 days of work a month, potentially less.
Contributing tips
In general, create a pull request for each milestone (e.g. after finishing your learning objective, submit a Pull Request). Fewer changes made per Pull Request (a "small PR") are easier to review, approve, and merge, so in general make fewer changes for every PR.
If using RStudio, use the
usethis::pr_*helper workflow. See the instructions on the usethis package website. The functions to use would be: