You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass='fu'><ahref='https://usethis.r-lib.org/reference/use_git.html'>use_git</a></span><spanclass='op'>(</span><spanclass='op'>)</span><spanclass='co'># initialize a git repo</span>
<spanclass='fu'><ahref='https://rdrr.io/pkg/usethis/man/use_git.html'>use_git</a></span><spanclass='op'>(</span><spanclass='op'>)</span><spanclass='co'># initialize a git repo</span>
<spanclass='fu'><ahref='https://usethis.r-lib.org/reference/use_github.html'>use_github</a></span><spanclass='op'>(</span><spanclass='op'>)</span><spanclass='co'># Connect local repo to GitHub</span>
<spanclass='fu'><ahref='https://rdrr.io/pkg/usethis/man/use_github.html'>use_github</a></span><spanclass='op'>(</span><spanclass='op'>)</span><spanclass='co'># Connect local repo to GitHub</span>
2117
2129
</code></pre>
2118
2130
</div>
2119
2131
</div>
@@ -2123,11 +2135,11 @@ <h4 id="set-up-git-and-manage-github-credentials">set-up git and manage GitHub c
2123
2135
<preclass="sourceCode r"><codeclass="sourceCode r"><spanclass='co'># Sign-in to your GitHub account</span>
<li>Making your research reproducible with TIER + R + GitHub [Slides]. Cetinkaya-Rundel, M. (2016). Open Science Framework. Retrieved from <ahref="https://osf.io/phyau" class="uri">https://osf.io/phyau</a></li>
2141
+
<li>Making your research reproducible with TIER + R + GitHub <ahref="#slides">Slides</a>. Cetinkaya-Rundel, M. (2016). Open Science Framework. Retrieved from <ahref="https://osf.io/phyau" class="uri">https://osf.io/phyau</a></li>
2126
2142
</ul>
2127
2143
<divclass="sourceCode" id="cb1"><preclass="sourceCode r distill-force-highlighting-css"><codeclass="sourceCode r"></code></pre></div>
Copy file name to clipboardExpand all lines: docs/search.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,14 @@
6
6
"description": "RStudio users can leverage git Version control to enhance reproducibility.",
7
7
"author": [],
8
8
"contents": "\r\nThe usethis package and the RStudio IDE will help you orchestrate your version control repositories as RStudio projects.\r\n\r\n\r\n\r\n\r\nSetup\r\nTo get started, make a free GitHub.com account. Make sure you have the latest versions of R, RStudio, and usethis. Then, setup your RStudio configuration using two key documents: Setup, and Managing Git(Hub) Credentials.\r\nTips\r\nClone or fork from GitHub\r\n\r\n\r\nusethis::create_from_github(\"https://github.com/data-and-visualization/git-tutorial\")\r\n\r\n\r\n\r\nCreate the GitHub repo from local\r\n\r\n\r\nlibrary(usethis)\r\nuse_git() # initialize a git repo\r\nuse_git_ignore()\r\nuse_readme.Rmd()\r\nuse_ccby_license()\r\nuse_github() # Connect local repo to GitHub\r\n\r\n\r\n\r\nset-up git and manage GitHub credentials\r\n\r\n\r\n# Sign-in to your GitHub account\r\n# Read: https://usethis.r-lib.org/articles/articles/git-credentials.html\r\n# Read: https://usethis.r-lib.org/articles/articles/usethis-setup.html\r\nusethis::create_github_token()\r\ngitcreds::gitcreds_set()\r\ngh::gh_whoami()\r\nusethis::git_sitrep()\r\nusethis::use_git_config(user.name = \"Jane Doe\", user.email = \"[email protected]\")\r\ngh::git_sitrep()\r\n\r\n\r\n\r\nNext Level…\r\nTake your reproducibility to the next level. Make your code citable by connecting your GitHub repo and your ORCID (unique author ID) through to the Zenodo archival repository. Now, every time you commit a milestone release, you also mint a DOI.\r\nContainerize your repository with binder.org using the holepunch package.\r\nPublish your code in a binder.org container\r\nUse the holepunch package\r\n\r\n\r\nlibrary(holepunch)\r\n\r\nwrite_compendium_description()\r\nwrite_dockerfile()\r\ngenerate_badge()\r\nbuild_binder()\r\n\r\n\r\n\r\nThe old documentation from this site can be found in the v.0.2019 release on GitHub.\r\n\r\n\r\n\r\n",
9
-
"last_modified": "2021-05-20T14:27:14-04:00"
9
+
"last_modified": "2021-06-09T19:45:49-04:00"
10
10
},
11
11
{
12
12
"path": "resources.html",
13
13
"title": "Resources",
14
14
"author": [],
15
-
"contents": "\r\nSocial Coding Sites\r\nhttps://github.com\r\nhttps://gitlab.com\r\nhttps://bitbucket.org\r\nDuke’s GitLab Instance\r\nManaging SSH keys\r\n\r\nGUI Git Clients\r\nRStudio – Free. Great for useRs\r\nSublime’s Merge – Downloaded and evaluated for free. $100 / 3-years of upgrades.\r\nGitKracken – Free if you have the GitHub Student Pack or the GitHub Teacher toolbox\r\nSourceTree – Free. (defaults to use with BitBucket)\r\nPackages\r\nhttps://usethis.r-lib.org/\r\nholepunch to make your reproducible code a container on binder.org\r\nFree Book\r\nHappy Git and GitHub for the useR\r\nHandy Article\r\n10 Common Problems / Solutions\r\nReproducibility\r\nWriting clear code: Tools for Reproducible Research\r\nInitial Steps Toward Reproducible Research\r\nMaking your research reproducible with TIER + R + GitHub [Slides]. Cetinkaya-Rundel, M. (2016). Open Science Framework. Retrieved from https://osf.io/phyau\r\n\r\n\r\n\r\n",
16
-
"last_modified": "2021-05-20T14:27:14-04:00"
15
+
"contents": "\r\nSlides\r\nResearch Reproducibility, 2021\r\nSocial Coding Sites\r\nhttps://github.com\r\nhttps://gitlab.com\r\nhttps://bitbucket.org\r\nDuke’s GitLab Instance\r\nManaging SSH keys\r\n\r\nGUI Git Clients\r\nRStudio – Free. Great for useRs\r\nSublime’s Merge – Downloaded and evaluated for free. $100 / 3-years of upgrades.\r\nGitKracken – Free if you have the GitHub Student Pack or the GitHub Teacher toolbox\r\nSourceTree – Free. (defaults to use with BitBucket)\r\nPackages\r\nhttps://usethis.r-lib.org/\r\nholepunch to make your reproducible code a container on binder.org\r\nFree Book\r\nHappy Git and GitHub for the useR\r\nHandy Article\r\n10 Common Problems / Solutions\r\nReproducibility\r\nWriting clear code: Tools for Reproducible Research\r\nInitial Steps Toward Reproducible Research\r\nMaking your research reproducible with TIER + R + GitHub Slides. Cetinkaya-Rundel, M. (2016). Open Science Framework. Retrieved from https://osf.io/phyau\r\n\r\n\r\n\r\n",
0 commit comments