README.md

grainscape

CRAN_Status_Badge Build Status Appveyor Build status Coverage Status

Efficient Modelling of Landscape Connectivity, Habitat, and Protected Area Networks

Given a landscape resistance surface, creates grains of connectivity and minimum planar graph models that can be used to calculate effective distances for landscape connectivity at multiple scales. This is a cross-platform reimplementation and update of the grainscape package (http://grainscape.r-forge.r-project.org).

Installation

From CRAN

install.packages("grainscape")

From GitHub

  1. Install development libraries: building packages from source requires the appropriate development libraries for your operating system. See here for more details.

    • Windows: install Rtools.
    • macOS: install Xcode commandline tools from the terminal: xcode-select install.
    • Debian/Ubuntu Linux: ensure r-base-dev is installed.
  2. Install from GitHub:

    ```r

    install.packages("devtools")

    library("devtools") install_github("achubaty/grainscape") ```

Reporting bugs

Contact us via the package GitHub site: https://github.com/achubaty/grainscape/issues.

Contributions

This Git repository uses the Git Flow branching model (the git flow extension is useful for this). The development branch contains the latest contributions and other code that will appear in the next release, and the master branch contains the code of the latest release, which is exactly what is currently on CRAN.

To make a contribution to the package, just send a pull request. When you send your PR, make sure development is the destination branch on the grainscape repository. Your PR should pass R CMD check --as-cran, which will also be checked by Travis CI and AppVeyor CI when the PR is submitted.



Try the grainscape package in your browser

Any scripts or data that you put into this service are public.

grainscape documentation built on Dec. 7, 2019, 1:06 a.m.