{
  "_id": "6a624ef4717f18b497d41796",
  "Package": "spatialwarnings",
  "Type": "Package",
  "Title": "Spatial Early Warning Signals of Ecosystem Degradation",
  "Version": "3.1.2",
  "Authors@R": "c(person(given = \"Alain\",\nfamily = \"Danet\",\nrole = \"aut\"),\nperson(given = \"Alexandre\",\nfamily = \"Genin\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-3333-1338\"),\nemail = \"alexandre.genin@inrae.fr\"),\nperson(given = \"Vishwesha\",\nfamily = \"Guttal\",\nrole = \"aut\"),\nperson(given = \"Sonia\",\nfamily = \"Kefi\",\nrole = \"aut\"),\nperson(given = \"Sabiha\",\nfamily = \"Majumder\",\nrole = \"aut\"),\nperson(given = \"Sumithra\",\nfamily = \"Sankaran\",\nrole = \"aut\"),\nperson(given = \"Florian\",\nfamily = \"Schneider\",\nrole = \"aut\"))",
  "License": "MIT + file LICENSE",
  "Maintainer": "Alexandre Genin <alexandre.genin@inrae.fr>",
  "Description": "Tools to compute and assess significance of early-warnings\nsignals (EWS) of ecosystem degradation. EWS are spatial metrics\nderived from raster data -- e.g. spatial autocorrelation --\nthat increase before an ecosystem undergoes a non-linear\ntransition (Genin et al. (2018) <doi:10.1111/2041-210X.13058>).",
  "URL": "https://github.com/spatial-ews/spatialwarnings",
  "BugReports": "https://github.com/spatial-ews/spatialwarnings/issues",
  "LazyData": "true",
  "RoxygenNote": "7.3.2.9000",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-23 17:13:34 UTC",
    "User": "root"
  },
  "Author": "Alain Danet [aut], Alexandre Genin [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3333-1338>), Vishwesha Guttal\n[aut], Sonia Kefi [aut], Sabiha Majumder [aut], Sumithra\nSankaran [aut], Florian Schneider [aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-23 16:51:48 UTC",
  "RemoteUrl": "https://github.com/cran/spatialwarnings",
  "RemoteRef": "HEAD",
  "RemoteSha": "b5fb0554b938f258222e52b2ad3e09333d8790d9",
  "_user": "cran",
  "_type": "src",
  "_file": "spatialwarnings_3.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/2f884dcc14d2c3b2cb68438e6bf358efc2853a095e30192606f4310d2a66df3a",
  "_filesize": 1978494,
  "_sha256": "2f884dcc14d2c3b2cb68438e6bf358efc2853a095e30192606f4310d2a66df3a",
  "_expires": "2026-10-31T17:27:13.000Z",
  "_created": "2026-07-23T17:13:34.000Z",
  "_published": "2026-07-23T17:27:15.982Z",
  "_jobs": [
    {
      "job": 89279191909,
      "time": 190,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8572520370"
    },
    {
      "job": 89279191868,
      "time": 233,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8572546858"
    },
    {
      "job": 89279191908,
      "time": 187,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8572526348"
    },
    {
      "job": 89279191849,
      "time": 205,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8572537036"
    },
    {
      "job": 89278163452,
      "time": 257,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8572310487"
    },
    {
      "job": 89279191790,
      "time": 187,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8572525056"
    },
    {
      "job": 89279191852,
      "time": 441,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8572516113"
    },
    {
      "job": 89279191846,
      "time": 212,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8572525768"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/30028248263",
  "_status": "success",
  "_upstream": "https://github.com/cran/spatialwarnings",
  "_commit": {
    "id": "b5fb0554b938f258222e52b2ad3e09333d8790d9",
    "author": "Alexandre Genin <alexandre.genin@inrae.fr>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 3.1.2\n",
    "time": 1784825508
  },
  "_maintainer": {
    "name": "Alexandre Genin",
    "email": "alexandre.genin@inrae.fr",
    "orcid": "0000-0002-3333-1338"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "future",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "gsl",
      "role": "Imports"
    },
    {
      "package": "segmented",
      "role": "Imports"
    },
    {
      "package": "moments",
      "role": "Suggests"
    },
    {
      "package": "poweRlaw",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "acss",
      "role": "Suggests"
    },
    {
      "package": "acss.data",
      "role": "Suggests"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    },
    {
      "package": "gstat",
      "role": "Suggests"
    },
    {
      "package": "sp",
      "role": "Suggests"
    },
    {
      "package": "raster",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "3.1.1",
      "date": "2025-08-18"
    },
    {
      "name": "3.1.2",
      "date": "2026-07-23"
    }
  ],
  "_stars": 1,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 623,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 309,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spatialwarnings"
  },
  "_devurl": "https://github.com/spatial-ews/spatialwarnings",
  "_searchresults": 50,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/spatialwarnings.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/spatial-ews/spatialwarnings",
  "_realowner": "spatial-ews",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2017-11-03"
    },
    {
      "version": "1.1",
      "date": "2018-06-04"
    },
    {
      "version": "1.2",
      "date": "2018-06-17"
    },
    {
      "version": "1.3.1",
      "date": "2018-12-20"
    },
    {
      "version": "2.0.0",
      "date": "2020-05-14"
    },
    {
      "version": "3.0.0",
      "date": "2021-05-20"
    },
    {
      "version": "3.0.2",
      "date": "2021-12-16"
    },
    {
      "version": "3.0.3",
      "date": "2022-03-21"
    },
    {
      "version": "3.1.0",
      "date": "2024-09-06"
    },
    {
      "version": "3.1.1",
      "date": "2025-08-18"
    },
    {
      "version": "3.1.2",
      "date": "2026-07-23"
    }
  ],
  "_exports": [
    "coarse_grain",
    "compute_indicator",
    "convert_to_matrix",
    "create_indicator",
    "display_matrix",
    "display_size_info",
    "dLSW",
    "exp_fit",
    "extract_spectrum",
    "extract_variogram",
    "flowlength_sews",
    "generic_sews",
    "indicator_plrange",
    "indicator_psdtype",
    "indictest",
    "kbdm_sews",
    "label",
    "lnorm_fit",
    "LSW_fit",
    "lsw_sews",
    "pair_counts",
    "patchdistr_sews",
    "patchsizes",
    "percolation",
    "pl_fit",
    "plot_distr",
    "plot_spectrum",
    "plot_variogram",
    "pLSW",
    "raw_cg_moran",
    "raw_cg_skewness",
    "raw_cg_variance",
    "raw_clustering",
    "raw_flowlength_uniform",
    "raw_kbdm",
    "raw_lsw_aicw",
    "raw_moran",
    "raw_patch_radii_skewness",
    "raw_plrange",
    "raw_sdr",
    "raw_structvar",
    "raw_variogram_metrics",
    "rspectrum",
    "spectral_sews",
    "tpl_fit",
    "variogram_sews",
    "xmin_estim"
  ],
  "_datasets": [
    {
      "name": "arizona",
      "title": "Aerial views of vegetation from Arizona, USA",
      "object": "arizona",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "dda",
      "title": "Density-dependent aggregation model",
      "object": "dda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "dda.pars",
      "title": "Density-dependent aggregation model",
      "object": "dda.pars",
      "class": [
        "data.frame"
      ],
      "fields": [
        "alpha",
        "beta",
        "delta",
        "tau",
        "cover_threshold_u"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "forestgap",
      "title": "A list of binary matrices and their associated parameters",
      "object": "forestgap",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "forestgap.pars",
      "title": "A list of binary matrices and their associated parameters",
      "object": "forestgap.pars",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "alpha",
        "d",
        "delta"
      ],
      "rows": 9,
      "table": true,
      "tojson": true
    },
    {
      "name": "serengeti",
      "title": "Serengeti dataset",
      "object": "serengeti",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "serengeti.rain",
      "title": "Serengeti dataset",
      "object": "serengeti.rain",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "arizona",
      "title": "Aerial views of vegetation from Arizona, USA",
      "topics": [
        "arizona"
      ]
    },
    {
      "page": "coarse_grain",
      "title": "Matrix coarse-graining",
      "topics": [
        "coarse_grain"
      ]
    },
    {
      "page": "convert_to_matrix",
      "title": "Convert an object to a matrix",
      "topics": [
        "convert_to_matrix"
      ]
    },
    {
      "page": "create_indicator",
      "title": "Custom Spatial Early-Warning signals",
      "topics": [
        "compute_indicator",
        "create_indicator",
        "custom_indicator"
      ]
    },
    {
      "page": "dda",
      "title": "Density-dependent aggregation model",
      "topics": [
        "dda",
        "dda.pars"
      ]
    },
    {
      "page": "display_matrix",
      "title": "Plot a matrix",
      "topics": [
        "display_matrix"
      ]
    },
    {
      "page": "display_size_info",
      "title": "Display size information of a sews_result object",
      "topics": [
        "display_size_info",
        "display_size_info.list",
        "display_size_info.sews_result_list",
        "display_size_info.sews_result_single"
      ]
    },
    {
      "page": "dLSW",
      "title": "The Lifshitz-Slyozov-Wagner distribution",
      "topics": [
        "dLSW",
        "LSW_fit",
        "pLSW"
      ]
    },
    {
      "page": "extract_spectrum",
      "title": "Extract the r-spectrum from objects",
      "topics": [
        "extract_spectrum"
      ]
    },
    {
      "page": "extract_variogram",
      "title": "extract_variogram() method for variogram_sews objects",
      "topics": [
        "extract_variogram"
      ]
    },
    {
      "page": "flowlength_sews",
      "title": "Flowlength connectivity indicator (uniform topography)",
      "topics": [
        "flowlength_sews"
      ]
    },
    {
      "page": "forestgap",
      "title": "A list of binary matrices and their associated parameters",
      "topics": [
        "forestgap",
        "forestgap.pars"
      ]
    },
    {
      "page": "generic_sews",
      "title": "Generic Spatial Early-Warning signals",
      "topics": [
        "generic_sews"
      ]
    },
    {
      "page": "indicator_plrange",
      "title": "Power-law range indicator",
      "topics": [
        "indicator_plrange"
      ]
    },
    {
      "page": "indicator_psdtype",
      "title": "Change in patch-size distributions types",
      "topics": [
        "indicator_psdtype"
      ]
    },
    {
      "page": "indictest",
      "title": "Significance-assessment of spatial early-warning signals",
      "topics": [
        "indictest"
      ]
    },
    {
      "page": "kbdm_sews",
      "title": "Indicator based on Kolmogorov Complexity",
      "topics": [
        "kbdm_sews"
      ]
    },
    {
      "page": "label",
      "title": "Labelling of unique patches and detection of percolation.",
      "topics": [
        "label",
        "percolation"
      ]
    },
    {
      "page": "lsw_sews",
      "title": "Indicators based on the LSW distribution",
      "topics": [
        "lsw_sews",
        "raw_lsw_aicw",
        "raw_patch_radii_skewness"
      ]
    },
    {
      "page": "patchdistr_sews",
      "title": "Early-warning signals based on patch size distributions",
      "topics": [
        "patchdistr_sews"
      ]
    },
    {
      "page": "patchdistr_sews_plot",
      "title": "Early-warning signals based on patch size distributions",
      "topics": [
        "patchdistr_sews_plot",
        "plot.patchdistr_sews",
        "plot_distr"
      ]
    },
    {
      "page": "patchdistr_sews_predict",
      "title": "predict method for patchdistr_sews objects",
      "topics": [
        "patchdistr_sews_predict",
        "predict.patchdistr_sews_single"
      ]
    },
    {
      "page": "patchsizes",
      "title": "Get patch sizes.",
      "topics": [
        "patchsizes"
      ]
    },
    {
      "page": "pl_fit",
      "title": "Distribution-fitting functions",
      "topics": [
        "exp_fit",
        "lnorm_fit",
        "pl_fit",
        "tpl_fit"
      ]
    },
    {
      "page": "plot_spectrum",
      "title": "Display the r-spectrum of a 'spectral_sews' object",
      "topics": [
        "plot_spectrum"
      ]
    },
    {
      "page": "simple_sews_methods",
      "title": "Spatial early-warning signals: display of trends",
      "topics": [
        "plot.simple_sews_list",
        "plot.simple_sews_test"
      ]
    },
    {
      "page": "raw_cg_moran",
      "title": "Moran's Index at lag of 1",
      "topics": [
        "raw_cg_moran"
      ]
    },
    {
      "page": "raw_cg_skewness",
      "title": "Skewness indicator",
      "topics": [
        "raw_cg_skewness"
      ]
    },
    {
      "page": "raw_cg_variance",
      "title": "Spatial variance indicator",
      "topics": [
        "raw_cg_variance"
      ]
    },
    {
      "page": "raw_clustering",
      "title": "Clustering of pairs",
      "topics": [
        "pair_counts",
        "raw_clustering"
      ]
    },
    {
      "page": "raw_flowlength_uniform",
      "title": "Flow length (uniform slope)",
      "topics": [
        "raw_flowlength_uniform"
      ]
    },
    {
      "page": "raw_kbdm",
      "title": "Kolmogorov complexity of a matrix",
      "topics": [
        "raw_kbdm"
      ]
    },
    {
      "page": "raw_moran",
      "title": "Spatial correlation at lag 1",
      "topics": [
        "raw_moran"
      ]
    },
    {
      "page": "raw_plrange",
      "title": "Power-law range indicator",
      "topics": [
        "raw_plrange"
      ]
    },
    {
      "page": "raw_sdr",
      "title": "Spectral Density Ratio (SDR) indicator",
      "topics": [
        "raw_sdr"
      ]
    },
    {
      "page": "raw_structvar",
      "title": "Structural variance",
      "topics": [
        "raw_structvar"
      ]
    },
    {
      "page": "raw_variogram_metrics",
      "title": "Variogram parameters",
      "topics": [
        "raw_variogram_metrics"
      ]
    },
    {
      "page": "rspectrum",
      "title": "r-spectrum",
      "topics": [
        "rspectrum"
      ]
    },
    {
      "page": "serengeti",
      "title": "Serengeti dataset",
      "topics": [
        "serengeti",
        "serengeti.rain"
      ]
    },
    {
      "page": "simple_sews",
      "title": "'simple_sews' objects",
      "topics": [
        "simple_sews",
        "simple_sews_object"
      ]
    },
    {
      "page": "spectral_sews",
      "title": "Spectrum-based spatial early-warning signals.",
      "topics": [
        "spectral_sews"
      ]
    },
    {
      "page": "variogram_sews",
      "title": "Early-Warning signals based on variograms (EXPERIMENTAL)",
      "topics": [
        "variogram_sews"
      ]
    },
    {
      "page": "variogram_sews_plot",
      "title": "Early-warning signals based on variograms",
      "topics": [
        "plot.variogram_sews",
        "plot.variogram_sews_test",
        "plot_variogram",
        "plot_variogram.variogram_sews",
        "plot_variogram.variogram_sews_test",
        "variogram_sews_plot"
      ]
    },
    {
      "page": "variogram_sews_predict",
      "title": "predict() method for variogram_sews objects",
      "topics": [
        "predict.variogram_sews_list",
        "variogram_sews_predict"
      ]
    },
    {
      "page": "xmin_estim",
      "title": "Estimate the minimum patch size of a power-law distribution",
      "topics": [
        "xmin_estim"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "digest",
    "farver",
    "future",
    "future.apply",
    "ggplot2",
    "globals",
    "glue",
    "gsl",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "MASS",
    "nlme",
    "parallelly",
    "plyr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "segmented",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2,
  "_indexed": false,
  "_nocasepkg": "spatialwarnings",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://spatial-ews.r-universe.dev/spatialwarnings",
  "_previous": "3.1.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.2",
      "date": "2026-07-23T17:20:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b5fb0554b938f258222e52b2ad3e09333d8790d9",
      "fileid": "https://r2.ropensci.org/f5bb7d4668755a952730ae4531072efc9fd6ef4b6c2862ef6f4922a1eea7ecca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/30028248263"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.2",
      "date": "2026-07-23T17:21:42.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b5fb0554b938f258222e52b2ad3e09333d8790d9",
      "fileid": "https://r2.ropensci.org/965170bff5bc8be7061890ed1392536cc893dfe7df0572b1b639dc7d0db8b090",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/30028248263"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.1.2",
      "date": "2026-07-23T17:21:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b5fb0554b938f258222e52b2ad3e09333d8790d9",
      "fileid": "https://r2.ropensci.org/9febe16459c2b67f97de3defba71e49a9df6d77fa911c235139ce010342a7953",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/30028248263"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.1.2",
      "date": "2026-07-23T17:21:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b5fb0554b938f258222e52b2ad3e09333d8790d9",
      "fileid": "https://r2.ropensci.org/edd77775d87ab3e0c314a693f2d47f8e1feceb49ca7b97216e6be5326c830e8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/30028248263"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.1.2",
      "date": "2026-07-23T17:21:39.000Z",
      "arch": "emscripten",
      "commit": "b5fb0554b938f258222e52b2ad3e09333d8790d9",
      "fileid": "https://r2.ropensci.org/7e4878f0cc52985947d61f3b6449d1eef1d65105b2dc903f26331192d79f877f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/30028248263"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.1.2",
      "date": "2026-07-23T17:19:57.000Z",
      "arch": "aarch64",
      "commit": "b5fb0554b938f258222e52b2ad3e09333d8790d9",
      "fileid": "https://r2.ropensci.org/9fa0f6a339aeb24af760b099023ceb9311329432de52e7304bb32857050179ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/30028248263"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.1.2",
      "date": "2026-07-23T17:19:55.000Z",
      "arch": "x86_64",
      "commit": "b5fb0554b938f258222e52b2ad3e09333d8790d9",
      "fileid": "https://r2.ropensci.org/3bef3ba79fa8ea69007e3fd2f234e85f1171e06d10696ce8d3e8f0aba3103b89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/30028248263"
    }
  ]
}