Sha256: ebd2f76c786ed88b2cfe95b7a04ae719039d4e25a43cc50bd4d1f3c5d1908ed3

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

# Contributing guide

## Installing daru development dependencies

Either nmatrix or rb-gsl are NOT NECESSARY for using daru. They are just required for an optional speed up and for running the test suite.

To install dependencies, execute the following commands:

  `sudo apt-get update -qq`
  `sudo apt-get install -y libgsl0-dev r-base r-base-dev`
  `sudo Rscript -e "install.packages(c('Rserve','irr'),,'http://cran.us.r-project.org')"`


Then install remaining dependencies:

  `bundle install`

And run the test suite (should be all green with pending tests):

  `bundle exec rspec`

If you have problems installing nmatrix, please consult the [nmatrix installation wiki](https://github.com/SciRuby/nmatrix/wiki/Installation) or the [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev).

While preparing your pull requests, don't forget to check your code with Rubocop:

  `bundle exec rubocop`

## Daru internals

To get an overview of certain internals of daru and their implementation, go over [this blog post](http://v0dro.github.io/blog/2015/08/16/elaboration-on-certain-internals-of-daru/).

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
daru-0.1.4.1 CONTRIBUTING.md
daru-0.1.4 CONTRIBUTING.md
daru-0.1.3.1 CONTRIBUTING.md
daru-0.1.3 CONTRIBUTING.md