{"id":11982,"name":"spatialwarnings","description":"An R package to compute spatial early-warning signals of ecosystem degradation.","url":"https://github.com/spatial-ews/spatialwarnings","last_synced_at":"2026-04-28T09:01:09.919Z","repository":{"id":33969273,"uuid":"37706570","full_name":"spatial-ews/spatialwarnings","owner":"spatial-ews","description":"An R package to compute spatial early-warning signals of ecosystem degradation","archived":false,"fork":false,"pushed_at":"2026-01-21T19:26:32.000Z","size":21253,"stargazers_count":16,"open_issues_count":9,"forks_count":6,"subscribers_count":10,"default_branch":"master","last_synced_at":"2026-04-05T22:06:36.946Z","etag":null,"topics":["catastrophic","critical","ecology","indicators","points","r","shifts","space","transitions"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spatial-ews.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-06-19T06:50:52.000Z","updated_at":"2026-01-21T19:26:37.000Z","dependencies_parsed_at":"2023-12-14T13:37:41.862Z","dependency_job_id":"766eaaea-e35f-47c3-a0bb-ae86ff871dda","html_url":"https://github.com/spatial-ews/spatialwarnings","commit_stats":{"total_commits":813,"total_committers":13,"mean_commits":62.53846153846154,"dds":0.1955719557195572,"last_synced_commit":"f3696588fd783357f060671a5d30864a79b1ea84"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/spatial-ews/spatialwarnings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatial-ews","download_url":"https://codeload.github.com/spatial-ews/spatialwarnings/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31869050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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"}},"owner":{"login":"spatial-ews","name":"spatial-ews","uuid":"25773075","kind":"organization","description":null,"email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/25773075?v=4","repositories_count":1,"last_synced_at":"2023-03-02T12:35:23.886Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/spatial-ews","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-13T04:47:00.661Z","updated_at":"2023-03-02T12:35:23.888Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatial-ews","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatial-ews/repositories"},"packages":[{"id":416651,"name":"spatialwarnings","ecosystem":"cran","description":"Spatial Early Warning Signals of Ecosystem Degradation","homepage":"https://github.com/spatial-ews/spatialwarnings","licenses":"MIT + file LICENSE","normalized_licenses":["MIT"],"repository_url":"https://github.com/spatial-ews/spatialwarnings","keywords_array":[],"namespace":null,"versions_count":10,"first_release_published_at":"2017-11-03T19:29:00.000Z","latest_release_published_at":"2025-08-18T00:00:00.000Z","latest_release_number":"3.1.1","last_synced_at":"2026-04-01T04:01:52.234Z","created_at":"2022-04-06T17:57:31.781Z","updated_at":"2026-04-01T04:01:52.235Z","registry_url":"https://cran.r-project.org/package=spatialwarnings","install_command":null,"documentation_url":"http://cran.r-project.org/web/packages/spatialwarnings/spatialwarnings.pdf","metadata":{},"repo_metadata":{"id":33969273,"uuid":"37706570","full_name":"spatial-ews/spatialwarnings","owner":"spatial-ews","description":"An R package to compute spatial early-warning signals of ecosystem degradation","archived":false,"fork":false,"pushed_at":"2024-01-14T16:03:33.000Z","size":20908,"stargazers_count":14,"open_issues_count":9,"forks_count":4,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-06-12T05:06:35.177Z","etag":null,"topics":["catastrophic","critical","ecology","indicators","points","r","shifts","space","transitions"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spatial-ews.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-06-19T06:50:52.000Z","updated_at":"2024-06-09T21:16:42.000Z","dependencies_parsed_at":"2023-12-14T13:37:41.862Z","dependency_job_id":"954efb0c-f8db-4fe6-a7c5-9f968ab4e505","html_url":"https://github.com/spatial-ews/spatialwarnings","commit_stats":{"total_commits":806,"total_committers":13,"mean_commits":62.0,"dds":"0.19727047146401988","last_synced_commit":"ea055d0688c888e323def11fbddf4cb001b8bf13"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatial-ews","download_url":"https://codeload.github.com/spatial-ews/spatialwarnings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":206802022,"owners_count":14626409,"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","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"},"owner_record":{"login":"spatial-ews","name":"spatial-ews","uuid":"25773075","kind":"organization","description":null,"email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/25773075?v=4","repositories_count":1,"last_synced_at":"2023-03-02T12:35:23.886Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/spatial-ews","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-13T04:47:00.661Z","updated_at":"2023-03-02T12:35:23.888Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatial-ews","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatial-ews/repositories"},"tags":[{"name":"v2.0.0","sha":"4b33211ee62b76a0cbb028f1ed1fb5287d3d3a18","kind":"commit","published_at":"2020-05-19T12:02:12.000Z","download_url":"https://codeload.github.com/spatial-ews/spatialwarnings/tar.gz/v2.0.0","html_url":"https://github.com/spatial-ews/spatialwarnings/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v2.0.0/manifests"},{"name":"v1.2.0-rc1","sha":"9f473ffef75171b7aee6038ed5e15f68f4413c54","kind":"commit","published_at":"2018-06-17T18:28:50.000Z","download_url":"https://codeload.github.com/spatial-ews/spatialwarnings/tar.gz/v1.2.0-rc1","html_url":"https://github.com/spatial-ews/spatialwarnings/releases/tag/v1.2.0-rc1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v1.2.0-rc1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v1.2.0-rc1/manifests"},{"name":"v1.1.0-rc2","sha":"c51ea944381929c16714a4f30d77d6625f22e1d3","kind":"commit","published_at":"2018-06-03T15:54:09.000Z","download_url":"https://codeload.github.com/spatial-ews/spatialwarnings/tar.gz/v1.1.0-rc2","html_url":"https://github.com/spatial-ews/spatialwarnings/releases/tag/v1.1.0-rc2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v1.1.0-rc2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v1.1.0-rc2/manifests"},{"name":"v1.1.0-rc1","sha":"c51ea944381929c16714a4f30d77d6625f22e1d3","kind":"commit","published_at":"2018-06-03T15:54:09.000Z","download_url":"https://codeload.github.com/spatial-ews/spatialwarnings/tar.gz/v1.1.0-rc1","html_url":"https://github.com/spatial-ews/spatialwarnings/releases/tag/v1.1.0-rc1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v1.1.0-rc1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v1.1.0-rc1/manifests"},{"name":"v1.1.0","sha":"ffe8aa4c6ca3979f229a45c9974168dd309b62c2","kind":"commit","published_at":"2018-05-31T10:03:05.000Z","download_url":"https://codeload.github.com/spatial-ews/spatialwarnings/tar.gz/v1.1.0","html_url":"https://github.com/spatial-ews/spatialwarnings/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"419d76b2a054d672b4e315e570aa964cfbb56eed","kind":"commit","published_at":"2017-10-30T16:27:52.000Z","download_url":"https://codeload.github.com/spatial-ews/spatialwarnings/tar.gz/v1.0.0","html_url":"https://github.com/spatial-ews/spatialwarnings/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/v1.0.0/manifests"},{"name":"spatialwarnings-pre-release","sha":"834355ac5beb6cc69c0cca7cbe6aa069bd3bb458","kind":"commit","published_at":"2017-10-09T12:36:29.000Z","download_url":"https://codeload.github.com/spatial-ews/spatialwarnings/tar.gz/spatialwarnings-pre-release","html_url":"https://github.com/spatial-ews/spatialwarnings/releases/tag/spatialwarnings-pre-release","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/spatialwarnings-pre-release","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/tags/spatialwarnings-pre-release/manifests"}]},"repo_metadata_updated_at":"2024-07-30T00:15:34.824Z","dependent_packages_count":1,"downloads":350,"downloads_period":"last-month","dependent_repos_count":3,"rankings":{"downloads":47.069985993764966,"dependent_repos_count":16.810559146589522,"dependent_packages_count":27.965297546428086,"stargazers_count":15.180951520354222,"forks_count":12.334523110287805,"docker_downloads_count":null,"average":23.87226346348492},"purl":"pkg:cran/spatialwarnings","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cran/spatialwarnings","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/cran/spatialwarnings","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cran/spatialwarnings/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-07-26T22:32:04.353Z","issues_count":101,"pull_requests_count":1,"avg_time_to_close_issue":16947277.902173914,"avg_time_to_close_pull_request":652770.0,"issues_closed_count":92,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":11,"avg_comments_per_issue":2.2277227722772275,"avg_comments_per_pull_request":2.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/issues","maintainers":[{"login":"alexgenin","count":86,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/alexgenin"},{"login":"alaindanet","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/alaindanet"},{"login":"skefi","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/skefi"},{"login":"fdschneider","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/fdschneider"},{"login":"guttal","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/guttal"},{"login":"ssumithra","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ssumithra"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/spatialwarnings/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/spatialwarnings/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/spatialwarnings/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/spatialwarnings/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/spatialwarnings/codemeta","maintainers":[{"uuid":"alexandre.genin@sete.cnrs.fr","login":null,"name":"Alexandre Genin","email":"alexandre.genin@sete.cnrs.fr","url":null,"packages_count":1,"html_url":null,"role":null,"created_at":"2024-09-06T15:07:59.066Z","updated_at":"2024-09-06T15:07:59.066Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/maintainers/alexandre.genin@sete.cnrs.fr/packages"}],"registry":{"name":"cran.r-project.org","url":"https://cran.r-project.org","ecosystem":"cran","default":true,"packages_count":28010,"maintainers_count":15530,"namespaces_count":0,"keywords_count":0,"github":"r-project-org","metadata":{"icon_url":"https://cran.r-project.org/CRANlogo.png","funded_packages_count":546},"icon_url":"https://cran.r-project.org/CRANlogo.png","created_at":"2022-04-06T16:32:25.637Z","updated_at":"2026-04-03T06:40:33.945Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/namespaces"}}],"commits":{"id":720195,"full_name":"spatial-ews/spatialwarnings","default_branch":"master","total_commits":835,"total_committers":13,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":64.23076923076923,"dds":0.19161676646706582,"past_year_total_commits":22,"past_year_total_committers":2,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":11.0,"past_year_dds":0.045454545454545414,"last_synced_at":"2026-04-28T02:32:14.345Z","last_synced_commit":"9d2e98eddb7fdab7af0faa4ca93fbc9f0f7e62e2","created_at":"2023-03-09T13:02:01.496Z","updated_at":"2026-04-28T02:31:50.321Z","committers":[{"name":"Alexandre Génin","email":"alexandre.genin@univ-montp2.fr","login":null,"count":675},{"name":"Alexandre Génin","email":"alexandre.genin@ens-lyon.fr","login":null,"count":54},{"name":"ssumithra","email":"s.sumithra@gmail.com","login":"ssumithra","count":21},{"name":"Florian Schneider","email":"florian.schneider@univ-montp2.fr","login":null,"count":21},{"name":"SabihaMajumder","email":"sabiha.physics@gmail.com","login":"SabihaMajumder","count":20},{"name":"Alexandre Génin","email":"alex@lecairn.org","login":"alexgenin","count":19},{"name":"Alain D","email":"alain.danet@caramail.fr","login":"alaindanet","count":12},{"name":"Vishwesha Guttal","email":"vishwesha.guttal@gmail.com","login":"guttal","count":4},{"name":"alain.danet","email":"alain@Andy.home","login":null,"count":3},{"name":"vasilis dakos","email":"vasilis.dakos@gmail.com","login":"vdakos","count":2},{"name":"Josquin Guerber","email":"josquin.guerber@gmail.com","login":"jguerber","count":2},{"name":"Teun van den Brand","email":"tahvdbrand@gmail.com","login":"teunbrand","count":1},{"name":"guttal","email":"vishu@Vishweshas-MacBook-Air.local","login":null,"count":1}],"past_year_committers":[{"name":"Alexandre Génin","email":"alexandre.genin@univ-montp2.fr","login":null,"count":21},{"name":"Teun van den Brand","email":"tahvdbrand@gmail.com","login":"teunbrand","count":1}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-28T00:00:07.369Z","repositories_count":6220985,"commits_count":900004287,"contributors_count":34884649,"owners_count":1146660,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"spatial-ews/spatialwarnings","html_url":"https://github.com/spatial-ews/spatialwarnings","last_synced_at":"2026-04-07T23:01:50.503Z","status":"error","issues_count":99,"pull_requests_count":2,"avg_time_to_close_issue":17117015.5,"avg_time_to_close_pull_request":652770.0,"issues_closed_count":90,"pull_requests_closed_count":1,"pull_request_authors_count":2,"issue_authors_count":11,"avg_comments_per_issue":2.111111111111111,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-10T22:15:31.867Z","updated_at":"2026-04-07T23:01:50.503Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-ews%2Fspatialwarnings/issues","issue_labels_count":{"enhancement":20,"new_indicator":9,"not-technical":6,"bug":6,"documentation":5,"help wanted":4,"question":3,"indicator function":2,"discussion_needed":2,"package_use":1},"pull_request_labels_count":{},"issue_author_associations_count":{"COLLABORATOR":93,"NONE":6},"pull_request_author_associations_count":{"NONE":3},"issue_authors":{"alexgenin":85,"alaindanet":3,"skefi":2,"SophieSt":2,"guttal":1,"Ashishk6564":1,"chenzheng1996":1,"slarge":1,"knstr":1,"ssumithra":1,"fdschneider":1},"pull_request_authors":{"teunbrand":2,"jguerber":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-28T00:00:08.715Z","repositories_count":14439629,"issues_count":34391893,"pull_requests_count":112739441,"authors_count":11247586,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{"NONE":2},"past_year_issue_authors":{},"past_year_pull_request_authors":{"teunbrand":2},"maintainers":[{"login":"alexgenin","count":85,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/alexgenin"},{"login":"alaindanet","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/alaindanet"},{"login":"skefi","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/skefi"},{"login":"guttal","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/guttal"},{"login":"ssumithra","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ssumithra"},{"login":"fdschneider","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/fdschneider"}],"active_maintainers":[]},"events":{"total":{"PullRequestEvent":2,"ForkEvent":1,"WatchEvent":2,"IssueCommentEvent":2,"PushEvent":8,"PullRequestReviewEvent":1},"last_year":{"PullRequestEvent":2,"ForkEvent":1,"IssueCommentEvent":2,"PushEvent":8,"PullRequestReviewEvent":1}},"keywords":["catastrophic","critical","ecology","indicators","points","r","shifts","space","transitions"],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/R-CMD-check.yaml","sha":null,"kind":"manifest","created_at":"2023-12-09T20:35:53.497Z","updated_at":"2023-12-09T20:35:53.497Z","repository_link":"https://github.com/spatial-ews/spatialwarnings/blob/master/.github/workflows/R-CMD-check.yaml","dependencies":[{"id":14997137624,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":14997137625,"package_name":"r-lib/actions/setup-pandoc","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":14997137626,"package_name":"r-lib/actions/setup-r","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":14997137627,"package_name":"r-lib/actions/setup-r-dependencies","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":14997137628,"package_name":"r-lib/actions/check-r-package","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test-coverage.yaml","sha":null,"kind":"manifest","created_at":"2023-12-09T20:35:53.530Z","updated_at":"2023-12-09T20:35:53.530Z","repository_link":"https://github.com/spatial-ews/spatialwarnings/blob/master/.github/workflows/test-coverage.yaml","dependencies":[{"id":14997137631,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":14997137632,"package_name":"r-lib/actions/setup-r","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":14997137633,"package_name":"r-lib/actions/setup-r-dependencies","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2023-12-09T20:35:53.590Z","updated_at":"2023-12-09T20:35:53.590Z","repository_link":"https://github.com/spatial-ews/spatialwarnings/blob/master/DESCRIPTION","dependencies":[{"id":14997137867,"package_name":"R","ecosystem":"cran","requirements":"\u003e= 3.3.0","direct":true,"kind":"depends","optional":false},{"id":14997137868,"package_name":"future","ecosystem":"cran","requirements":"*","direct":true,"kind":"depends","optional":false},{"id":14997139144,"package_name":"Rcpp","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":14997139145,"package_name":"ggplot2","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":14997139146,"package_name":"plyr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":14997141493,"package_name":"stats","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":14997141494,"package_name":"utils","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":14997141495,"package_name":"future.apply","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":14997141657,"package_name":"gsl","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":14997142304,"package_name":"segmented","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":14997142305,"package_name":"moments","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":14997142660,"package_name":"poweRlaw","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":14997142661,"package_name":"reshape2","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":14997142662,"package_name":"testthat","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":14997142663,"package_name":"covr","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":14997142671,"package_name":"acss","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":14997142951,"package_name":"mgcv","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":14997144053,"package_name":"gstat","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":14997144460,"package_name":"sp","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":14997144461,"package_name":"raster","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false}]}],"score":11.655942971805153,"created_at":"2023-09-11T14:41:06.204Z","updated_at":"2026-04-28T09:01:09.922Z","avatar_url":"https://github.com/spatial-ews.png","language":"R","category":"Biosphere","sub_category":"Conservation and Restoration","monthly_downloads":350,"total_dependent_repos":3,"total_dependent_packages":1,"readme":"\n\u003c!-- badges: start --\u003e\n[![Coverage\nstatus](https://codecov.io/gh/spatial-ews/spatialwarnings/branch/master/graph/badge.svg)](https://codecov.io/github/spatial-ews/spatialwarnings?branch=master)\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/spatialwarnings)](https://cran.r-project.org/package=spatialwarnings)\n[![CRAN_downloads](https://cranlogs.r-pkg.org/badges/last-week/spatialwarnings)](https://cran.r-project.org/package=spatialwarnings)\n[![R-CMD-check](https://github.com/spatial-ews/spatialwarnings/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/spatial-ews/spatialwarnings/actions/workflows/R-CMD-check.yaml)\n\u003c!-- badges: end --\u003e\n\nSpatial early warning signs - R package\n=======================================\n\nThis package helps computing spatial early warning signals of critical\ntransitions, and metrics commonly-used in the related literature. This has been \ninitiated by a collaborative project between [Sonia Kefi's group](http://sonia.kefi.fr/) \n(Institut de Sciences d'Evolution, CNRS, IRD, Université Montpellier, France) and \n[Vishwesha Guttal's](https://teelabiisc.wordpress.com/) (Center for Ecological Sciences,\nIndian Institute of Science, Bangalore, India).\n\nThe R package provides several sets of functions related to the computation of\nearly warning signals of ecosystem tipping points and irreversible\ntransitions (also known as *catastrophic shifts*). In particular, it\nfacilitates computing those indicators, assess their significance and plot\ntheir trends.\n\nTo understand the context behind those indicators, and see how they\ncan be computed, the best way is to have a look at our paper about the package:\n\n[Génin, A. , Majumder, S. , Sankaran, S. , Danet, A. , Guttal, V. , Schneider, F. D. and Kéfi, S. (2018), Monitoring ecosystem degradation using spatial data and the R package\n'spatialwarnings'. Methods in Ecology and Evolution.](https://dx.doi.org/10.1111/2041-210X.13058)\n\nFor more advanced users and/or technical questions that may arise,\na FAQ is also available [there](https://alex.lecairn.org/spatialwarnings-faq.html).\n\n## Contributors\n\nAlain Danet, [Alexandre Génin (Maintainer)](mailto:alexandre.genin@sete.cnrs.fr),\nVishwesha Guttal, Sonia Kefi, Sabiha Majumder, Sumithra Sankaran, Florian Schneider\n\n`spatialwarnings` has also benefited from contributions from Angeles Garcia-Mayor, Vasilis Dakos and Koen Siteur\n\n## Installation\n\n`spatialwarnings` is available on CRAN and can be installed through:\n\n```r\ninstall.packages('spatialwarnings')\n```\n\nThe development version of this package can be installed using the\n`devtools` package in R:\n\n```\nif ( ! require(devtools) ) {\n  install.packages(\"devtools\")\n}\ndevtools::install_github(\"spatial-ews/spatialwarnings\")\n```\n\n## The spatial indicators\n\nEcological systems can suffer drastic transitions such as desertification or\neutrophication, sometimes even after a slight change in one or more external\nparameters, such as aridity or nutrient input. These qualitative changes in the\nbehavior of a system at a threshold represents a critical or bifurcation point,\nand can give rise to *catastrophic shifts* when associated with irreversibility.\nA growing body of litterature suggests that a dynamical system should exhibit\ncertain measurable properties around those critical points.\n\nThis package aims at providing a practical set of tools for the detection of\nthese upcoming critical points in spatial datasets, by using indicators based on\nthose properties. Some of those indicators fall within broad families around \nwhich the package is centered, such as \"generic\" spatial indicators or \nindicators based on patch-size distributions. Significance of patterns \ncan be assessed using permutation-based tests and results can be displayed \nusing familiar summary/plot methods. \n\nIn total, spatialwarnings provides the following spatial indicators published \nin the literature: \n  \n  - lag-1 autocorrelation (Moran's I, Dakos et al. 2010)\n  - Variance (Guttal et al. 2008)\n  - Skewness (Guttal et al. 2008)\n  - SDR Ratio (Kéfi et al. 2014)\n  - Patch-size distribution shape (Kéfi et al. 2011)\n  - Power-law range (Berdugo et al. 2017)\n  - Flowlength (Rodriguez et al. 2017)\n  - Kolmogorov complexity (Dakos et al. 2017)\n  - Variogram-based indicators (Nijp et al. 2019)\n  - Clustering of pairs (Schneider et al. 2016)\n\nIn addition, this package provides a straightforward way to implement and test \nnew indicators, so you can design your favorite spatial metric for your \necosystem of interest. \n\n## Code sample\n\nA simple analysis with `spatialwarnings` can fit in a few lines of code: \n\n```r\n\u003e library(ggplot2)\n\u003e library(spatialwarnings)\n\u003e\n\u003e # Compute indicators\n\u003e serengeti.ic \u003c- generic_sews(serengeti,\n\u003e                              subsize = 5,\n\u003e                              moranI_coarse_grain = TRUE)\n\u003e serengeti.test \u003c- indictest(serengeti.ic)\n\n```\n\n```r\n\u003e # Textual summary of trends\n\u003e summary(serengeti.test)\nGeneric Spatial Early-Warnings\n\n Mat. # Mean Moran's I P\u003cnull     Skewness P\u003cnull     Variance P\u003cnull\n      1 0.98      0.58 \u003c1e-03 ***    -6.94  0.999        0.011 \u003c1e-03 ***\n      2 0.98      0.62 \u003c1e-03 ***    -6.17  0.999        0.012 \u003c1e-03 ***\n      3 0.97      0.51 \u003c1e-03 ***    -5.59  0.999        0.015 \u003c1e-03 ***\n      4 0.96      0.68 \u003c1e-03 ***    -4.56  0.999        0.022 \u003c1e-03 ***\n      5 0.96      0.66 \u003c1e-03 ***    -4.37  0.999        0.024 \u003c1e-03 ***\n      6 0.95      0.62 \u003c1e-03 ***    -3.84  0.999        0.031 \u003c1e-03 ***\n      7 0.95      0.79 \u003c1e-03 ***    -3.96  0.999        0.034 \u003c1e-03 ***\n      8 0.94      0.75 \u003c1e-03 ***    -3.40  0.999        0.041 \u003c1e-03 ***\n      9 0.93      0.66 \u003c1e-03 ***    -3.26  0.999        0.040 \u003c1e-03 ***\n     10 0.93      0.58 \u003c1e-03 ***    -3.02  0.999        0.040 \u003c1e-03 ***\n     11 0.89      0.58 \u003c1e-03 ***    -2.29  0.999        0.054 \u003c1e-03 ***\n     12 0.85      0.62 \u003c1e-03 ***    -1.75  0.999        0.074 \u003c1e-03 ***\n     13 0.71      0.72 \u003c1e-03 ***    -0.87  0.999        0.131 \u003c1e-03 ***\n\n Significance tested against 999 randomly shuffled matrices\n Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1\n\n```\n\n```r\n\u003e # Plot trends\n\u003e plot(serengeti.test, along = serengeti.rain) +\n\u003e  geom_vline(xintercept = 593, color = \"red\", linetype = \"dashed\") +\n\u003e  labs(x = \"Annual rainfall\",\n\u003e       y = \"Mean cover/indicator value\",\n\u003e       title = \"Early warning signals of a shift in tree cover in Serengeti, Tanzania (Eby et al. 2016)\",\n\u003e       subtitle = \"Grey ribbons indicate the 5-95% quantiles of the null distribution\")\n```\n\n![Example result](./tools/imgs/serengeti_example.png)\n\n## Getting help \n\nThere is also a quite thorough user guide with tutorials, answers to technical \nproblems and examples of analyses at this address: \n\n[https://alex.lecairn.org/spatialwarnings-faq.html](https://alex.lecairn.org/spatialwarnings-faq.html)\n\nWe also welcome any question or constructive criticism! Please feel free to \nopen an issue or send us an email if you have any question about the package, or \nwould like to see improvements. \n\n## Original authors and License\n\nThis package is derived from the [Dakos et al.'s work](https://github.com/earlywarningtoolbox/spatial_warnings) on early warnings signals (see also the\nreference website for the [early-warnings signals toolbox](http://www.early-warning-signals.org/)).\n\nThis work is licensed under an MIT license. Some code included in unit tests has\nbeen written by Cosma Rohilla Shalizi [http://bactra.org/](http://bactra.org/)\nand is redistributed in its entirety with the source of this R package as\nper the recommandations in its README file.\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 the authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n## References\n\n[Génin, A., Majumder, S., Sankaran, S., Danet, A., Guttal, V.,\nSchneider, F. D. and Kéfi, S. (2018),\nMonitoring ecosystem degradation using spatial data and the R package\n'spatialwarnings'. Methods in Ecology and Evolution.](https://dx.doi.org/10.1111/2041-210X.13058)\n\n[Kéfi S., Guttal V., Brock W.A., Carpenter S.R., Ellison A.M., et al. (2014)\nEarly Warning Signals of Ecological Transitions: Methods for Spatial Patterns.\nPLoS ONE 9(3): e92097.](http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0092097)\n\nEcologists interested in this package will also probably like the \nfollowing review: \n\n[Nijp, J. J., Temme, A. J.A.M., van Voorn, George A.K., Kooistra, L., \nHengeveld, G.M., Soons, M.B., Teuling, A.J. and Wallinga, J. (2019) \nSpatial early warning signals for impending regime shifts: A\npractical framework for application in real‐world landscapes](https://onlinelibrary.wiley.com/doi/full/10.1111/gcb.14591)\n\n","funding_links":[],"readme_doi_urls":["https://dx.doi.org/10.1111/2041-210X.13058"],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://ost.ecosyste.ms/api/v1/projects/11982","html_url":"https://ost.ecosyste.ms/projects/11982"}