Skip to content

Commit 163beb2

Browse files
committed
logo
1 parent ffc6f7b commit 163beb2

File tree

7 files changed

+24
-33
lines changed

7 files changed

+24
-33
lines changed

_site.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,29 @@ description: |
55
# exclude:
66
# - README.md
77
# - license.md
8+
# favicon: logo.png
89
navbar:
910
# title: "RStudio & Version Control"
11+
logo:
12+
image: libs-local/rfun_logo.png
13+
href: https://rfun.library.duke.edu
1014
left:
1115
- text: "Resources"
1216
href: "resources.html"
17+
# logo:
18+
# image: libs-local/rfun_logo.png
19+
# href: https://rfun.library.duke.edu
1320
right:
1421
- icon: fa-github
1522
# - text: "GitHub"
1623
href: https://github.com/data-and-visualization/git-tutorial/
1724
# - icon: fa-home
18-
- text: "Home"
19-
menu:
20-
- text: "Rfun Home"
21-
href: "https://rfun.library.duke.edu/"
22-
- text: "CDVS Home"
23-
href: https://library.duke.edu/data/
25+
# # - text: "Home"
26+
# menu:
27+
# - text: "Rfun Home"
28+
# href: "https://rfun.library.duke.edu/"
29+
# - text: "CDVS Home"
30+
# href: https://library.duke.edu/data/
2431
output_dir: docs
2532
output:
2633
distill::distill_article:

docs/index.html

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,24 +2047,16 @@ <h3>${suggestion.title}</h3>
20472047
<header class="header header--fixed" role="banner">
20482048
<nav class="distill-site-nav distill-site-header">
20492049
<div class="nav-left">
2050+
<a class="logo" href="https://rfun.library.duke.edu">
2051+
<img src="libs-local/rfun_logo.png" alt="Logo"/>
2052+
</a>
20502053
<a href="index.html" class="title">RStudio &amp; Version Control</a>
20512054
<a href="resources.html">Resources</a>
20522055
</div>
20532056
<div class="nav-right">
20542057
<a href="https://github.com/data-and-visualization/git-tutorial/">
20552058
<i class="fa fa-github" aria-hidden="true"></i>
20562059
</a>
2057-
<div class="nav-dropdown">
2058-
<button class="nav-dropbtn">
2059-
Home
2060-
2061-
<span class="down-arrow">&#x25BE;</span>
2062-
</button>
2063-
<div class="nav-dropdown-content">
2064-
<a href="https://rfun.library.duke.edu/">Rfun Home</a>
2065-
<a href="https://library.duke.edu/data/">CDVS Home</a>
2066-
</div>
2067-
</div>
20682060
<a href="javascript:void(0);" class="nav-toggle">&#9776;</a>
20692061
</div>
20702062
</nav>
@@ -2083,7 +2075,7 @@ <h1>Git, GitHub &amp; RStudio</h1>
20832075

20842076
<div class="d-article">
20852077
<p>Using RStudio to manage version control got a lot easier with the version 2.x release of the <a href="https://usethis.r-lib.org/"><code>usethis</code></a> package. Therefore, this site now consists of links and tips.</p>
2086-
<p>After <code>usethis</code> setup, 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">ORCHID</a> (unique author ID) to the <a href="https://zenodo.org/">Zenodo</a> archival repository. This way, every time you commit a milestone release, you can mint a new DOI. Then, put your repository into a binder.org container with the <code>holepunch</code> package.</p>
2078+
<p>After <code>usethis</code> setup, 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) to the <a href="https://zenodo.org/">Zenodo</a> archival repository. This way, every time you commit a milestone release, you can mint a new DOI. Then, put your repository into a binder.org container with the <code>holepunch</code> package.</p>
20872079
<h3 id="setup">Setup</h3>
20882080
<p>To get started, get a free GitHub.com account. Make sure you have the latest versions of R, RStudio, (Rtools if you’re Windows), and usethis. Then, you need to setup your RStudio configuration. Two key documents will help: <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>
20892081
<h3 id="tips">Tips</h3>

docs/libs-local/rfun_logo.png

10 KB
Loading

