The goal of roblog is to provide helpers for authors of blog posts and tech notes on rOpenSci blog.

Installation

install.packages("roblog", repos = "https://dev.ropensci.org")

Current functionality

(R) Markdown templates

If you want to execute code, use the R Markdown template. If not, use a Markdown template.

The helpers will create an untitled file with the template. Do not forget to save it.

R Markdown template

Either

Markdown template

Either

How to prepare your pull request

You’ll need to fork https://github.com/ropensci/roweb2 and create a branch. You can either use your usual workflow for that, or use usethis helpers, see below.

  • Create the fork and check it out locally:
usethis::create_from_github("ropensci/roweb2")
  • Create a branch
usethis::pr_init(branch = "mypost")
  • Work locally (adding your post)

  • Open the PR

  • Get feedback and use it

    • Get changes from GitHub to local (e.g. Stef made a suggestion in the PR review and you accepted it)
    • Get local changes to GitHub (e.g. you updated a paragraph and improved a figure from your laptop)