{
  "_id": "6adb66ba1f8fc22f6383d0dc",
  "Package": "ccva",
  "Type": "Package",
  "Title": "Climate Change Vulnerability Assessment with Constrained Latent\nModels",
  "Version": "0.1.1",
  "Authors@R": "person(\"Hassan\", \"Doosti\", email = \"hassan.doosti@mq.edu.au\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(affiliation = \"Macquarie University\"))",
  "Description": "A general framework for climate change vulnerability\nassessment (CCVA) of any species and any dataset. Variables are\ntagged as exposure, sensitivity or adaptive capacity; each\ncomponent is computed from its own predictors by a chosen\nmethod; and the three components are combined into\nvulnerability. Methods range from the rule-based framework of\nFoden et al. (2013) <doi:10.1371/journal.pone.0065427> and the\nconventional weighted index of Ofori et al. (2017)\n<doi:10.1038/s41598-017-13245-y> to shape-constrained additive\nmodels ('scam'), latent-variable structural equation models\n('lavaan') in which vulnerability is inferred from observable\nproxies, and penalised regression ('glmnet') for\nhigh-dimensional predictors. Missing traits and outcomes are\nhandled by full-information maximum likelihood. Ecological\nknowledge enters as explicit constraints on predictors, on each\ncomponent's role and on the links between components.\nDiagnostics, validation against observed outcomes, bootstrap\nand weight-based uncertainty, calibrated risk predictions and\nplots for every step are included.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/DoostiH/ccva",
  "BugReports": "https://github.com/DoostiH/ccva/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "RoxygenNote": "7.3.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-23 13:45:42 UTC",
    "User": "root"
  },
  "Author": "Hassan Doosti [aut, cre, cph] (affiliation: Macquarie\nUniversity)",
  "Maintainer": "Hassan Doosti <hassan.doosti@mq.edu.au>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-23 09:10:49 UTC",
  "RemoteUrl": "https://github.com/cran/ccva",
  "RemoteRef": "HEAD",
  "RemoteSha": "995d8cde6af0cd06f5e736fbecfe60ec68a9ec07",
  "_user": "cran",
  "_type": "src",
  "_file": "ccva_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/3e27f05df9c78edb7aea53f24a218ed1a3d33952743d1cd9dc438b2d318cfde7",
  "_filesize": 2536272,
  "_sha256": "3e27f05df9c78edb7aea53f24a218ed1a3d33952743d1cd9dc438b2d318cfde7",
  "_expires": "2027-01-31T13:52:55.000Z",
  "_created": "2026-10-23T13:45:42.000Z",
  "_published": "2026-10-23T13:52:57.694Z",
  "_upstream": "https://github.com/cran/ccva",
  "_status": "success",
  "_maintainer": {
    "name": "Hassan Doosti",
    "email": "hassan.doosti@mq.edu.au"
  },
  "_jobs": [
    {
      "job": 120448739971,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12505997948"
    },
    {
      "job": 120448739843,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12506466902"
    },
    {
      "job": 120446341124,
      "time": 299,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12506645054"
    },
    {
      "job": 120448739905,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12506097552"
    },
    {
      "job": 120448739754,
      "time": 127,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12506735477"
    },
    {
      "job": 120448740006,
      "time": 140,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12505922698"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39963173219",
  "_commit": {
    "id": "995d8cde6af0cd06f5e736fbecfe60ec68a9ec07",
    "author": "Hassan Doosti <hassan.doosti@mq.edu.au>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.1\n",
    "time": 1792746649
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "lavaan",
      "version": ">= 0.6-12",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "scam",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-43",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-10-22"
    },
    {
      "name": "0.1.1",
      "date": "2026-10-23"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ccva"
  },
  "_devurl": "https://github.com/doostih/ccva",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/ccva.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/doostih/ccva",
  "_realowner": "doostih",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-22"
    }
  ],
  "_exports": [
    "as_ccva",
    "ccva",
    "ccva_adaptive",
    "ccva_adjust_method",
    "ccva_aggregate",
    "ccva_calibrate",
    "ccva_check",
    "ccva_classify",
    "ccva_colours",
    "ccva_combine",
    "ccva_compare",
    "ccva_component",
    "ccva_constraints",
    "ccva_cv",
    "ccva_default_constraints",
    "ccva_exposure",
    "ccva_methods",
    "ccva_plot",
    "ccva_rank",
    "ccva_recommend",
    "ccva_register",
    "ccva_report",
    "ccva_sdm_exposure",
    "ccva_sensitivity",
    "ccva_sim_data",
    "ccva_simulate",
    "ccva_thermal_margin",
    "ccva_uncertainty",
    "ccva_unconstrained",
    "ccva_unregister",
    "ccva_validate",
    "constrain_bounds",
    "constrain_equal",
    "constrain_fixed",
    "constrain_link",
    "constrain_moderator",
    "constrain_shape",
    "constrain_sign",
    "theme_ccva"
  ],
  "_datasets": [
    {
      "name": "ccva_sim",
      "title": "Simulated CCVA dataset",
      "object": "ccva_sim",
      "class": [
        "data.frame"
      ],
      "fields": [
        "species",
        "E1_risk",
        "E2_risk",
        "E3_risk",
        "s1_thermal",
        "s2_range",
        "s3_climzones",
        "s4_habitat",
        "s5_diet",
        "s6_reprorate",
        "s7_repromode",
        "s8_clutch",
        "s9_survival",
        "s10_genlen",
        "s11_lifespan",
        "a1_genetic",
        "a2_bodysize",
        "a3_lowfrag",
        "a4_microhab",
        "iucn",
        "pop_trend",
        "range_change",
        "E_star",
        "S_star",
        "A_star",
        "V_star"
      ],
      "rows": 300,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_ccva",
      "title": "Build a CCVA dataset",
      "topics": [
        "as_ccva"
      ]
    },
    {
      "page": "ccva",
      "title": "Run a complete CCVA",
      "topics": [
        "ccva"
      ]
    },
    {
      "page": "ccva_adjust_method",
      "title": "Adjust trait measurements for assay methodology",
      "topics": [
        "ccva_adjust_method"
      ]
    },
    {
      "page": "ccva_aggregate",
      "title": "Aggregate species vulnerability to sites or communities",
      "topics": [
        "ccva_aggregate"
      ]
    },
    {
      "page": "ccva_calibrate",
      "title": "Calibrated risk predictions",
      "topics": [
        "ccva_calibrate"
      ]
    },
    {
      "page": "ccva_check",
      "title": "Diagnose the indicators before combining them",
      "topics": [
        "ccva_check"
      ]
    },
    {
      "page": "ccva_classify",
      "title": "Classify vulnerability scores into Low / Moderate / High",
      "topics": [
        "ccva_classify"
      ]
    },
    {
      "page": "ccva_combine",
      "title": "Combine the components into vulnerability",
      "topics": [
        "ccva_combine"
      ]
    },
    {
      "page": "ccva_compare",
      "title": "Compare several CCVA fits",
      "topics": [
        "ccva_compare"
      ]
    },
    {
      "page": "ccva_component",
      "title": "Score the exposure, sensitivity and adaptive-capacity components",
      "topics": [
        "ccva_adaptive",
        "ccva_component",
        "ccva_exposure",
        "ccva_sensitivity"
      ]
    },
    {
      "page": "ccva_constraints",
      "title": "Constraints on predictors and components",
      "topics": [
        "ccva_constraints",
        "ccva_default_constraints",
        "ccva_unconstrained",
        "constrain_bounds",
        "constrain_equal",
        "constrain_fixed",
        "constrain_link",
        "constrain_moderator",
        "constrain_shape",
        "constrain_sign"
      ]
    },
    {
      "page": "ccva_cv",
      "title": "Cross-validated vulnerability scores",
      "topics": [
        "ccva_cv"
      ]
    },
    {
      "page": "ccva_methods",
      "title": "List available methods",
      "topics": [
        "ccva_methods"
      ]
    },
    {
      "page": "ccva_plot",
      "title": "Plot any step of a CCVA",
      "topics": [
        "ccva_plot"
      ]
    },
    {
      "page": "ccva_rank",
      "title": "Rank units by vulnerability",
      "topics": [
        "ccva_rank"
      ]
    },
    {
      "page": "ccva_recommend",
      "title": "Match methods to the data available",
      "topics": [
        "ccva_recommend"
      ]
    },
    {
      "page": "ccva_register",
      "title": "Register a new component or combination method",
      "topics": [
        "ccva_register",
        "ccva_unregister"
      ]
    },
    {
      "page": "ccva_report",
      "title": "Write a reproducible CCVA report",
      "topics": [
        "ccva_report"
      ]
    },
    {
      "page": "ccva_sdm_exposure",
      "title": "Compute exposure predictors from species distribution model output",
      "topics": [
        "ccva_sdm_exposure"
      ]
    },
    {
      "page": "ccva_sim",
      "title": "Simulated CCVA dataset",
      "topics": [
        "ccva_sim"
      ]
    },
    {
      "page": "ccva_sim_data",
      "title": "Specification of the bundled simulated data",
      "topics": [
        "ccva_sim_data"
      ]
    },
    {
      "page": "ccva_simulate",
      "title": "Simulate CCVA data with a known latent structure",
      "topics": [
        "ccva_simulate"
      ]
    },
    {
      "page": "ccva_thermal_margin",
      "title": "Compute thermal sensitivity predictors",
      "topics": [
        "ccva_thermal_margin"
      ]
    },
    {
      "page": "ccva_uncertainty",
      "title": "Quantify uncertainty in vulnerability scores and rankings",
      "topics": [
        "ccva_uncertainty"
      ]
    },
    {
      "page": "ccva_validate",
      "title": "Validate vulnerability scores against observed outcomes",
      "topics": [
        "ccva_validate"
      ]
    },
    {
      "page": "predict.ccva_fit",
      "title": "Predict vulnerability for new units",
      "topics": [
        "predict.ccva_fit"
      ]
    },
    {
      "page": "theme_ccva",
      "title": "Colours and theme used by ccva plots",
      "topics": [
        "ccva_colours",
        "theme_ccva"
      ]
    }
  ],
  "_readme": "https://github.com/cran/ccva/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lavaan",
    "lifecycle",
    "MASS",
    "mnormt",
    "numDeriv",
    "pbivnorm",
    "quadprog",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "framework.Rmd",
      "filename": "framework.html",
      "title": "A statistical CCVA workflow, step by step",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Match the method to the data",
        "2. Control sensitivity traits for methodology",
        "3. Test how well the data measure E, S and A",
        "Incomplete trait data",
        "Rule-based assessments",
        "4. Make the causal hypotheses explicit",
        "5. Shapes that ecology justifies",
        "6. From rankings to calibrated risk",
        "7. Spatial prioritisation",
        "What is not (yet) in the package",
        "Reference"
      ],
      "created": "2026-10-22 19:21:09",
      "modified": "2026-10-23 09:10:49",
      "commits": 2
    },
    {
      "source": "ccva.Rmd",
      "filename": "ccva.html",
      "title": "Climate change vulnerability assessment with ccva",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Data",
        "Before combining anything: diagnostics",
        "2. The conventional baseline: Ofori et al. (2017)",
        "3. Vulnerability as a latent variable",
        "Which method recovers the truth?",
        "4. Constraints: imposing ecological knowledge",
        "When do constraints matter?",
        "Adaptive capacity as a moderator",
        "5. High-dimensional predictors",
        "6. How certain is the ranking?",
        "7. Classification and outputs",
        "8. Extending the framework",
        "References"
      ],
      "created": "2026-10-22 19:21:09",
      "modified": "2026-10-22 19:21:09",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "ccva",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://cran.r-universe.dev/ccva",
  "_previous": "0.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-23T13:49:46.000Z",
      "distro": "resolute",
      "commit": "995d8cde6af0cd06f5e736fbecfe60ec68a9ec07",
      "fileid": "https://r2.ropensci.org/aa86f16dec2a3db369de1ebf25af7e62c9a9eba322c5883674413f0a67b51f15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39963173219"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-23T13:49:35.000Z",
      "distro": "resolute",
      "commit": "995d8cde6af0cd06f5e736fbecfe60ec68a9ec07",
      "fileid": "https://r2.ropensci.org/bd9adc0fed1ff031a0629b758489a05efa8ca17918c5f8d8d5e739c446d6595e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39963173219"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-23T13:49:56.000Z",
      "commit": "995d8cde6af0cd06f5e736fbecfe60ec68a9ec07",
      "fileid": "https://r2.ropensci.org/bd5d1b51da093248b9ca346a4e10eb54dd697877807d44faeba6c23efafd6d56",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39963173219"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-23T13:48:22.000Z",
      "commit": "995d8cde6af0cd06f5e736fbecfe60ec68a9ec07",
      "fileid": "https://r2.ropensci.org/0f328d0d6fd64b174ad89fabeff12997ef79998e13893220eb863dcb57f6aa47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39963173219"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-23T13:48:41.000Z",
      "commit": "995d8cde6af0cd06f5e736fbecfe60ec68a9ec07",
      "fileid": "https://r2.ropensci.org/1560916d06bff86b9405720b6817f100ed7b348ecb628651604f252dff9e24c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39963173219"
    }
  ]
}