{
  "_id": "69e1c63fc5259ad4cd92f2bd",
  "Package": "fdcoexist",
  "Title": "Multi-Species Trait-Based Coexistence Model in Discrete time",
  "Version": "0.0.1",
  "Authors@R": "c(\nperson(\"Matthias\", \"Grenié\", email = \"matthias.grenie@gmail.com\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-4659-7522\")),\nperson(\"Pierre\", \"Denelle\", email = \"pierre.denelle@cefe.cnrs.fr\",\nrole = \"aut\", comment = c(ORCID = \"0000-0001-5037-2281\")),\nperson(\"Caroline\", \"Tucker\", email = \"carolinemtucker@gmail.com\",\nrole = \"aut\", comment = c(ORCID = \"0000-0002-4871-2010\")),\nperson(\"François\", \"Munoz\", email = \"fmunoz@univ-grenoble-alpes.fr\",\nrole = \"aut\", comment = c(ORCID = \"0000-0001-8776-4705\")),\nperson(\"Cyrille\", \"Violle\", email = \"cyrille.violle@cefe.cnrs.fr\",\nrole = \"aut\", comment = c(ORCID = \"0000-0002-2471-9226\"))\n)",
  "Description": "A modified Beverton-Holt model used in the Denelle, Grenié\net al. manuscript that expresses environmental filtering,\nlimiting similarity and hierarchical competition explicitely in\nfunction of species traits. This package provides all the code\nnecessary to rerun the analyses of the manuscript.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.1",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "URL": "https://rekyt.github.io/fdcoexist",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://rekyt.r-universe.dev",
  "Date/Publication": "2022-10-11 13:58:42 UTC",
  "RemoteUrl": "https://github.com/Rekyt/fdcoexist",
  "RemoteRef": "HEAD",
  "RemoteSha": "08d75af742c61d81d49b8699be8242b4dd67899e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-04-17 05:28:04 UTC",
    "User": "root"
  },
  "Author": "Matthias Grenié [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4659-7522>),\nPierre Denelle [aut] (ORCID: <https://orcid.org/0000-0001-5037-2281>),\nCaroline Tucker [aut] (ORCID: <https://orcid.org/0000-0002-4871-2010>),\nFrançois Munoz [aut] (ORCID: <https://orcid.org/0000-0001-8776-4705>),\nCyrille Violle [aut] (ORCID: <https://orcid.org/0000-0002-2471-9226>)",
  "Maintainer": "Matthias Grenié <matthias.grenie@gmail.com>",
  "MD5sum": "2036c1d16b808b6b4756c63403bc4bef",
  "_user": "rekyt",
  "_type": "src",
  "_file": "fdcoexist_0.0.1.tar.gz",
  "_fileid": "9eab95507d5a6c3d27f9819e7bfe2ed5e5ee13e7556d3873a64e2a1eed0c6896",
  "_filesize": 8905608,
  "_sha256": "9eab95507d5a6c3d27f9819e7bfe2ed5e5ee13e7556d3873a64e2a1eed0c6896",
  "_created": "2026-04-17T05:28:04.000Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 71771687574,
      "time": 314,
      "config": "linux-devel-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6489362195"
    },
    {
      "job": 71771687582,
      "time": 270,
      "config": "linux-release-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6489354826"
    },
    {
      "job": 71771687595,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6489330081"
    },
    {
      "job": 71771687599,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6489334201"
    },
    {
      "job": 71771223812,
      "time": 327,
      "config": "source",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6489309457"
    },
    {
      "job": 71771687570,
      "time": 249,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "6489351001"
    },
    {
      "job": 71771687588,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6489328140"
    },
    {
      "job": 71771687583,
      "time": 86,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6489324338"
    },
    {
      "job": 71771687592,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6489325898"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rekyt/actions/runs/24549185206",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/Rekyt/fdcoexist",
  "_commit": {
    "id": "08d75af742c61d81d49b8699be8242b4dd67899e",
    "author": "Rekyt <matthias.grenie@ens-lyon.fr>",
    "committer": "Rekyt <matthias.grenie@ens-lyon.fr>",
    "message": "Try fixing checks\n",
    "time": 1665496722
  },
  "_maintainer": {
    "name": "Matthias Grenié",
    "email": "matthias.grenie@gmail.com",
    "login": "rekyt",
    "mastodon": "@LeNematode@ecoevo.social",
    "orcid": "0000-0002-4659-7522",
    "uuid": 5593751
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "Weighted.Desc.Stat",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "furrr",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "tictoc",
      "role": "Suggests"
    }
  ],
  "_owner": "rekyt",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 5593751,
    "type": "user",
    "name": "Matthias Grenié",
    "description": "Assistant Professor of Biostatistics & Ecology"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fdcoexist"
  },
  "_devurl": "https://github.com/rekyt/fdcoexist",
  "_pkgdown": "https://rekyt.github.io/fdcoexist",
  "_searchresults": 1,
  "_rbuild": "4.5.3",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fdcoexist.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "alphaterm",
    "bevHoltFct",
    "check_trait_weights",
    "compute_compet_distance",
    "compute_hierarchical_compet",
    "create_trait_weights",
    "env_curve",
    "extract_growth_rates",
    "extract_mismatches",
    "generate_cor_traits",
    "generate_cor_traits_rand",
    "mismatch",
    "multigen",
    "plot_patch",
    "plot_rh",
    "r_env",
    "sp_ab_gr",
    "wtd_kurtosis",
    "wtd_mean",
    "wtd_skewness",
    "wtd_var"
  ],
  "_help": [
    {
      "page": "alphaterm",
      "title": "Function definition for deterministic model run with global dispersal Compute alpha term in Beverton-Holt function",
      "topics": [
        "alphaterm"
      ]
    },
    {
      "page": "bevHoltFct",
      "title": "Beverton-Holt function",
      "topics": [
        "bevHoltFct"
      ]
    },
    {
      "page": "check_trait_weights",
      "title": "Check trait weights data.frame",
      "topics": [
        "check_trait_weights"
      ]
    },
    {
      "page": "compute_compet_distance",
      "title": "Compute trait distance between species",
      "topics": [
        "compute_compet_distance"
      ]
    },
    {
      "page": "compute_hierarchical_compet",
      "title": "Compute Hierarchical Competition coefficient at each time step",
      "topics": [
        "compute_hierarchical_compet"
      ]
    },
    {
      "page": "create_trait_weights",
      "title": "Generates a data.frame of trait weights",
      "topics": [
        "create_trait_weights"
      ]
    },
    {
      "page": "env_curve",
      "title": "Species growth rate for a given trait and environment",
      "topics": [
        "env_curve"
      ]
    },
    {
      "page": "extract_growth_rates",
      "title": "Extract different growth rates from fdcoexist simulation",
      "topics": [
        "extract_growth_rates"
      ]
    },
    {
      "page": "extract_mismatches",
      "title": "Extract species mismatches",
      "topics": [
        "extract_mismatches"
      ]
    },
    {
      "page": "generate_cor_traits",
      "title": "Generate correlated traits",
      "topics": [
        "generate_cor_traits"
      ]
    },
    {
      "page": "generate_cor_traits_rand",
      "title": "Generate random traits Compared to generate_cor_traits() introduce a little of variability in first trait as instead of being directly determined by the species number it adds little white noise to it and scale it to a minimum of 0 if negative and maximum of 25 if maximum value is over 25.",
      "topics": [
        "generate_cor_traits_rand"
      ]
    },
    {
      "page": "mismatch",
      "title": "Plot mismatch per species between environmental optimum and max. abundance",
      "topics": [
        "mismatch"
      ]
    },
    {
      "page": "multigen",
      "title": "Function to run the simulation",
      "topics": [
        "multigen"
      ]
    },
    {
      "page": "plot_patch",
      "title": "Plot patch dynamics",
      "topics": [
        "plot_patch"
      ]
    },
    {
      "page": "plot_rh",
      "title": "Plot hierarchical growth of species in all the patches",
      "topics": [
        "plot_rh"
      ]
    },
    {
      "page": "r_env",
      "title": "Plot environmental response curves of species in all the patches",
      "topics": [
        "r_env"
      ]
    },
    {
      "page": "r_env_CT",
      "title": "Extract Species by Patch Growth Rates and Optimal Patches",
      "topics": [
        "r_env_CT"
      ]
    },
    {
      "page": "scale_distance",
      "title": "Scale distance or matrix between 0 and 1",
      "topics": [
        "scale_distance"
      ]
    },
    {
      "page": "sp_ab_gr",
      "title": "Plot environmental response curves of species in all the patches",
      "topics": [
        "sp_ab_gr"
      ]
    },
    {
      "page": "wtd_kurtosis",
      "title": "Weighted Kurtosis with na.rm",
      "topics": [
        "wtd_kurtosis"
      ]
    },
    {
      "page": "wtd_mean",
      "title": "Weighted mean that allows NA in values and weights",
      "topics": [
        "wtd_mean"
      ]
    },
    {
      "page": "wtd_skewness",
      "title": "Weighted Skewness with na.rm",
      "topics": [
        "wtd_skewness"
      ]
    },
    {
      "page": "wtd_var",
      "title": "Weighted Variance",
      "topics": [
        "wtd_var"
      ]
    }
  ],
  "_readme": "https://github.com/Rekyt/fdcoexist/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "matrixStats",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "Weighted.Desc.Stat",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "equation_only.Rmd",
      "filename": "equation_only.html",
      "title": "fdcoexist equation only",
      "author": "Pierre Denelle, Matthias Grenié, Cyrille Violle, François Munoz and Caroline M. Tucker",
      "engine": "knitr::rmarkdown",
      "headings": [
        "General Population Growth Equation",
        "Limiting similarity ($\\delta_{ij}$ & $\\sigma_{ij}$)",
        "Basic Limiting Similarity",
        "Variable contribution of traits to limiting similarity",
        "Considering non-linear of traits on limiting similarity",
        "Adding intra-specific competition",
        "Variable contribution of traits to environmental filtering",
        "Adding Hierarchical Competition",
        "Basic Hierarchical Competition",
        "Variable contribution of traits to hierarchical competition",
        "Considering non-linear effect of hierarchical competiton",
        "Updated final equation",
        "Considering Species Dispersal Across Patches",
        "Final equation",
        "Single trait contributing to everything",
        "Multiple traits co-contributing to some processes"
      ],
      "created": "2021-02-23 13:29:58",
      "modified": "2022-10-11 13:58:42",
      "commits": 7
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "fdcoexist",
  "_universes": [
    "rekyt"
  ],
  "_failure": {
    "version": "0.0.1",
    "commit": {
      "id": "08d75af742c61d81d49b8699be8242b4dd67899e",
      "author": "Rekyt <matthias.grenie@ens-lyon.fr>",
      "committer": "Rekyt <matthias.grenie@ens-lyon.fr>",
      "message": "Try fixing checks\n",
      "time": 1665496722
    },
    "buildurl": "https://github.com/r-universe/rekyt/actions/runs/26847413023",
    "date": "2026-06-05T06:03:07.605Z",
    "job": {
      "job": 79672782062,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7429888777"
    }
  },
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-04-17T05:33:07.000Z",
      "distro": "noble",
      "commit": "08d75af742c61d81d49b8699be8242b4dd67899e",
      "fileid": "d38a127a1f1662eff3d5e8088053de165a15d38493591ef030f7ccf134c6b943",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rekyt/actions/runs/24549185206"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-04-17T05:29:55.000Z",
      "commit": "08d75af742c61d81d49b8699be8242b4dd67899e",
      "fileid": "bccbaac44a51c54f0049b950a16e1175c84e58eb1da2815ae2a5df0305832acf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rekyt/actions/runs/24549185206"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-04-17T05:30:16.000Z",
      "commit": "08d75af742c61d81d49b8699be8242b4dd67899e",
      "fileid": "bef978118ae0f44e19196e8a50d3d60d34bde07a5619b8db1c8b8c4bb934bce1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rekyt/actions/runs/24549185206"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-04-17T05:32:29.000Z",
      "commit": "08d75af742c61d81d49b8699be8242b4dd67899e",
      "fileid": "80d5ed8024e10ca8e1552001b6f1179ba99e0b7cdd2d6e619cac9ca2c4ca450c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rekyt/actions/runs/24549185206"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-04-17T05:29:33.000Z",
      "commit": "08d75af742c61d81d49b8699be8242b4dd67899e",
      "fileid": "ada868c38d6be97857414473e66bfbb96c264dc903529d3b68c915891ab16279",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rekyt/actions/runs/24549185206"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-04-17T05:29:15.000Z",
      "commit": "08d75af742c61d81d49b8699be8242b4dd67899e",
      "fileid": "5cff7dce7248b5937bee489d7d98492faa2c3ce6c2c920b75605b0fe72f51426",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/rekyt/actions/runs/24549185206"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-04-17T05:29:27.000Z",
      "commit": "08d75af742c61d81d49b8699be8242b4dd67899e",
      "fileid": "d327dbf29b90f0aeb32b93066f35453e709ee5aab58c6ec37a4db2f719b0d3c3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rekyt/actions/runs/24549185206"
    }
  ]
}