MyNixOS website logo
Description
Landscape Connectivity, Habitat, and Protected Area Networks
Given a landscape resistance surface, creates minimum planar graph (Fall et al. (2007) <doi:10.1007/s10021-007-9038-7>) and grains of connectivity (Galpern et al. (2012) <doi:10.1111/j.1365-294X.2012.05677.x>) models that can be used to calculate effective distances for landscape connectivity at multiple scales. Documentation is provided by several vignettes, and a paper (Chubaty, Galpern & Doctolero (2020) <doi:10.1111/2041-210X.13350>).

grainscape

R-CMD-check CRAN_Status_Badge DOI Codecov test coverage

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).

To cite grainscape in publications, see citation("grainscape").

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:

    #install.packages("remotes")
    library("remotes")
    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 main 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 GitHub Actions when the PR is submitted.

Metadata

Version

0.4.4

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows