{
  "_id": "6ac224c0773a0037682c29db",
  "Package": "ecoregime",
  "Title": "Analysis of Ecological Dynamic Regimes",
  "Version": "0.4.1",
  "Authors@R": "person(given = \"Martina\", family = \"Sánchez-Pinillos\",\nemail = \"martina.sanchez.pinillos@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-1499-4507\"))",
  "Description": "A toolbox for implementing the Ecological Dynamic Regime\nframework, including functions to characterize and compare\ngroups of ecological trajectories (Sánchez-Pinillos et al.,\n2023 <doi:10.1002/ecm.1589>); assess the ecological resilience\nof a disturbed system using a reference dynamic regime\n(Sánchez-Pinillos et al., 2024\n<doi:10.1016/j.biocon.2023.110409>); and forecast ecological\ntrajectories from a dynamic regime (Sánchez-Pinillos et al.\n2026, <doi:10.1111/2041-210x.70372>). Additional functions are\nalso available for visualizing ecological dynamic regimes,\ntheir representative trajectories, as well as predicted\ntrajectories in a multidimensional state space.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://mspinillos.github.io/ecoregime/,\nhttps://github.com/MSPinillos/ecoregime",
  "BugReports": "https://github.com/MSPinillos/ecoregime/issues",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "RoxygenNote": "8.0.0",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libx11-dev\nzlib1g-dev",
  "Repository": "https://mspinillos.r-universe.dev",
  "Date/Publication": "2026-08-04 17:49:51 UTC",
  "RemoteUrl": "https://github.com/mspinillos/ecoregime",
  "RemoteRef": "HEAD",
  "RemoteSha": "718cb58c544b817b55ddc57de44f62b3d8d01a76",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-04 09:59:05 UTC",
    "User": "root"
  },
  "Author": "Martina Sánchez-Pinillos [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-1499-4507>)",
  "Maintainer": "Martina Sánchez-Pinillos <martina.sanchez.pinillos@gmail.com>",
  "_user": "mspinillos",
  "_type": "src",
  "_file": "ecoregime_0.4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/9cd7e620e7143bdee8d767ebd8cf316eb93b18802f12e78c4e9eed45f85f50be",
  "_filesize": 3406305,
  "_sha256": "9cd7e620e7143bdee8d767ebd8cf316eb93b18802f12e78c4e9eed45f85f50be",
  "_expires": "2027-01-12T10:04:45.000Z",
  "_created": "2026-10-04T09:59:05.000Z",
  "_published": "2026-10-04T10:04:48.143Z",
  "_jobs": [
    {
      "job": 111411655394,
      "time": 308,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11300560030"
    },
    {
      "job": 111411655484,
      "time": 241,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300013189"
    },
    {
      "job": 111411655323,
      "time": 277,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11300127942"
    },
    {
      "job": 111411655331,
      "time": 243,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300202446"
    },
    {
      "job": 111411005496,
      "time": 242,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300122307"
    },
    {
      "job": 111411655353,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11300162538"
    },
    {
      "job": 111411655364,
      "time": 288,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11300073105"
    },
    {
      "job": 111411655376,
      "time": 280,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11299753835"
    },
    {
      "job": 111411655387,
      "time": 288,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11299948443"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mspinillos/actions/runs/37193638221",
  "_status": "success",
  "_upstream": "https://github.com/mspinillos/ecoregime",
  "_commit": {
    "id": "718cb58c544b817b55ddc57de44f62b3d8d01a76",
    "author": "Martina Sánchez-Pinillos <martina.sanchezpinillos@gmail.com>",
    "committer": "Martina Sánchez-Pinillos <martina.sanchezpinillos@gmail.com>",
    "message": "Increment version number to 0.4.1\n",
    "time": 1785865791
  },
  "_maintainer": {
    "name": "Martina Sánchez-Pinillos",
    "email": "martina.sanchez.pinillos@gmail.com",
    "orcid": "0000-0002-1499-4507"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "ape",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "ecotraj",
      "version": ">= 1.1.1",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "shape",
      "role": "Imports"
    },
    {
      "package": "smacof",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vegan",
      "role": "Suggests"
    }
  ],
  "_owner": "mspinillos",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 10
    },
    {
      "week": "2025-43",
      "n": 2
    },
    {
      "week": "2025-44",
      "n": 3
    },
    {
      "week": "2025-45",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 25
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 18
    },
    {
      "week": "2026-32",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.3.0",
      "date": "2025-10-29"
    },
    {
      "name": "v0.3.1",
      "date": "2026-06-07"
    },
    {
      "name": "v0.4.1",
      "date": "2026-08-04"
    }
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "mspinillos",
      "count": 335,
      "uuid": 27857581
    }
  ],
  "_userbio": {
    "uuid": 27857581,
    "type": "user",
    "name": "Martina Sánchez-Pinillos",
    "followers": 11,
    "description": "Ramon y Cajal researcher at MNCN-CSIC. Interested in quantifying ecological resilience and assessing post-disturbance ecosystem dynamics."
  },
  "_downloads": {
    "count": 414,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ecoregime"
  },
  "_devurl": "https://github.com/mspinillos/ecoregime",
  "_pkgdown": "https://mspinillos.github.io/ecoregime/",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ecoregime.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/mspinillos/ecoregime",
  "_realowner": "mspinillos",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2023-08-11"
    },
    {
      "version": "0.1.3",
      "date": "2023-09-10"
    },
    {
      "version": "0.2.0",
      "date": "2024-04-17"
    },
    {
      "version": "0.2.1",
      "date": "2025-05-01"
    },
    {
      "version": "0.3.0",
      "date": "2025-10-29"
    },
    {
      "version": "0.3.1",
      "date": "2026-06-07"
    },
    {
      "version": "0.4.1",
      "date": "2026-08-04"
    }
  ],
  "_exports": [
    "amplitude",
    "dBD",
    "dDis",
    "define_retra",
    "dEve",
    "dist_edr",
    "MPD",
    "net_change",
    "petra_edr",
    "plot_edr",
    "recovery",
    "resistance",
    "retra_edr",
    "state_to_trajectory"
  ],
  "_datasets": [
    {
      "name": "EDR_data",
      "title": "Ecological Dynamic Regime data",
      "object": "EDR_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "define_retra",
      "title": "Define representative trajectories from trajectory features",
      "topics": [
        "define_retra"
      ]
    },
    {
      "page": "dist_edr",
      "title": "Dissimilarities between Ecological Dynamic Regimes",
      "topics": [
        "dist_edr"
      ]
    },
    {
      "page": "EDR_data",
      "title": "Ecological Dynamic Regime data",
      "topics": [
        "EDR_data"
      ]
    },
    {
      "page": "EDR_metrics",
      "title": "Metrics of trajectory distribution in Ecological Dynamic Regimes",
      "topics": [
        "dBD",
        "dDis",
        "dEve",
        "EDR_metrics"
      ]
    },
    {
      "page": "MPD",
      "title": "Mean predicted deviation (MPD)",
      "topics": [
        "MPD"
      ]
    },
    {
      "page": "petra_edr",
      "title": "Predicted Ecological Trajectories in Ecological Dynamic Regimes (PETRA-EDR)",
      "topics": [
        "petra_edr"
      ]
    },
    {
      "page": "plot_edr",
      "title": "Plot Ecological Dynamic Regimes",
      "topics": [
        "plot_edr"
      ]
    },
    {
      "page": "plot.PETRA",
      "title": "Plot predicted trajectories in Ecological Dynamic Regimes",
      "topics": [
        "plot.PETRA"
      ]
    },
    {
      "page": "plot.RETRA",
      "title": "Plot representative trajectories of Ecological Dynamic Regimes",
      "topics": [
        "plot.RETRA"
      ]
    },
    {
      "page": "resilience_metrics",
      "title": "Metrics of trajectory deviation with respect to a reference trajectory",
      "topics": [
        "amplitude",
        "net_change",
        "recovery",
        "resilience_metrics",
        "resistance"
      ]
    },
    {
      "page": "retra_edr",
      "title": "Representative trajectories in Ecological Dynamic Regimes (RETRA-EDR)",
      "topics": [
        "retra_edr"
      ]
    },
    {
      "page": "state_to_trajectory",
      "title": "Position of a state with respect to a trajectory",
      "topics": [
        "state_to_trajectory"
      ]
    },
    {
      "page": "summary.RETRA",
      "title": "Summarize representative trajectories",
      "topics": [
        "summary.RETRA"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mspinillos/ecoregime/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mspinillos/ecoregime/raw/HEAD/README.md",
  "_rundeps": [
    "ape",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "checkmate",
    "class",
    "cli",
    "clipr",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "crayon",
    "data.table",
    "digest",
    "doParallel",
    "dplyr",
    "e1071",
    "ecotraj",
    "ellipse",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "gdata",
    "generics",
    "ggplot2",
    "glmnet",
    "glue",
    "gridExtra",
    "gtable",
    "gtools",
    "haven",
    "highr",
    "Hmisc",
    "hms",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jomo",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mice",
    "mime",
    "minqa",
    "mitml",
    "nlme",
    "nloptr",
    "nnet",
    "nnls",
    "numDeriv",
    "ordinal",
    "pan",
    "pillar",
    "pkgconfig",
    "plotrix",
    "polynom",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "readr",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "shape",
    "smacof",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "weights",
    "withr",
    "wordcloud",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "EDR_framework.Rmd",
      "filename": "EDR_framework.html",
      "title": "Ecological Dynamic Regime framework",
      "author": "Martina Sánchez-Pinillos",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Introduction",
        "1.1. Ecological Dynamic Regimes and the EDR framework",
        "1.2. About this vignette",
        "2. Trajectory data, state and trajectory spaces",
        "3. Defining EDRs",
        "3.1. Identifying EDRs from clustering analyses",
        "3.2. Defining EDRs based on ecological properties",
        "4. Representative trajectories",
        "4.1. Identifying representative trajectories with RETRA-EDR",
        "4.2. Visualizing representative trajectories in the state space",
        "4.3. Defining representative trajectories based on trajectory features",
        "4.4. Variation of ecological properties along representative trajectories",
        "5. Distribution and heterogeneity of ecological trajectories in EDRs",
        "5.1. Dynamic dispersion (dDis)",
        "5.2. Dynamic beta diversity (dBD)",
        "5.3. Dynamic evenness (dEve)",
        "6. Comparing EDRs",
        "Acknowledgements"
      ],
      "created": "2023-01-01 10:54:13",
      "modified": "2026-08-04 10:42:17",
      "commits": 31
    },
    {
      "source": "Resilience.Rmd",
      "filename": "Resilience.html",
      "title": "Ecological resilience to pulse disturbances",
      "author": "Martina Sánchez-Pinillos",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Introduction",
        "1.1. Ecological resilience and the EDR framework",
        "1.2. About this vignette",
        "2. Disturbed and undisturbed trajectories",
        "3. Assessing ecological dynamic regimes",
        "3.1. Identifying the reference ecological dynamic regime",
        "3.2. Define the main dynamic trends through representative trajectories",
        "4. Metrics of ecological resilience to pulse disturbances",
        "4.1. Resistance",
        "4.2. Amplitude",
        "4.3. Recovery",
        "4.4. Net change",
        "5. Assessing the ecological resilience of systems affected by pulse disturbances",
        "Acknowledgements"
      ],
      "created": "2024-04-04 21:47:17",
      "modified": "2026-07-21 09:23:46",
      "commits": 6
    },
    {
      "source": "Predicting_trajectories.Rmd",
      "filename": "Predicting_trajectories.html",
      "title": "Predicting ecological trajectories from ecological dynamic regimes",
      "author": "Martina Sánchez-Pinillos",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Introduction",
        "1.1. Predicting ecological trajectories within the EDR framework",
        "1.2. About this vignette",
        "2. Artificial data",
        "3. Understanding petra_edr()",
        "3.1. The arguments of petra_edr()",
        "3.2. The outputs of petra_edr()",
        "4. Forecasting ecological trajectories",
        "4.1. Preliminary analyses",
        "4.2. Forecasting ecological trajectories of multiple targets using different conditions",
        "4.3. Evaluating the predicted trajectories",
        "The k-nearest EDR states",
        "The predicted states",
        "5. Prediction accuracy",
        "6. Representing predicted trajectories"
      ],
      "created": "2026-07-21 09:25:11",
      "modified": "2026-08-04 10:42:17",
      "commits": 4
    }
  ],
  "_score": 6.352182518111363,
  "_indexed": true,
  "_nocasepkg": "ecoregime",
  "_universes": [
    "mspinillos"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-10-04T10:01:23.000Z",
      "distro": "resolute",
      "commit": "718cb58c544b817b55ddc57de44f62b3d8d01a76",
      "fileid": "https://r2.ropensci.org/4dd7b59802a6fe4a2c7b2dc881d05dee6bbde021e836caaa8ad2f8f3ae13345c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mspinillos/actions/runs/37193638221"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-10-04T10:01:12.000Z",
      "distro": "resolute",
      "commit": "718cb58c544b817b55ddc57de44f62b3d8d01a76",
      "fileid": "https://r2.ropensci.org/3ae49b2c0966911bee1171d09ae92105cf6fc0a223d2b87af1f2be4f59e02a4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mspinillos/actions/runs/37193638221"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-10-04T10:01:22.000Z",
      "commit": "718cb58c544b817b55ddc57de44f62b3d8d01a76",
      "fileid": "https://r2.ropensci.org/e64d29014298fc3b1ae3a898ea00f189306853c2ac86d90a6a59020732b9c3de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mspinillos/actions/runs/37193638221"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-10-04T10:01:00.000Z",
      "commit": "718cb58c544b817b55ddc57de44f62b3d8d01a76",
      "fileid": "https://r2.ropensci.org/70ee3b409a958fe406730f9834599974150bab1ea8b21b9d35f5a86b46cd30bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mspinillos/actions/runs/37193638221"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-10-04T10:01:14.000Z",
      "commit": "718cb58c544b817b55ddc57de44f62b3d8d01a76",
      "fileid": "https://r2.ropensci.org/446bd4c28803bd95851465d22cd98bf818830d346f37dbb54da822aeac22de1f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mspinillos/actions/runs/37193638221"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-10-04T10:00:20.000Z",
      "commit": "718cb58c544b817b55ddc57de44f62b3d8d01a76",
      "fileid": "https://r2.ropensci.org/e5ac4b1a264cab2a61dac87cc90b6a600acabb5504e12f248ef6b0489e3fcc33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mspinillos/actions/runs/37193638221"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-10-04T10:00:28.000Z",
      "commit": "718cb58c544b817b55ddc57de44f62b3d8d01a76",
      "fileid": "https://r2.ropensci.org/cf85b029087830c8e6cd23233b304f3dba16daae019acf11f66ccef7b9c2f2b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mspinillos/actions/runs/37193638221"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-10-04T10:00:14.000Z",
      "commit": "718cb58c544b817b55ddc57de44f62b3d8d01a76",
      "fileid": "https://r2.ropensci.org/5dd0ff9c5f6264b5c12290f0f4ed9e14146be8f3c1aa9c49b23702697d3a4e8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mspinillos/actions/runs/37193638221"
    }
  ]
}