Skip to main content

Utilities for grading R Markdown notebook assignments

Project description

RNBGrader - utilities for grading R Markdown notebooks

Utilities for grading notebooks in R Markdown

Notebooks can be R notebooks or Jupyter notebooks converted to R Markdown with Jupytext

Quickstart

See the tests for examples.

Installation

pip install rnbgrader

Code

See https://github.com/matthew-brett/rnbgrader

Released under the BSD two-clause license - see the file LICENSE in the source distribution.

travis-ci kindly tests the code automatically under Python versions 3.6 through 3.8.

The latest released version is at https://pypi.python.org/pypi/rnbgrader

Tests

R requirements

You need the R kernel installed for the tests.

On Mac:

brew install libgit2 harfbuzz fribidi

On Debian / Ubuntu:

sudo apt install -y libgit2-dev libharfbuzz-dev libfribidi-dev

On any platform:

Rscript -e "install.packages(c('repr', 'IRdisplay', 'crayon', 'pbdZMQ', 'devtools'))"
Rscript -e "devtools::install_github('IRkernel/IRkernel')"
Rscript -e "IRkernel::installspec()"

The rest

  • Install rnbgrader

  • Install the test requirements:

    pip install -r test-requirements
    
  • Run the tests with:

    pytest rnbgrader
    

Support

Please put up issues on the rnbgrader issue tracker.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rnbgrader-0.3.3.tar.gz (54.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page