Stencila for R
This package isn't on CRAN yet, but you can install it from this repository using the
You may need to install the
graph package from Bioconductor if you don't already have it:
Then install the package so that other Stencila packages and applications can detect it:
Note This package is not yet compatible with Stencila Desktop 0.28.0. We are working on upgrades to make that possible.
Note Installing Stencila package for R may take a while as there are a number of dependencies which need to be installed.
This package lets you run R code from inside Stencila Documents. When you start the Stencila Desktop it will be automatically detect the installed R package and you'll be able to execute R code cells from within your documents.
Check out what people are doing with Stencila and R - Giulio Valentino Dalla Riva has created Tiny Open Access Data Samples (TOADS). These awesome open datasets teach programming and statistics using Stencila. Check out the TOADS!
More documentation is available at https://stencila.github.io/r
Most development tasks can be run from R, using
make shortcuts or RStudio keyboard shortcuts.
|Install development dependencies||
|Run tests with coverage||
|Check the package||
To run test files individually, in R use
Unit tests live in the
tests folder and are mostly written using
testthat. Documentation is written using
roxygen2 and the documentation site is generated by
pkgdown into the
docs folder and published on Github pages.