To submit any changes to the rOpenSci website, please fork a copy and send a pull request. At this time we will accept the following updates/changes.
If we've asked for an invited blog post, write your post as .md
or if it contains R examples as .Rmd
and render the file to the _posts
folder.
Then add appropriate yml
to your post, including authorurl
if you are not a core member of the rOpenSci team.
Your yml
should include the following information (the date format can be
generated in r format(Sys.time(), "%Y-%m-%d")
):
---
name: short-title
layout: post_discourse
title: Full title of your blog post
date: 2014-08-15
authors:
- name: Your Name
url: url of your website
tags:
- R
- other tags (one per line)
---
To submit a new tutorial that doesn't already exist on our tutorials page, use one of two methods:
- Content: Vignette from the package (if there is one), or content from the package README, etc., in
.Rmd
format with code blocks wrapped in ```{r}...``` - Copy and paste an extant tutorial with
.Rmd
file extension from thetutorials/
folder into a new file named<package name>_tutorial.Rmd
. - Delete everything except for the yaml header, and the tags
<section id="installation">
,<section id="usage">
and the footer starting with<section id="citing">
. - Alter yaml header to fit the package and version, e.g.
---
title: rfishbase tutorial
layout: tutorial
packge_version: 0.1.0
---
- Alter footer section as needed for the package.
- knit the
.Rmd
usingknitr::knit("<package name>_tutorial.Rmd")
to make a.md
file. - You can look at the rendered page if you have
jekyll
installed by doingjekyll serve
, orjekyll serve --watch
to auto compile any changes.
We only accept tutorials for packages in the rOpenSci suite of packages. In the future we hope to have an at least somewhat automated process...But for now, we move files manually.
If we have already approved you as a community member, please send us a picture that is at least 250
pixels on each side (or one that can be cropped to that size) by adding the file to:
assets/common-files/img/community/firstname_lastname.png
Include a two sentence blurb in your PR. We'll do the rest to add the appropriate html to the community page.
For minor typos or grammatical errors, we would be grateful if you just sent us a pull request with a fix rather than opening up a new issue.
If you have any other issues not covered by this document, please file an issue.