As with all github projects there always seems to be someone else who has managed to explain and write a blog about what you need, just when you need it… I wish :)
This is an collection of resources I have used to make this happen. I think this is a massive leap for reproducible workflow and in particular, science commumication but I will build on this thoughout the website.
Tutorials and Blogs
I found this blog explaining how Jacob Fiksel steps through the process very helpful.
My notes
These are my take home points and things I found hard.
-
Need all the basics to begin with (GIThub, Jekyll, R, RStudio).
-
Key run code
??bundle gem install jekyll??
bundle exec jekyll build
bundle exec jekyll serve --watch
- View/run in RStudio
> servr::jekyll()
Serving the directory C:\GIT\davan690.github.io at http://127.0.0.1:5652
- Stop server
servr::daemon_stop(3)
ERRORs
1. missing jekyll
Warning message:
In system2("jekyll", "build"):
'"jekyll"' not found NULL
I found I needed to install ruby gems for jekyll using the following code snippits:
??bundle gem install jekyll??