{
  "_id": "6a106362acfb0bcc41ca83fc",
  "Package": "webSDM",
  "Title": "Including Known Interactions in Species Distribution Models",
  "Version": "1.1-5",
  "Description": "A collection of tools to fit and work with trophic Species\nDistribution Models. Trophic Species Distribution Models\ncombine knowledge of trophic interactions with Bayesian\nstructural equation models that model each species as a\nfunction of its prey (or predators) and environmental\nconditions. It exploits the topological ordering of the known\ntrophic interaction network to predict species distribution in\nspace and/or time, where the prey (or predator) distribution is\nunavailable. The method implemented by the package is described\nin Poggiato, Andréoletti, Pollock and Thuiller (2022)\n<doi:10.22541/au.166853394.45823739/v1>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Authors@R": "c(person(\"Giovanni\", \"Poggiato\",, \"giov.poggiato@gmail.com\", role = c(\"aut\",\"cre\",\"cph\")),\nperson(\"Jérémy\", \"Andréoletti\", role = c(\"aut\")))",
  "URL": "https://github.com/giopogg/webSDM,\nhttps://giopogg.github.io/webSDM/",
  "BugReports": "https://github.com/giopogg/webSDM/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake libgdal-dev gdal-bin libgeos-dev libglpk-dev\nmake default-jdk libicu-dev libuv1-dev libxml2-dev libssl-dev\nlibproj-dev libsqlite3-dev zlib1g-dev",
  "Repository": "https://giopogg.r-universe.dev",
  "Date/Publication": "2024-06-24 10:27:10 UTC",
  "RemoteUrl": "https://github.com/giopogg/websdm",
  "RemoteRef": "HEAD",
  "RemoteSha": "ec86bf9f60f2d58675483ce03ff21e9ca5c70c70",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-08 07:24:35 UTC",
    "User": "root"
  },
  "Author": "Giovanni Poggiato [aut, cre, cph],\nJérémy Andréoletti [aut]",
  "Maintainer": "Giovanni Poggiato <giov.poggiato@gmail.com>",
  "MD5sum": "95b57005fe3cbea04582afb53e20d9b0",
  "_user": "giopogg",
  "_type": "src",
  "_file": "webSDM_1.1-5.tar.gz",
  "_fileid": "42212cd476b939bb614cce4f71140e7774b720563d1544aed46d0e35ef056a22",
  "_filesize": 1375259,
  "_sha256": "42212cd476b939bb614cce4f71140e7774b720563d1544aed46d0e35ef056a22",
  "_created": "2026-05-08T07:24:35.000Z",
  "_published": "2026-05-22T14:08:34.452Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77395936899,
      "time": 434,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6874144361"
    },
    {
      "job": 77395937463,
      "time": 453,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6874149003"
    },
    {
      "job": 77395937406,
      "time": 304,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6874110414"
    },
    {
      "job": 77395937327,
      "time": 268,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6874101394"
    },
    {
      "job": 77395936634,
      "time": 315,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6874035067"
    },
    {
      "job": 77395936184,
      "time": 184,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162498212"
    },
    {
      "job": 77395937166,
      "time": 435,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6874144315"
    },
    {
      "job": 77395937502,
      "time": 386,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6874131944"
    },
    {
      "job": 77395936917,
      "time": 431,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6874143514"
    }
  ],
  "_buildurl": "https://github.com/r-universe/giopogg/actions/runs/25542694062",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/giopogg/websdm",
  "_commit": {
    "id": "ec86bf9f60f2d58675483ce03ff21e9ca5c70c70",
    "author": "Giovanni Poggiato <49613661+giopogg@users.noreply.github.com>",
    "committer": "Giovanni Poggiato <49613661+giopogg@users.noreply.github.com>",
    "message": "change \\item for CRAN\n",
    "time": 1719224830
  },
  "_maintainer": {
    "name": "Giovanni Poggiato",
    "email": "giov.poggiato@gmail.com",
    "login": "giopogg",
    "uuid": 49613661
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "GGally",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Imports"
    },
    {
      "package": "brms",
      "role": "Imports"
    },
    {
      "package": "broom.mixed",
      "role": "Imports"
    },
    {
      "package": "dismo",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "jtools",
      "role": "Imports"
    },
    {
      "package": "rstanarm",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "loo",
      "role": "Suggests"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    },
    {
      "package": "network",
      "role": "Suggests"
    },
    {
      "package": "sna",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "intergraph",
      "role": "Suggests"
    }
  ],
  "_owner": "giopogg",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 18,
  "_contributors": [
    {
      "user": "giopogg",
      "count": 122,
      "uuid": 49613661
    },
    {
      "user": "paul-buerkner",
      "count": 1,
      "uuid": 12938496
    }
  ],
  "_userbio": {
    "uuid": 49613661,
    "type": "user",
    "name": "Giovanni Poggiato",
    "description": "Phd student in statistical ecology at Laboratoire d'écologie alpine Grenoble"
  },
  "_downloads": {
    "count": 229,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/webSDM"
  },
  "_devurl": "https://github.com/giopogg/websdm",
  "_pkgdown": "https://giopogg.github.io/webSDM/",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/webSDM.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/giopogg/websdm",
  "_realowner": "giopogg",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1-1",
      "date": "2022-11-25"
    },
    {
      "version": "1.1-3",
      "date": "2023-03-14"
    },
    {
      "version": "1.1-4",
      "date": "2023-09-18"
    },
    {
      "version": "1.1-5",
      "date": "2024-06-24"
    }
  ],
  "_exports": [
    "computeVariableImportance",
    "evaluateModelFit",
    "plotG",
    "plotG_inferred",
    "predictPotential",
    "SDMfit",
    "trophicSDM",
    "trophicSDM_CV"
  ],
  "_datasets": [
    {
      "name": "G",
      "title": "Simulated environemntal covariates G",
      "object": "G",
      "file": "G.rda",
      "class": [
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "X",
      "title": "Simulated environmental covariates X",
      "object": "X",
      "file": "X.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "",
        "X_1",
        "X_2"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "Y",
      "title": "Simulated species distribution Y",
      "object": "Y",
      "file": "Y.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "Y1",
        "Y2",
        "Y3",
        "Y4",
        "Y5",
        "Y6"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "buildFormula",
      "title": "Builds SDM formulae",
      "topics": [
        "buildFormula"
      ]
    },
    {
      "page": "coef.SDMfit",
      "title": "Gets regression coefficients from a local model, i.e. a SDMfit object.",
      "topics": [
        "coef.SDMfit"
      ]
    },
    {
      "page": "coef.trophicSDMfit",
      "title": "Gets regression coefficients from a fitted trophicSDM model.",
      "topics": [
        "coef.trophicSDMfit"
      ]
    },
    {
      "page": "computeVariableImportance",
      "title": "Computes variable importance of (groups of) variables of fitted a trophicSDM model.",
      "topics": [
        "computeVariableImportance"
      ]
    },
    {
      "page": "evaluateModelFit",
      "title": "Evaluates prediction goodness of fit",
      "topics": [
        "evaluateModelFit"
      ]
    },
    {
      "page": "G",
      "title": "Simulated environemntal covariates G",
      "topics": [
        "G"
      ]
    },
    {
      "page": "global",
      "title": "Global",
      "topics": [
        "global"
      ]
    },
    {
      "page": "loo.trophicSDMfit",
      "title": "Computes an approximation of loo for the whole model",
      "topics": [
        "loo.trophicSDMfit"
      ]
    },
    {
      "page": "plot.SDMfit",
      "title": "Plots the regression coefficients of a local model",
      "topics": [
        "plot.SDMfit"
      ]
    },
    {
      "page": "plot.trophicSDMfit",
      "title": "Plots the regression coefficients of a fitted trophicSDM model",
      "topics": [
        "plot.trophicSDMfit"
      ]
    },
    {
      "page": "plotG",
      "title": "Plots the metaweb G",
      "topics": [
        "plotG"
      ]
    },
    {
      "page": "plotG_inferred",
      "title": "Plot the metaweb G according to the inferred coefficients",
      "topics": [
        "plotG_inferred"
      ]
    },
    {
      "page": "predict.SDMfit",
      "title": "Predicts with a local model",
      "topics": [
        "predict.SDMfit"
      ]
    },
    {
      "page": "predict.trophicSDMfit",
      "title": "Computes predicted values from the fitted trophicSDMfit model",
      "topics": [
        "predict.trophicSDMfit"
      ]
    },
    {
      "page": "predictPotential",
      "title": "Predicts species potential niche",
      "topics": [
        "predictPotential"
      ]
    },
    {
      "page": "print.SDMfit",
      "title": "Prints a SDMfit object",
      "topics": [
        "print.SDMfit"
      ]
    },
    {
      "page": "print.trophicSDMfit",
      "title": "Prints a fitted trophicSDM model",
      "topics": [
        "print.trophicSDMfit"
      ]
    },
    {
      "page": "SDMfit",
      "title": "Fitting a single-species SDM",
      "topics": [
        "SDMfit"
      ]
    },
    {
      "page": "summary.SDMfit",
      "title": "Summary of a fitted SDMfit model",
      "topics": [
        "summary.SDMfit"
      ]
    },
    {
      "page": "summary.trophicSDMfit",
      "title": "Summary of a fitted trophicSDM model",
      "topics": [
        "summary.trophicSDMfit"
      ]
    },
    {
      "page": "trophicSDM",
      "title": "Fitting a trophic Species distribution model",
      "topics": [
        "trophicSDM"
      ]
    },
    {
      "page": "trophicSDM_CV",
      "title": "Compute K-fold cross-validation predicted values from a fitted trophicSDM model",
      "topics": [
        "trophicSDM_CV"
      ]
    },
    {
      "page": "X",
      "title": "Simulated environmental covariates X",
      "topics": [
        "X"
      ]
    },
    {
      "page": "Y",
      "title": "Simulated species distribution Y",
      "topics": [
        "Y"
      ]
    }
  ],
  "_readme": "https://github.com/giopogg/websdm/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "bayesplot",
    "BH",
    "boot",
    "bridgesampling",
    "brms",
    "Brobdingnag",
    "broom",
    "broom.mixed",
    "bslib",
    "cachem",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "colourpicker",
    "commonmark",
    "cpp11",
    "crayon",
    "crosstalk",
    "desc",
    "digest",
    "dismo",
    "distributional",
    "dplyr",
    "DT",
    "dygraphs",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "foreach",
    "fs",
    "furrr",
    "future",
    "future.apply",
    "generics",
    "GGally",
    "ggplot2",
    "ggridges",
    "ggstats",
    "glmnet",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "gtools",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "igraph",
    "inline",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "jtools",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "listenv",
    "litedown",
    "lme4",
    "loo",
    "magrittr",
    "markdown",
    "MASS",
    "Matrix",
    "matrixStats",
    "memoise",
    "mgcv",
    "mime",
    "miniUI",
    "minqa",
    "mvtnorm",
    "nleqslv",
    "nlme",
    "nloptr",
    "numDeriv",
    "otel",
    "pander",
    "parallelly",
    "patchwork",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "prettyunits",
    "processx",
    "progress",
    "promises",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "rappdirs",
    "raster",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "reformulas",
    "reshape2",
    "rlang",
    "rmarkdown",
    "rstan",
    "rstanarm",
    "rstantools",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "shape",
    "shiny",
    "shinyjs",
    "shinystan",
    "shinythemes",
    "sourcetools",
    "sp",
    "StanHeaders",
    "stringi",
    "stringr",
    "survival",
    "tensorA",
    "terra",
    "threejs",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xtable",
    "xts",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "Composite_variables.Rmd",
      "filename": "Composite_variables.html",
      "title": "Composite variables and biotic-abiotic interactions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Composite variables",
        "Composite variables and groups of preys",
        "Custom formula",
        "On computeVariableImportance with composite variable",
        "Interaction with biotic and abiotic terms"
      ],
      "created": "2022-11-13 21:50:29",
      "modified": "2022-11-21 14:56:38",
      "commits": 4
    },
    {
      "source": "Introduction.Rmd",
      "filename": "Introduction.html",
      "title": "Introduction to trophic SDM",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Install and load webSDM",
        "Simulate data",
        "Create trophic interaction network",
        "Fit trophic SDM",
        "A trophicSDMfit object",
        "Analyse a fitted trophicSDM",
        "MCMC convergence",
        "Parameter estimates and interpretation",
        "Analysis of local models",
        "Predictions with trophic SDM",
        "Model evaluation",
        "AIC, loo",
        "Interpolation",
        "Cross-validation",
        "Potential niche",
        "Author",
        "References"
      ],
      "created": "2022-10-23 18:31:34",
      "modified": "2023-09-18 09:19:57",
      "commits": 13
    },
    {
      "source": "Differences_with_SDMs.Rmd",
      "filename": "Differences_with_SDMs.html",
      "title": "Subtle and obvious differences between SDM and trophic SDM",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Compare trophic and classical SDMs: difference and equalities",
        "The simplest case",
        "Simulation",
        "Does this always hold?",
        "Non-linear relationship between prey and predator",
        "Non-continuous observable entities (presence-absence, counts)",
        "Simulations",
        "Non-linear statistical model"
      ],
      "created": "2022-11-08 23:13:32",
      "modified": "2023-09-18 09:19:57",
      "commits": 8
    }
  ],
  "_score": 5.431363764158987,
  "_indexed": true,
  "_nocasepkg": "websdm",
  "_universes": [
    "giopogg"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1-5",
      "date": "2026-05-08T07:28:25.000Z",
      "distro": "noble",
      "commit": "ec86bf9f60f2d58675483ce03ff21e9ca5c70c70",
      "fileid": "095b7b3dd152713a2a0f5eaa5b99750c43bb8d8a80a56b3a65cd9e04399ca184",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giopogg/actions/runs/25542694062"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1-5",
      "date": "2026-05-08T07:28:49.000Z",
      "distro": "noble",
      "commit": "ec86bf9f60f2d58675483ce03ff21e9ca5c70c70",
      "fileid": "031c883b133d4121e465c9dcf6c748651d9c4b1230db7a0424350f9829e2df9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giopogg/actions/runs/25542694062"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1-5",
      "date": "2026-05-08T07:27:15.000Z",
      "commit": "ec86bf9f60f2d58675483ce03ff21e9ca5c70c70",
      "fileid": "677db37262a174f9a0625fbf03c6da0ae3d34125a4824985d66ad4114de9caff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giopogg/actions/runs/25542694062"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1-5",
      "date": "2026-05-08T07:27:00.000Z",
      "commit": "ec86bf9f60f2d58675483ce03ff21e9ca5c70c70",
      "fileid": "2a7f20d534433d0f66a0e39b11ba5ce0d6378b4e2dc9e2284f21bc2467ae3f98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giopogg/actions/runs/25542694062"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1-5",
      "date": "2026-05-08T07:26:56.000Z",
      "commit": "ec86bf9f60f2d58675483ce03ff21e9ca5c70c70",
      "fileid": "07b6efdf1a539b1e8886761cd83ac886d94a82d622e4127e34abaaf12835d333",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giopogg/actions/runs/25542694062"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1-5",
      "date": "2026-05-08T07:26:53.000Z",
      "commit": "ec86bf9f60f2d58675483ce03ff21e9ca5c70c70",
      "fileid": "b602482c65b48f7dc791c904c973d283e2efd82d8c623844e7ae8038eaddbf83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giopogg/actions/runs/25542694062"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1-5",
      "date": "2026-05-08T07:26:45.000Z",
      "commit": "ec86bf9f60f2d58675483ce03ff21e9ca5c70c70",
      "fileid": "f77fff57db247a7b12e284a8488ca26640c648d22d7fefb3620780539b862890",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giopogg/actions/runs/25542694062"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1-5",
      "date": "2026-05-22T14:07:04.000Z",
      "commit": "ec86bf9f60f2d58675483ce03ff21e9ca5c70c70",
      "fileid": "cda0f7f118748544281fe4b76778f44ae91bad321e54e863b144eb83b008ff7d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/giopogg/actions/runs/25542694062"
    }
  ]
}