commit all changes files and push, only these files should be visible:
new file: .Rprofile
modified: .gitignore
new file: packrat/init.R
new file: packrat/packrat.lock
new file: packrat/packrat.opts
rmarkdown
package.site
and enter itsite/index.Rmd
Knit
button at the top of the file to test.Add site/_site.yml with
name: "Cool R stuff"
output_dir: "html"
navbar:
title: "Cool R stuff"
left:
- text: "Index"
href: index.html
- text: "Install"
href: install.html
output:
html_document:
theme: cosmo
exclude: ["public"]
add /site/html
to .gitignore file so the generated html is not added to git.