grainscape

Efficient Modelling of Landscape Connectivity, Habitat, and Protected Area Networks.
https://github.com/achubaty/grainscape

Category: Biosphere
Sub Category: Conservation and Restoration

Keywords

habitat-connectivity landscape-connectivity r r-package spatial-graphs

Keywords from Contributors

landscape-ecology

Last synced: about 2 hours ago
JSON representation

Repository metadata

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

README.md

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.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 515
Total Committers: 8
Avg Commits per committer: 64.375
Development Distribution Score (DDS): 0.155

Commits in past year: 53
Committers in past year: 1
Avg Commits per committer in past year: 53.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Alex Chubaty a****y@g****m 435
pgalpern p****n 28
Sam Doctolero s****l@u****a 27
ecologics p****n@u****a 18
DESKTOP-L2RVLNC\Sam s****o@g****m 4
jsta s****2@m****u 1
cxfauvelle c****e@g****m 1
stefan7th s****h@e****b 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 74
Total pull requests: 1
Average time to close issues: 9 months
Average time to close pull requests: about 1 hour
Total issue authors: 7
Total pull request authors: 1
Average comments per issue: 2.91
Average comments per pull request: 3.0
Merged pull request: 1
Bot issues: 0
Bot pull requests: 0

Past year issues: 6
Past year pull requests: 0
Past year average time to close issues: about 2 months
Past year average time to close pull requests: N/A
Past year issue authors: 3
Past year pull request authors: 0
Past year average comments per issue: 2.83
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/achubaty/grainscape

Top Issue Authors

  • achubaty (40)
  • ecologics (26)
  • Klemet (3)
  • rsbivand (2)
  • Johnny987654321 (1)
  • krlmlr (1)
  • ChrisBeirne (1)

Top Pull Request Authors

  • jsta (1)

Top Issue Labels

  • resolved in branch (9)
  • bug (6)
  • enhancement (6)
  • vignettes (5)
  • documentation (4)
  • in progress (3)
  • wontfix (2)
  • invalid (2)
  • help wanted (1)

Top Pull Request Labels


Package metadata

cran.r-project.org: grainscape

Landscape Connectivity, Habitat, and Protected Area Networks

  • Homepage: https://www.alexchubaty.com/grainscape/
  • Documentation: http://cran.r-project.org/web/packages/grainscape/grainscape.pdf
  • Licenses: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
  • Latest release: 0.5.0 (published 4 months ago)
  • Last Synced: 2025-05-15T23:32:51.758Z (2 days ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 236 Last month
  • Rankings:
    • Stargazers count: 14.169%
    • Forks count: 21.888%
    • Dependent packages count: 29.797%
    • Average: 31.257%
    • Dependent repos count: 35.455%
    • Downloads: 54.978%
  • Maintainers (1)

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc master composite
  • r-lib/actions/setup-r master composite
  • r-lib/actions/setup-tinytex v1 composite
.github/workflows/test-coverage.yaml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc master composite
  • r-lib/actions/setup-r master composite
DESCRIPTION cran
  • Rcpp >= 0.12.11.4 imports
  • ggplot2 * imports
  • grDevices * imports
  • graphics * imports
  • igraph * imports
  • methods * imports
  • raster * imports
  • rgdal * imports
  • sp * imports
  • utils * imports
  • covr * suggests
  • cowplot * suggests
  • ggthemes * suggests
  • knitr * suggests
  • parallel * suggests
  • rgeos * suggests
  • rmarkdown * suggests
  • spelling * suggests
  • testthat * suggests
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite

Score: 10.725555513162913