{
  "_id": "6ae4720f8d250e7ad09f1c52",
  "Package": "EcoNiche",
  "Type": "Package",
  "Title": "Community Niche Position and Width Estimation Tools",
  "Version": "1.0.3",
  "Authors@R": "c(\nperson(\"Shuotao\", \"Zhou\", , \"zhoushuotao@stu.hunau.edu.cn\", role = c(\"aut\", \"cre\")),\nperson(\"Kai\", \"Feng\", , \"kaifeng@rcees.ac.cn\", role = \"aut\"),\nperson(\"Ye\", \"Deng\", , \"yedeng@rcees.ac.cn\", role = \"aut\")\n)",
  "Description": "Provides methods for estimating species niche position and\nniche breadth under continuous environmental gradients. The\npackage implements canonical correspondence analysis (CCA),\npartial CCA (pCCA), generalized additive models (GAM), and\nLevins' niche breadth metrics for species-level and\ncommunity-level analyses. Methods are based on ter Braak (1986)\n<doi:10.2307/1938672>, Okie et al. (2015)\n<doi:10.1098/rspb.2014.2630>, Feng et al. (2020)\n<doi:10.1111/mec.15441>, Wood (2017)\n<doi:10.1201/9781315370279>, and Levins (1968,\nISBN:978-0691080628).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/yedeng-lab/EcoNiche",
  "BugReports": "https://github.com/yedeng-lab/EcoNiche/issues",
  "Repository": "https://yedeng-lab.r-universe.dev",
  "Date/Publication": "2026-08-01 07:44:57 UTC",
  "RemoteUrl": "https://github.com/yedeng-lab/econiche",
  "RemoteRef": "HEAD",
  "RemoteSha": "46632fa1e2a1ed28efe6b0af9fbbe3ae2b5bb9ff",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-30 09:29:10 UTC",
    "User": "root"
  },
  "Author": "Shuotao Zhou [aut, cre],\nKai Feng [aut],\nYe Deng [aut]",
  "Maintainer": "Shuotao Zhou <zhoushuotao@stu.hunau.edu.cn>",
  "_user": "yedeng-lab",
  "_type": "src",
  "_file": "EcoNiche_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/29dd488f8018eefbe3a34e3a2baf2e0b0dd37ab66d83283afa4fa81c5fb65c27",
  "_filesize": 291162,
  "_sha256": "29dd488f8018eefbe3a34e3a2baf2e0b0dd37ab66d83283afa4fa81c5fb65c27",
  "_expires": "2027-02-07T10:31:41.000Z",
  "_created": "2026-10-30T09:29:10.000Z",
  "_published": "2026-10-30T10:31:43.101Z",
  "_upstream": "https://github.com/yedeng-lab/econiche",
  "_status": "success",
  "_maintainer": {
    "name": "Shuotao Zhou",
    "email": "zhoushuotao@stu.hunau.edu.cn",
    "login": "zhoushuotao",
    "description": "",
    "uuid": 119387070
  },
  "_jobs": [
    {
      "job": 123989664008,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12966009766"
    },
    {
      "job": 123989663968,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12966454432"
    },
    {
      "job": 123989664053,
      "time": 224,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12970540853"
    },
    {
      "job": 123989664075,
      "time": 214,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12970192346"
    },
    {
      "job": 123988139816,
      "time": 227,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12966204387"
    },
    {
      "job": 123989663970,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12967575563"
    },
    {
      "job": 123989664103,
      "time": 89,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12967301526"
    },
    {
      "job": 123989664212,
      "time": 87,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12967131591"
    },
    {
      "job": 123989663991,
      "time": 85,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12966649110"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/41033311199",
  "_commit": {
    "id": "46632fa1e2a1ed28efe6b0af9fbbe3ae2b5bb9ff",
    "author": "zhoushuotao <119387070+zhoushuotao@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1785570297
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "vegan",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "viridisLite",
      "role": "Suggests"
    }
  ],
  "_owner": "yedeng-lab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 7
    },
    {
      "week": "2026-10",
      "n": 4
    },
    {
      "week": "2026-25",
      "n": 2
    },
    {
      "week": "2026-31",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "zhoushuotao",
      "count": 18,
      "uuid": 119387070
    }
  ],
  "_userbio": {
    "uuid": 95005688,
    "type": "organization",
    "name": "Deng Lab",
    "followers": 25,
    "description": "Ye Deng's Lab for Metagenomics for Environmental Microbiology, from RCEES, CAS"
  },
  "_downloads": {
    "count": 222,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/EcoNiche"
  },
  "_devurl": "https://github.com/yedeng-lab/econiche",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/EcoNiche.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/yedeng-lab/econiche",
  "_realowner": "yedeng-lab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2026-03-10"
    },
    {
      "version": "1.0.3",
      "date": "2026-06-16"
    }
  ],
  "_exports": [
    "cca_calc_gradient",
    "cca_calc_group",
    "cca_calc_species",
    "cca_fit_ordination",
    "cca_plot_group_env",
    "cca_prep_env",
    "cca_workflow",
    "cca_workflow_gradient",
    "cca_workflow_group",
    "gam_calc_sitewidth",
    "gam_fit_model",
    "gam_plot_species",
    "levins_calc_binned",
    "levins_calc_group",
    "levins_plot_pos_width",
    "niche_width_calc"
  ],
  "_datasets": [
    {
      "name": "plant_env",
      "title": "Example plant environmental table",
      "object": "plant_env",
      "class": [
        "data.frame"
      ],
      "fields": [
        "TN",
        "TK",
        "TP",
        "SOC",
        "AP",
        "AN",
        "Moisture",
        "AMT",
        "AMP",
        "pH",
        "abspH"
      ],
      "rows": 290,
      "table": true,
      "tojson": true
    },
    {
      "name": "plant_group",
      "title": "Example plant sample grouping",
      "object": "plant_group",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "plant_otu",
      "title": "Example plant community abundance table",
      "object": "plant_otu",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 1038,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cca_calc_gradient",
      "title": "Plot Site Niche Position vs Environmental Gradient (Step 4)",
      "topics": [
        "cca_calc_gradient"
      ]
    },
    {
      "page": "cca_calc_group",
      "title": "Calculate Niche Width Summary by Group (Step 5)",
      "topics": [
        "cca_calc_group"
      ]
    },
    {
      "page": "cca_calc_species",
      "title": "Calculate Species Niche Width and Position (Step 3)",
      "topics": [
        "cca_calc_species"
      ]
    },
    {
      "page": "cca_fit_ordination",
      "title": "Fit CCA and Partial-CCA Ordination (Step 2)",
      "topics": [
        "cca_fit_ordination"
      ]
    },
    {
      "page": "cca_plot_group_env",
      "title": "Plot Sample/Group Niche Width vs Environmental Gradient (Step 6)",
      "topics": [
        "cca_plot_group_env"
      ]
    },
    {
      "page": "cca_prep_env",
      "title": "Prepare Environmental Data for CCA (Step 1)",
      "topics": [
        "cca_prep_env"
      ]
    },
    {
      "page": "cca_workflow",
      "title": "CCA-Based Niche Analysis Workflow Controller",
      "topics": [
        "cca_workflow"
      ]
    },
    {
      "page": "cca_workflow_gradient",
      "title": "Execute Gradient-Based Workflow (Steps 1-4)",
      "topics": [
        "cca_workflow_gradient"
      ]
    },
    {
      "page": "cca_workflow_group",
      "title": "Execute Group-Based Workflow (Steps 1-2, 5-6)",
      "topics": [
        "cca_workflow_group"
      ]
    },
    {
      "page": "gam_calc_sitewidth",
      "title": "Calculate Sample-Level Niche Width Weighted by Abundance",
      "topics": [
        "gam_calc_sitewidth"
      ]
    },
    {
      "page": "gam_fit_model",
      "title": "Fit GAM-Based Niche Curves for All OTUs",
      "topics": [
        "gam_fit_model"
      ]
    },
    {
      "page": "gam_plot_species",
      "title": "Plot GAM-Based Niche Curve for a Single OTU",
      "topics": [
        "gam_plot_species"
      ]
    },
    {
      "page": "levins_calc_binned",
      "title": "Calculate Levins Niche Width Along a Gradient (Binned States)",
      "topics": [
        "levins_calc_binned"
      ]
    },
    {
      "page": "levins_calc_group",
      "title": "Calculate Community-Mean Levins Niche Width Along a Gradient",
      "topics": [
        "levins_calc_group"
      ]
    },
    {
      "page": "levins_plot_pos_width",
      "title": "Plot Species Niche Position vs Levins Width",
      "topics": [
        "levins_plot_pos_width"
      ]
    },
    {
      "page": "niche_width_calc",
      "title": "Calculate Niche Width (Samples as States)",
      "topics": [
        "niche_width_calc"
      ]
    },
    {
      "page": "plant_env",
      "title": "Example plant environmental table",
      "topics": [
        "plant_env"
      ]
    },
    {
      "page": "plant_group",
      "title": "Example plant sample grouping",
      "topics": [
        "plant_group"
      ]
    },
    {
      "page": "plant_otu",
      "title": "Example plant community abundance table",
      "topics": [
        "plant_otu"
      ]
    }
  ],
  "_readme": "https://github.com/yedeng-lab/econiche/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cluster",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "mgcv",
    "nlme",
    "permute",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "vegan",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "coniche-workflow.Rmd",
      "filename": "coniche-workflow.html",
      "title": "EcoNiche workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Input data",
        "CCA / partial-CCA workflow",
        "Group-level workflow",
        "GAM response analysis",
        "Levins breadth along a binned gradient"
      ],
      "created": "2026-03-01 03:31:15",
      "modified": "2026-06-17 02:02:34",
      "commits": 3
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "econiche",
  "_universes": [
    "yedeng-lab",
    "zhoushuotao"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-30T09:31:12.000Z",
      "distro": "resolute",
      "commit": "46632fa1e2a1ed28efe6b0af9fbbe3ae2b5bb9ff",
      "fileid": "https://r2.ropensci.org/0e0e461255dce89831e0928f8293cd195ca088bd9a3d3eeca1bbc83d8d0711fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/41033311199"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-30T09:31:09.000Z",
      "distro": "resolute",
      "commit": "46632fa1e2a1ed28efe6b0af9fbbe3ae2b5bb9ff",
      "fileid": "https://r2.ropensci.org/51665a06750eec995cd1a9a95f7f22772fc793afdf2a5bd33cd34c3080136ac9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/41033311199"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-10-30T10:27:38.000Z",
      "commit": "46632fa1e2a1ed28efe6b0af9fbbe3ae2b5bb9ff",
      "fileid": "https://r2.ropensci.org/a74809fde8ddd49d745f614bd3e8bce9cb69a11787efbb6caec54ceed3a4de36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/41033311199"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-10-30T10:30:00.000Z",
      "commit": "46632fa1e2a1ed28efe6b0af9fbbe3ae2b5bb9ff",
      "fileid": "https://r2.ropensci.org/8db790761800c5f3529ce6f467a1cc18b5d0b7ea90ea3e390edfe3fb244f5e4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/41033311199"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-10-30T09:31:15.000Z",
      "commit": "46632fa1e2a1ed28efe6b0af9fbbe3ae2b5bb9ff",
      "fileid": "https://r2.ropensci.org/914d4b27c1a12e3915b5119f0d28d013142c13f41a4a48523d3b6aa27c406e80",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/41033311199"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-30T09:30:29.000Z",
      "commit": "46632fa1e2a1ed28efe6b0af9fbbe3ae2b5bb9ff",
      "fileid": "https://r2.ropensci.org/1489ca66ccafd82382a156fb5916f6ea1f2da642f1627613aab8e8219137bfd5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/41033311199"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-30T09:30:27.000Z",
      "commit": "46632fa1e2a1ed28efe6b0af9fbbe3ae2b5bb9ff",
      "fileid": "https://r2.ropensci.org/4e29b9f91f379e958983dd10bbfacc104cb25e7ccf7540f0b0f81f65a4336506",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/41033311199"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-30T09:30:24.000Z",
      "commit": "46632fa1e2a1ed28efe6b0af9fbbe3ae2b5bb9ff",
      "fileid": "https://r2.ropensci.org/f277725410e14da3892f1f7c513aae3e9ab50e983eb8bbc3b1074caa6e94f314",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/41033311199"
    }
  ]
}