The goal of pkgreviewr is to facilitate rOpenSci reviewers in their package reviews.

It creates a review project containing populated templates of all the files you’ll need to complete your review. It also clones the source code of the package under review to a convenient location, allowing easy checking and testing.

See Getting started vignette for more details

Installation

You can install pkgreviewr from GitHub with:


git configuration

Because rOpenSci reviews are conducted through github repository ropensci/software-review, pkgreviewr uses your GitHub user.name and user.email when creating new review projects. If you do not have both settings in your global configuration, you will receive an error.

usethis

You see if user name and email are currently configured with usethis function use_git_config()

You can set both using:

terminal

Alternatively, from within your terminal,

check you current git configuration with:

git config --global --list

and set it with

git config --global user.name "Jane"
git config --global user.email "jane@example.org"


R Notebooks

The package also makes use of R Notebooks (an RMarkdown format) and requires installation of Rstudio version 1.0 or higher


Review workflow


1. Create and initialise review project

The review project directory will contain all the files you’ll need to complete the review and will be initialised with git.

rdflib-review
├── README.md
├── index.Rmd
├── pkgreview.md
└── rdflib-review.Rproj


2. Perform review

Open index.Rmd and work through the review in the notebook. You can make notes either in index.Rmd or directly in the pkgreview.md response template.


3. Submit review

Submit your review in the package ropensci/software-review issue by copying and pasting the completed pkgreview.md template.


4. Publish review*

OPTIONAL: Publish your review on GitHub. See vignette for further instructions



pkgreviewr for editors

pkgreviewr can now also be used to set up projects for editor checks. See pkgreviewr for editors vignette.


Please note that ‘pkgreviewr’ is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.