{
  "_id": "6a5f16f514e95619b75d3ccf",
  "Package": "spacemodR",
  "Title": "Workflow for Environmental Risk Assessment: Habitat, Food Web,\nDispersal, Exposure and Risk",
  "Version": "0.1.3",
  "Authors@R": "c(person(\"Virgile\", \"Baudrot\", email = \"virgile.baudrot@qonfluens.com\", role = c(\"aut\", \"cre\")),\nperson(\"Léa\", \"Bariod\", email = \"lea.bariod@univ-fcomte.fr \", role = \"ctb\"),\nperson(\"Clémentine\", \"Fritsch\", email = \"clementine.fritsch@univ-fcomte.fr\", role = \"ctb\"),\nperson(\"Renaud\", \"Scheifler\", email = \"renaud.scheifler@univ-fcomte.fr\", role = \"ctb\")\n)",
  "Description": "A set of tools dedicated to modeling food web transfer\nbased on an initial ground raster. It provides a directed\nacyclic graph structure for a set of rasters representing the\nflow of elements (e.g., food, energy, contaminants). It also\nincludes tools for working with dispersal algorithms, enabling\nthe combination of flux data with population movement.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-21 06:46:49 UTC",
    "User": "root"
  },
  "Author": "Virgile Baudrot [aut, cre], Léa Bariod [ctb], Clémentine\nFritsch [ctb], Renaud Scheifler [ctb]",
  "Maintainer": "Virgile Baudrot <virgile.baudrot@qonfluens.com>",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://virgile-baudrot.r-universe.dev",
  "Date/Publication": "2026-02-20 09:02:41 UTC",
  "RemoteUrl": "https://github.com/cran/spacemodR",
  "RemoteRef": "HEAD",
  "RemoteSha": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
  "_user": "virgile-baudrot",
  "_type": "src",
  "_file": "spacemodR_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/48a50bb4b66202aeb33dd2e7bf2600803d86f9cf59197b8ddd392eeff72be990",
  "_filesize": 7082951,
  "_sha256": "48a50bb4b66202aeb33dd2e7bf2600803d86f9cf59197b8ddd392eeff72be990",
  "_expires": "2026-10-29T06:51:31.000Z",
  "_created": "2026-07-21T06:46:49.000Z",
  "_published": "2026-07-21T06:51:33.860Z",
  "_jobs": [
    {
      "job": 88562943228,
      "time": 212,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8486351447"
    },
    {
      "job": 88562943258,
      "time": 223,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8486354901"
    },
    {
      "job": 88562943200,
      "time": 171,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8486329169"
    },
    {
      "job": 88562943207,
      "time": 186,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8486332805"
    },
    {
      "job": 88562241001,
      "time": 241,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8486273442"
    },
    {
      "job": 88562943281,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8486322182"
    },
    {
      "job": 88562943206,
      "time": 172,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8486337121"
    },
    {
      "job": 88562943279,
      "time": 159,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8486332576"
    },
    {
      "job": 88562943222,
      "time": 153,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8486330028"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/29807895774",
  "_status": "success",
  "_upstream": "https://github.com/cran/spacemodR",
  "_commit": {
    "id": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
    "author": "Virgile Baudrot <virgile.baudrot@qonfluens.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.3\n",
    "time": 1771578161
  },
  "_maintainer": {
    "name": "Virgile Baudrot",
    "email": "virgile.baudrot@qonfluens.com",
    "login": "virgile-baudrot",
    "description": "",
    "uuid": 6065464
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "JuliaCall",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-08",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.3",
      "date": "2026-02-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "virgile-baudrot",
      "count": 1,
      "uuid": 6065464
    }
  ],
  "_userbio": {
    "uuid": 6065464,
    "type": "user",
    "name": "vbaudrot",
    "followers": 7
  },
  "_downloads": {
    "count": 190,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spacemodR"
  },
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spacemodR.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_realowner": "virgile-baudrot",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2026-02-20"
    }
  ],
  "_exports": [
    "add_habitat",
    "add_link",
    "add_nohabitat",
    "compute_dispersal",
    "compute_kernel",
    "dispersal",
    "flux",
    "get_departements_for_roi",
    "get_ocsge_data_fgb",
    "habitat",
    "habitat_raster",
    "intake",
    "is_cyclic",
    "load_raster_extdata",
    "lower_neighbors",
    "normalize_weights",
    "raster_stack",
    "spacemodel",
    "transfer",
    "trophic"
  ],
  "_datasets": [
    {
      "name": "ocsge_metaleurop",
      "title": "SF object defining very simplified OCS-GE soil cover metaleurop",
      "object": "ocsge_metaleurop",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "definition",
        "ID",
        "CODE_US",
        "MILLESIME",
        "SOURCE",
        "OSSATURE",
        "ID_ORIGINE",
        "CODE_OR",
        "code",
        "html_color",
        "geometry",
        "code_cs"
      ],
      "rows": 9,
      "table": false,
      "tojson": true
    },
    {
      "name": "ocsge_species_dict",
      "title": "Valued weight between OCSGE layer and species",
      "object": "ocsge_species_dict",
      "class": [
        "data.frame"
      ],
      "fields": [
        "code_cs",
        "weight_global",
        "weight_movement",
        "weight_foraging",
        "resistance",
        "nom_espece"
      ],
      "rows": 13090,
      "table": true,
      "tojson": true
    },
    {
      "name": "ref_ocsge",
      "title": "Nomenclature of OCS-GE soil cover",
      "object": "ref_ocsge",
      "class": [
        "data.frame"
      ],
      "fields": [
        "code_cs",
        "code_cs_",
        "nomenclature",
        "couleur"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    },
    {
      "name": "roi_metaleurop",
      "title": "SF object defining ROI metaleurop",
      "object": "roi_metaleurop",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "id",
        "geometry"
      ],
      "rows": 1,
      "table": false,
      "tojson": true
    },
    {
      "name": "sf_micromammals",
      "title": "DataBase of collected MicroMammals species",
      "object": "sf_micromammals",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "year",
        "season",
        "mesh",
        "plot",
        "landscape",
        "group",
        "genus",
        "species",
        "code_soil",
        "long_C",
        "lat_C",
        "long_S",
        "lat_S",
        "ind",
        "trap_line",
        "code",
        "age",
        "cd_S",
        "clay_%",
        "ph",
        "om_%",
        "cd_L_DW",
        "cd_K_DW",
        "cd_WB_DW",
        "cd_WB_FW",
        "geometry"
      ],
      "rows": 1426,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "sub-.trophic_tbl",
      "title": "Subset method for trophic_tbl",
      "topics": [
        "[.trophic_tbl"
      ]
    },
    {
      "page": "add_habitat",
      "title": "Add habitat zones to a Habitat object",
      "topics": [
        "add_habitat"
      ]
    },
    {
      "page": "add_link",
      "title": "Add links to a trophic table",
      "topics": [
        "add_link"
      ]
    },
    {
      "page": "add_nohabitat",
      "title": "Add non-habitat zones to a Habitat object",
      "topics": [
        "add_nohabitat"
      ]
    },
    {
      "page": "compute_dispersal",
      "title": "Compute dispersal or spread map (Generic Engine)",
      "topics": [
        "compute_dispersal"
      ]
    },
    {
      "page": "compute_kernel",
      "title": "Create a 2D Gaussian motion kernel as a SpatRaster",
      "topics": [
        "compute_kernel"
      ]
    },
    {
      "page": "dispersal",
      "title": "Disperse a species or variable over the landscape",
      "topics": [
        "dispersal"
      ]
    },
    {
      "page": "flux",
      "title": "Apply trophic flux from a resource layer",
      "topics": [
        "flux"
      ]
    },
    {
      "page": "get_departements_for_roi",
      "title": "Identify codes of departments intersecting a region of interest",
      "topics": [
        "get_departements_for_roi"
      ]
    },
    {
      "page": "get_ocsge_data_fgb",
      "title": "Efficiently retrieve OCS GE data from a remote FlatGeobuf",
      "topics": [
        "get_ocsge_data_fgb"
      ]
    },
    {
      "page": "habitat",
      "title": "Create a Habitat object",
      "topics": [
        "habitat"
      ]
    },
    {
      "page": "habitat_raster",
      "title": "Create a raster from a habitat object",
      "topics": [
        "habitat_raster"
      ]
    },
    {
      "page": "intake",
      "title": "Constructor for Intake Parameters",
      "topics": [
        "intake"
      ]
    },
    {
      "page": "is_cyclic",
      "title": "Test if a directed graph is cyclic",
      "topics": [
        "is_cyclic"
      ]
    },
    {
      "page": "load_raster_extdata",
      "title": "load raster file from internal data",
      "topics": [
        "load_raster_extdata"
      ]
    },
    {
      "page": "lower_neighbors",
      "title": "Get resource layers for a given trophic layer",
      "topics": [
        "lower_neighbors"
      ]
    },
    {
      "page": "normalize_weights",
      "title": "Normalize weights of a trophic table",
      "topics": [
        "normalize_weights"
      ]
    },
    {
      "page": "ocsge_metaleurop",
      "title": "SF object defining very simplified OCS-GE soil cover metaleurop",
      "topics": [
        "ocsge_metaleurop"
      ]
    },
    {
      "page": "ocsge_species_dict",
      "title": "Valued weight between OCSGE layer and species",
      "topics": [
        "ocsge_species_dict"
      ]
    },
    {
      "page": "plot.trophic_tbl",
      "title": "Plot a trophic table",
      "topics": [
        "plot.trophic_tbl"
      ]
    },
    {
      "page": "raster_stack",
      "title": "Create a RasterStack from a list of rasters and names",
      "topics": [
        "raster_stack"
      ]
    },
    {
      "page": "ref_ocsge",
      "title": "Nomenclature of OCS-GE soil cover",
      "topics": [
        "ref_ocsge"
      ]
    },
    {
      "page": "roi_metaleurop",
      "title": "SF object defining ROI metaleurop",
      "topics": [
        "roi_metaleurop"
      ]
    },
    {
      "page": "sf_micromammals",
      "title": "DataBase of collected MicroMammals species",
      "topics": [
        "sf_micromammals"
      ]
    },
    {
      "page": "spacemodel",
      "title": "Create a spacemodel object",
      "topics": [
        "spacemodel"
      ]
    },
    {
      "page": "transfer",
      "title": "Transfer (food, contaminant) across trophic levels",
      "topics": [
        "transfer"
      ]
    },
    {
      "page": "trophic",
      "title": "Create a trophic table",
      "topics": [
        "trophic"
      ]
    }
  ],
  "_readme": "https://github.com/cran/spacemodR/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "curl",
    "DBI",
    "e1071",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "httr",
    "isoband",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "lifecycle",
    "MASS",
    "mime",
    "openssl",
    "proxy",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "sys",
    "terra",
    "units",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "Tutorial.Rmd",
      "filename": "Tutorial.html",
      "title": "Tutorial",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load habitat layers in the Region Of Interest (ROI)",
        "Set French Departments",
        "Load OCS-GE layers in the Region Of Interest (ROI)",
        "Build a spacemodel",
        "Prepare raster_stack: a stack of raster for ground and habitats.",
        "Setting habitat from shapefiles (vector maps)",
        "/!\\ WHAT IS AN HABITAT",
        "Defining raster of habitat based on a raster of the ground",
        "Join all rasters with a single stack",
        "Prepare trophic_df: a data.frame of trophic web",
        "Spacemodel: merge a stack of rasters with a trophic web linking rasters",
        "Spacemodel for Dispersal",
        "Spacemodel for Exposure",
        "Eco-SSL Example: Build a spacemodel for Eco-SSL",
        "Build the Risk indice",
        "checking Eco-SSL"
      ],
      "created": "2026-02-20 09:02:41",
      "modified": "2026-02-20 09:02:41",
      "commits": 1
    }
  ],
  "_score": 2.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "spacemodr",
  "_universes": [
    "virgile-baudrot"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-07-21T06:49:24.000Z",
      "distro": "resolute",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "https://r2.ropensci.org/bc3a4b26a54b38094e0117fa1aacb2c8061005d1c6e04a073f480791dd79b751",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/29807895774"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-07-21T06:49:43.000Z",
      "distro": "resolute",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "https://r2.ropensci.org/4326967f2eaecd385cd6abdb5eccbe5bce8c5ce4e891846e685d3d18a64e889f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/29807895774"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-07-21T06:49:02.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "https://r2.ropensci.org/30519decc9a248c6b148c2ca7727fb13917519680d87cbe5af107f31b68030f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/29807895774"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-07-21T06:49:00.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "https://r2.ropensci.org/be164a3b4f195318205d47771b3f8f5f34cfb49073a4c6bd0fdfac438fda1404",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/29807895774"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-07-21T06:49:27.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "https://r2.ropensci.org/e01c167c10cc4e8fd395bcbb351d87e0431fd7b23037a83ca7613ad9a3de8e1b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/29807895774"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-07-21T06:48:33.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "https://r2.ropensci.org/4f8ce3ecd5014ba7e27f5726048314494319dd90df47dcedaf8432ea563a6731",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/29807895774"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-07-21T06:48:20.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "https://r2.ropensci.org/7d63ff3d8d3d8bdb6db75b8239903b77e5d36b6672eab15b5093a1fdad30d542",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/29807895774"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-07-21T06:48:26.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "https://r2.ropensci.org/cb3b427429b3e4451c8402ed8d620070c3b6a5eda4c1aa4f1c92cf60d7229cb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/29807895774"
    }
  ]
}