{
  "_id": "6a104b8facfb0bcc41c9ff7f",
  "Package": "EcoNiche",
  "Type": "Package",
  "Title": "Community Niche Position and Width Estimation Tools",
  "Version": "1.0.2",
  "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",
  "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-03-06 03:24:24 UTC",
  "RemoteUrl": "https://github.com/yedeng-lab/econiche",
  "RemoteRef": "HEAD",
  "RemoteSha": "a4dafeba33602336877b2da79984fded88ef6a39",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-10 07:49:24 UTC",
    "User": "root"
  },
  "Author": "Shuotao Zhou [aut, cre],\nKai Feng [aut],\nYe Deng [aut]",
  "Maintainer": "Shuotao Zhou <zhoushuotao@stu.hunau.edu.cn>",
  "MD5sum": "c0a89e845dc439a3ae1799c396728f59",
  "_user": "yedeng-lab",
  "_type": "src",
  "_file": "EcoNiche_1.0.2.tar.gz",
  "_fileid": "104223595faf81d7ac0cc1e4b4701692776da17fd68958560049ed500088f5f2",
  "_filesize": 242362,
  "_sha256": "104223595faf81d7ac0cc1e4b4701692776da17fd68958560049ed500088f5f2",
  "_created": "2026-05-10T07:49:24.000Z",
  "_published": "2026-05-22T12:26:55.976Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77379118197,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902091820"
    },
    {
      "job": 77379118385,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902090973"
    },
    {
      "job": 77379118555,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902090642"
    },
    {
      "job": 77379118703,
      "time": 159,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902091531"
    },
    {
      "job": 77379118143,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902076913"
    },
    {
      "job": 77379117866,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160437427"
    },
    {
      "job": 77379118231,
      "time": 90,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902086355"
    },
    {
      "job": 77379118588,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902085753"
    },
    {
      "job": 77379118290,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902087182"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/25623245114",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/yedeng-lab/econiche",
  "_commit": {
    "id": "a4dafeba33602336877b2da79984fded88ef6a39",
    "author": "zhoushuotao <1285792399@qq.com>",
    "committer": "zhoushuotao <1285792399@qq.com>",
    "message": "Update DESCRIPTIPN and example\n",
    "time": 1772767464
  },
  "_maintainer": {
    "name": "Shuotao Zhou",
    "email": "zhoushuotao@stu.hunau.edu.cn",
    "login": "zhoushuotao",
    "uuid": 119387070
  },
  "_registered": true,
  "_dependencies": [
    {
      "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
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "zhoushuotao",
      "count": 14,
      "uuid": 119387070
    }
  ],
  "_userbio": {
    "uuid": 95005688,
    "type": "organization",
    "name": "Deng Lab",
    "description": "Ye Deng's Lab for Metagenomics for Environmental Microbiology, from RCEES, CAS"
  },
  "_downloads": {
    "count": 478,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/EcoNiche"
  },
  "_devurl": "https://github.com/yedeng-lab/econiche",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/EcoNiche.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/yedeng-lab/econiche",
  "_realowner": "yedeng-lab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2026-03-10"
    }
  ],
  "_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"
  ],
  "_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"
      ]
    }
  ],
  "_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": [],
      "created": "2026-03-01 03:31:15",
      "modified": "2026-03-06 03:24:24",
      "commits": 2
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "econiche",
  "_universes": [
    "yedeng-lab",
    "zhoushuotao"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-10T07:51:36.000Z",
      "distro": "noble",
      "commit": "a4dafeba33602336877b2da79984fded88ef6a39",
      "fileid": "b5715582edef85398839db04c4ac20d440f11fe703b86b773c0500990200cba9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/25623245114"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-10T07:51:30.000Z",
      "distro": "noble",
      "commit": "a4dafeba33602336877b2da79984fded88ef6a39",
      "fileid": "716be1118bea3706bd59f1a9a2fea6eb21ae6825071f4995ae798a6b334cb020",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/25623245114"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-10T07:51:29.000Z",
      "commit": "a4dafeba33602336877b2da79984fded88ef6a39",
      "fileid": "f6ca4039aec19e5bc38b1d3c0e223eb3585540c547b13ef9e34d16335ee05a8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/25623245114"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-10T07:51:40.000Z",
      "commit": "a4dafeba33602336877b2da79984fded88ef6a39",
      "fileid": "807591dca83190a781616751af140f0a4fa8129b05d33458b724615746d63efc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/25623245114"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-10T07:50:40.000Z",
      "commit": "a4dafeba33602336877b2da79984fded88ef6a39",
      "fileid": "64affdc6e305eec121d719328849a9a797289344979a3b045d4adb414c72b86d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/25623245114"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-10T07:50:38.000Z",
      "commit": "a4dafeba33602336877b2da79984fded88ef6a39",
      "fileid": "54bf9d94cfb5bc6dbad324a054c2e0560a7878bbfa440afe553c5dac2ac63f8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/25623245114"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-10T07:50:49.000Z",
      "commit": "a4dafeba33602336877b2da79984fded88ef6a39",
      "fileid": "d4756873376e4801216f9b4083f4bc79af05815caf8875eb21d6ece0e3a29ff8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/25623245114"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-05-22T12:26:37.000Z",
      "commit": "a4dafeba33602336877b2da79984fded88ef6a39",
      "fileid": "b18665a877066faa3343c5d49bccff19e845984e48238dee016cb8221804ad2e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yedeng-lab/actions/runs/25623245114"
    }
  ]
}