{
  "_id": "6a379c4d3efcd9bda441ee7a",
  "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-06-21 07:58:32 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",
  "MD5sum": "26ba39a9098c4b2d7e443747f12ad1c5",
  "_user": "virgile-baudrot",
  "_type": "src",
  "_file": "spacemodR_0.1.3.tar.gz",
  "_fileid": "11b141ff5496022412f1c1d47d08cb6a5ada604010f8fcb8e10c58bc5b23a93a",
  "_filesize": 7285956,
  "_sha256": "11b141ff5496022412f1c1d47d08cb6a5ada604010f8fcb8e10c58bc5b23a93a",
  "_created": "2026-06-21T07:58:32.000Z",
  "_published": "2026-06-21T08:09:49.320Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82552960458,
      "time": 223,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7773259981"
    },
    {
      "job": 82552960465,
      "time": 214,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773258912"
    },
    {
      "job": 82552960467,
      "time": 127,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7773246420"
    },
    {
      "job": 82552960462,
      "time": 133,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773247196"
    },
    {
      "job": 82552709662,
      "time": 239,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773229007"
    },
    {
      "job": 82552960464,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773246734"
    },
    {
      "job": 82552960472,
      "time": 156,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7773250714"
    },
    {
      "job": 82552960471,
      "time": 630,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7773312836"
    },
    {
      "job": 82552960466,
      "time": 158,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773251328"
    }
  ],
  "_buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/27897886305",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": 187,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spacemodR"
  },
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_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-06-21T08:01:10.000Z",
      "distro": "noble",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "7d9d2711e637912842921c06bd5855804c3a06d2689ec214ba3ac34d4abf42b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/27897886305"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-06-21T08:01:08.000Z",
      "distro": "noble",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "7b674b8c60cd8b4c43f8961fcd7c4d7d8062e4fe20a4ba92f9da14800e02773a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/27897886305"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-06-21T08:00:16.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "9fa673d34c5fb1c45b1068b7fe6d46c10c3f7480343706b156afa427dd3446c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/27897886305"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-06-21T08:00:18.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "f051f9668cca895a33666b60efe4fc02bef4139365f32fe49a8b432088b7eb22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/27897886305"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-06-21T08:01:06.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "06497eb8e8501f3a9e60b759f124875724d88b44066c83b51bbc3c611644e94a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/27897886305"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-21T08:00:12.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "db14e07450191bf90081312e369103ecb5c99e7728d3eb6f81a1816e495e1d10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/27897886305"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-21T08:07:48.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "b98c2d22eda80f04de30ba987d948fbae2424157a87d95fbb0480f549cca82b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/27897886305"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-21T08:00:03.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "3f6d03ce5b5965b6fd025acfa1cfe09d473ab9cc0b9c76f04fb2ec361ef5f075",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/27897886305"
    }
  ]
}