Skip to content

Commit 4c18c68

Browse files
committed
add video
1 parent afb7d99 commit 4c18c68

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

docs/index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,9 +2043,9 @@ <h1>Git, GitHub &amp; RStudio</h1>
20432043

20442044

20452045
<div class="d-article">
2046-
<p>Use RStudio to manage version control. It’s easy with the <a href="https://usethis.r-lib.org/"><code>usethis</code></a> package (version 2.x or ^.)</p>
2047-
<p>Take your reproducibility to the next level. <a href="https://guides.github.com/activities/citable-code/">Make your code citable</a> by connecting your GitHub repo and your <a href="https://orcid.org/register">ORCID</a> (unique author ID) through to the <a href="https://zenodo.org/">Zenodo</a> archival repository. Now, every time you commit a milestone release, you also mint a DOI.</p>
2048-
<p>Containerize your repository with binder.org using the <a href="https://karthik.github.io/holepunch/"><code>holepunch</code> package</a>.</p>
2046+
<p>The <a href="https://usethis.r-lib.org/"><code>usethis</code></a> package and the RStudio IDE will help you orchestrate your version control repositories as RStudio projects.</p>
2047+
<iframe width="560" height="315" src="https://www.youtube.com/embed/p8q4WGg6how" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
2048+
</iframe>
20492049
<h3 id="setup">Setup</h3>
20502050
<p>To get started, make a free GitHub.com account. Make sure you have the latest versions of R, RStudio, (Rtools if you’re Windows), and usethis. Then, setup your RStudio configuration using two key documents: <a href="https://usethis.r-lib.org/articles/articles/usethis-setup.html">Setup</a>, and <a href="https://usethis.r-lib.org/articles/articles/git-credentials.html">Managing Git(Hub) Credentials</a>.</p>
20512051
<h3 id="tips">Tips</h3>
@@ -2083,6 +2083,9 @@ <h4 id="set-up-git-and-manage-github-credentials">set-up git and manage GitHub c
20832083
</code></pre>
20842084
</div>
20852085
</div>
2086+
<h3 id="next-level">Next Level…</h3>
2087+
<p>Take your reproducibility to the next level. <a href="https://guides.github.com/activities/citable-code/">Make your code citable</a> by connecting your GitHub repo and your <a href="https://orcid.org/register">ORCID</a> (unique author ID) through to the <a href="https://zenodo.org/">Zenodo</a> archival repository. Now, every time you commit a milestone release, you also mint a DOI.</p>
2088+
<p>Containerize your repository with binder.org using the <a href="https://karthik.github.io/holepunch/"><code>holepunch</code> package</a>.</p>
20862089
<h4 id="publish-your-code-in-a-binder.org-container">Publish your code in a binder.org container</h4>
20872090
<p>Use the <a href="https://karthik.github.io/holepunch/"><code>holepunch</code> package</a></p>
20882091
<div class="layout-chunk" data-layout="l-body">

docs/search.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"title": "Git, GitHub & RStudio",
66
"description": "Makin' it work!!",
77
"author": [],
8-
"contents": "\r\nUse RStudio to manage version control. It’s easy with the usethis package (version 2.x or ^.)\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\nSetup\r\nTo get started, make a free GitHub.com account. Make sure you have the latest versions of R, RStudio, (Rtools if you’re Windows), 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\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": "2020-12-18T12:29:43-05:00"
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\nSetup\r\nTo get started, make a free GitHub.com account. Make sure you have the latest versions of R, RStudio, (Rtools if you’re Windows), 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-02-15T09:19:22-05:00"
1010
},
1111
{
1212
"path": "resources.html",
1313
"title": "Resources",
1414
"author": [],
1515
"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": "2020-12-18T12:29:43-05:00"
16+
"last_modified": "2021-02-15T09:19:22-05:00"
1717
}
1818
],
1919
"collections": []

docs/sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" version="1.0">
33
<url>
44
<loc>https://rfun.library.duke.edu/</loc>
5-
<lastmod>2020-12-18T12:16:59-05:00</lastmod>
5+
<lastmod>2021-02-15T09:19:20-05:00</lastmod>
66
</url>
77
<url>
88
<loc>https://rfun.library.duke.edu/resources.html</loc>

index.Rmd

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ knitr::opts_chunk$set(echo = FALSE)
1212
1313
```
1414

15-
Use RStudio to manage version control. It's easy with the [`usethis`](https://usethis.r-lib.org/) package (version 2.x or ^.)
15+
The [`usethis`](https://usethis.r-lib.org/) package and the RStudio IDE will help you orchestrate your version control repositories as RStudio projects.
1616

17-
Take your reproducibility to the next level. [Make your code citable](https://guides.github.com/activities/citable-code/) by connecting your GitHub repo and your [ORCID](https://orcid.org/register) (unique author ID) through to the [Zenodo](https://zenodo.org/) archival repository. Now, every time you commit a milestone release, you also mint a DOI.
18-
19-
Containerize your repository with binder.org using the [`holepunch` package](https://karthik.github.io/holepunch/).
17+
<iframe width="560" height="315" src="https://www.youtube.com/embed/p8q4WGg6how" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
2018

2119
### Setup
2220

@@ -55,6 +53,12 @@ usethis::use_git_config(user.name = "Jane Doe", user.email = "[email protected]")
5553
gh::git_sitrep()
5654
```
5755

56+
### Next Level...
57+
58+
Take your reproducibility to the next level. [Make your code citable](https://guides.github.com/activities/citable-code/) by connecting your GitHub repo and your [ORCID](https://orcid.org/register) (unique author ID) through to the [Zenodo](https://zenodo.org/) archival repository. Now, every time you commit a milestone release, you also mint a DOI.
59+
60+
Containerize your repository with binder.org using the [`holepunch` package](https://karthik.github.io/holepunch/).
61+
5862
#### Publish your code in a binder.org container
5963

6064
Use the [`holepunch` package](https://karthik.github.io/holepunch/)

0 commit comments

Comments
 (0)