docs/resources.html

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,24 +2044,16 @@ <h3>${suggestion.title}</h3>
20442044
<header class="header header--fixed" role="banner">
20452045
<nav class="distill-site-nav distill-site-header">
20462046
<div class="nav-left">
2047+
<a class="logo" href="https://rfun.library.duke.edu">
2048+
<img src="libs-local/rfun_logo.png" alt="Logo"/>
2049+
</a>
20472050
<a href="index.html" class="title">RStudio &amp; Version Control</a>
20482051
<a href="resources.html">Resources</a>
20492052
</div>
20502053
<div class="nav-right">
20512054
<a href="https://github.com/data-and-visualization/git-tutorial/">
20522055
<i class="fa fa-github" aria-hidden="true"></i>
20532056
</a>
2054-
<div class="nav-dropdown">
2055-
<button class="nav-dropbtn">
2056-
Home
2057-
2058-
<span class="down-arrow">&#x25BE;</span>
2059-
</button>
2060-
<div class="nav-dropdown-content">
2061-
<a href="https://rfun.library.duke.edu/">Rfun Home</a>
2062-
<a href="https://library.duke.edu/data/">CDVS Home</a>
2063-
</div>
2064-
</div>
20652057
<a href="javascript:void(0);" class="nav-toggle">&#9776;</a>
20662058
</div>
20672059
</nav>

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\nUsing RStudio to manage version control got a lot easier with the version 2.x release of the usethis package. Therefore, this site now consists of links and tips.\r\nAfter usethis setup, take your reproducibility to the next level. Make your code citable by connecting your GitHub repo and your ORCHID (unique author ID) to the Zenodo archival repository. This way, every time you commit a milestone release, you can mint a new DOI. Then, put your repository into a binder.org container with the holepunch package.\r\nSetup\r\nTo get started, get a free GitHub.com account. Make sure you have the latest versions of R, RStudio, (Rtools if you’re Windows), and usethis. Then, you need to setup your RStudio configuration. Two key documents will help: Setup, and Managing Git(Hub) Credentials\r\nTips\r\nClone or fork from GitHub\r\nusethis::create_from_github(\"https://github.com/data-and-visualization/git-tutorial\")\r\nCreate the GitHub repo from local\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\nset-up git and manage GitHub credentials\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\nPublish your code in a binder.org container\r\nUse the holepunch package\r\nlibrary(holepunch)\r\n\r\nwrite_compendium_description()\r\nwrite_dockerfile()\r\ngenerate_badge()\r\nbuild_binder()\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-17T17:01:43-05:00"
8+
"contents": "\r\nUsing RStudio to manage version control got a lot easier with the version 2.x release of the usethis package. Therefore, this site now consists of links and tips.\r\nAfter usethis setup, take your reproducibility to the next level. Make your code citable by connecting your GitHub repo and your ORCID (unique author ID) to the Zenodo archival repository. This way, every time you commit a milestone release, you can mint a new DOI. Then, put your repository into a binder.org container with the holepunch package.\r\nSetup\r\nTo get started, get a free GitHub.com account. Make sure you have the latest versions of R, RStudio, (Rtools if you’re Windows), and usethis. Then, you need to setup your RStudio configuration. Two key documents will help: Setup, and Managing Git(Hub) Credentials\r\nTips\r\nClone or fork from GitHub\r\nusethis::create_from_github(\"https://github.com/data-and-visualization/git-tutorial\")\r\nCreate the GitHub repo from local\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\nset-up git and manage GitHub credentials\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\nPublish your code in a binder.org container\r\nUse the holepunch package\r\nlibrary(holepunch)\r\n\r\nwrite_compendium_description()\r\nwrite_dockerfile()\r\ngenerate_badge()\r\nbuild_binder()\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-17T18:10:27-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\nUsethis Package\r\nhttps://usethis.r-lib.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-17T17:01:44-05:00"
16+
"last_modified": "2020-12-17T18:10:27-05:00"
1717
}
1818
],
1919
"collections": []

index.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ knitr::opts_chunk$set(echo = FALSE)
1414

1515
Using RStudio to manage version control got a lot easier with the version 2.x release of the [`usethis`](https://usethis.r-lib.org/) package. Therefore, this site now consists of links and tips.
1616

17-
After `usethis` setup, 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 [ORCHID](https://orcid.org/register) (unique author ID) to the [Zenodo](https://zenodo.org/) archival repository. This way, every time you commit a milestone release, you can mint a new DOI. Then, put your repository into a binder.org container with the `holepunch` package.
17+
After `usethis` setup, 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) to the [Zenodo](https://zenodo.org/) archival repository. This way, every time you commit a milestone release, you can mint a new DOI. Then, put your repository into a binder.org container with the `holepunch` package.
1818

1919
### Setup
2020

libs-local/rfun_logo.png

10 KB
Loading

0 commit comments

Comments
 (0)