One convenient way to share research details is through a public website that includes all the information needed to reproduce the project. You will do this for your final project.
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/AdamWilsonLabEDU/geo511_project and the template website at https://adamwilsonlabedu.github.io/geo511_project/
library(rmarkdown)
library(knitr)
Steps:
Now you will make a local copy on your computer by creating a new project and ‘cloning’ the repository you just forked.
https://adamwilsonlabedu.github.io/geo511_project/
but with
your username.~/Documents
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.https://adamwilsonlabedu.github.io/geo511_project/
Pages
sectiongh-pages / (root) folder
and click
Savecommit
and then push
your
updates from RStudio and your website will be updated. If you get tired
of entering your username and password every time, check out the
instructions here.The template is set up to compile remotely using GitHub actions. This will make sure that your code is reproducible.
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.