{"id":13724567,"url":"https://github.com/achubaty/grainscape","last_synced_at":"2025-10-08T16:00:01.284Z","repository":{"id":71537355,"uuid":"62731055","full_name":"achubaty/grainscape","owner":"achubaty","description":"Efficient Modelling of Landscape Connectivity, Habitat, and Protected Area Networks","archived":false,"fork":false,"pushed_at":"2025-01-22T04:26:13.000Z","size":113672,"stargazers_count":20,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-18T04:40:14.745Z","etag":null,"topics":["habitat-connectivity","landscape-connectivity","r","r-package","spatial-graphs"],"latest_commit_sha":null,"homepage":"https://alexchubaty.com/grainscape","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/achubaty.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-07-06T15:15:03.000Z","updated_at":"2025-03-26T13:51:42.000Z","dependencies_parsed_at":"2023-09-21T19:29:41.617Z","dependency_job_id":"926cacc0-c2e3-4c63-8b42-c68b25ac43c7","html_url":"https://github.com/achubaty/grainscape","commit_stats":{"total_commits":458,"total_committers":9,"mean_commits":"50.888888888888886","dds":0.2860262008733624,"last_synced_commit":"883e4d0578711277f221292dd62e5bcd6f5b9c8e"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/achubaty/grainscape","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/achubaty%2Fgrainscape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/achubaty%2Fgrainscape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/achubaty%2Fgrainscape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/achubaty%2Fgrainscape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/achubaty","download_url":"https://codeload.github.com/achubaty/grainscape/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/achubaty%2Fgrainscape/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271598509,"owners_count":24787678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["habitat-connectivity","landscape-connectivity","r","r-package","spatial-graphs"],"created_at":"2024-08-03T01:01:59.506Z","updated_at":"2025-10-08T16:00:01.251Z","avatar_url":"https://github.com/achubaty.png","language":"TeX","funding_links":[],"categories":["Biosphere"],"sub_categories":["Conservation and Restoration"],"readme":"# grainscape\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/achubaty/grainscape/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/achubaty/grainscape/actions/workflows/R-CMD-check.yaml)\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/grainscape)](https://cran.r-project.org/package=grainscape)\n[![DOI](https://zenodo.org/badge/62731055.svg)](https://zenodo.org/badge/latestdoi/62731055)\n[![Codecov test coverage](https://codecov.io/gh/achubaty/grainscape/branch/main/graph/badge.svg)](https://app.codecov.io/gh/achubaty/grainscape?branch=main)\n\u003c!-- badges: end --\u003e\n\n\u003cimg align=\"right\" width=\"80\" pad=\"20\" src=\"https://github.com/achubaty/grainscape/raw/main/stickers/hexsticker.png\"\u003e\n\n## Efficient Modelling of Landscape Connectivity, Habitat, and Protected Area Networks\n\nGiven 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.\nThis is a cross-platform reimplementation and update of the `grainscape` package (http://grainscape.r-forge.r-project.org).\n\nTo cite `grainscape` in publications, see `citation(\"grainscape\")`.\n\n### Installation\n\n#### From CRAN\n\n```r\ninstall.packages(\"grainscape\")\n```\n\n#### From GitHub\n\n1. **Install development libraries:** building packages from source requires the appropriate development libraries for your operating system.\n  See [here](https://support.posit.co/hc/en-us/articles/200486498-Package-Development-Prerequisites) for more details.\n    \n    - *Windows:* install [Rtools](https://cran.r-project.org/bin/windows/Rtools/).\n    - *macOS:* install Xcode commandline tools from the terminal: `xcode-select --install`. \n    - *Debian/Ubuntu Linux:* ensure `r-base-dev` is installed.\n\n2. **Install from GitHub:**\n    \n    ```r\n    # install.packages(\"remotes\")\n    library(\"remotes\")\n    install_github(\"achubaty/grainscape\")\n    ```\n\n### Reporting bugs\n\nContact us via the package GitHub site: [https://github.com/achubaty/grainscape/issues](https://github.com/achubaty/grainscape/issues).\n\n### Contributions\n\nThis Git repository uses the [Git Flow](https://nvie.com/posts/a-successful-git-branching-model/) branching model (the [`git flow`](https://github.com/petervanderdoes/gitflow-avh) extension is useful for this).\nThe [`development`](https://github.com/achubaty/grainscape/tree/development) branch contains the latest contributions and other code that will appear in the next release, and the [`main`](https://github.com/achubaty/grainscape) branch contains the code of the latest release, which is exactly what is currently on [CRAN](https://cran.r-project.org/package=grainscape).\n\nTo make a contribution to the package, just send a [pull request](https://help.github.com/articles/using-pull-requests/). \nWhen you send your PR, make sure `development` is the destination branch on the [grainscape repository](https://github.com/achubaty/grainscape).\nYour PR should pass `R CMD check --as-cran`, which will also be checked by [GitHub Actions](https://github.com/achubaty/grainscape/actions) when the PR is submitted.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fachubaty%2Fgrainscape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fachubaty%2Fgrainscape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fachubaty%2Fgrainscape/lists"}