R Script |
Commented R Script |
Rmd Script |
---|
Today we will make a copy of a template for your final project, edit it, and ‘push’ it back up to your github account. You can check out the template code at https://github.com/AdamWilsonLab/RDataScience_Project and the template website at http://adamwilson.us/RDataScience_Project/
Fork
the repository to create a linked copy in your GitHub account.Steps:
fork
near the upper right corner. This will create a copy in your GitHub Account. See here for more detailshttps://github.com/AdamWilsonLab/RDataScience_Project.git
but with your username.RDataScience_Project
~/Documents/repos
or wherever you want to put it.index.Rmd
file.Build
tab in the upper right corner of RStudio, then click Build Website
_site.yml
. These adjust the appearance, title, etc._navbar.yml
. These settings define the menus, etc. If you only have one page you probably won’t need to adjust this information.Git
tab in the upper right and notice how it keeps track of any changes.commit
.Commit
, then close
.Push
to push it back up to GitHub.GitHub Pages
section
master branch /docs folder
commit
and then push
your updates and your website will be updated. If you get tired of entering your username and password every time, check out the instructions here.kable()
function for tables (e.g. kable(head(d))
)Abandoning the habit of secrecy in favor of process transparency and peer review was the crucial step by which alchemy became chemistry.Raymond, E. S., 2004, The art of UNIX programming: Addison-Wesley.