{
  "_id": "6a100823acfb0bcc41c7ea36",
  "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-05-22 07:34:39 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": "0d755b179bc439bb54c16b07102985e3",
  "_user": "virgile-baudrot",
  "_type": "src",
  "_file": "spacemodR_0.1.3.tar.gz",
  "_fileid": "0baf1e9493dac0dc4711e40ac8d396d5e5659854878fed6400cca61c7d333a5e",
  "_filesize": 7081655,
  "_sha256": "0baf1e9493dac0dc4711e40ac8d396d5e5659854878fed6400cca61c7d333a5e",
  "_created": "2026-05-22T07:34:39.000Z",
  "_published": "2026-05-22T07:39:15.452Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77336492905,
      "time": 221,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7155282336"
    },
    {
      "job": 77336492943,
      "time": 218,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155280860"
    },
    {
      "job": 77336493039,
      "time": 143,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7155258601"
    },
    {
      "job": 77336492846,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155264150"
    },
    {
      "job": 77335868292,
      "time": 267,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155213506"
    },
    {
      "job": 77336492832,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155254073"
    },
    {
      "job": 77336492956,
      "time": 188,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7155271792"
    },
    {
      "job": 77336492912,
      "time": 155,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7155262143"
    },
    {
      "job": 77336492878,
      "time": 147,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155259978"
    }
  ],
  "_buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/26274627700",
  "_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"
  },
  "_downloads": {
    "count": 176,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spacemodR"
  },
  "_searchresults": 7,
  "_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",
    "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.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "spacemodr",
  "_universes": [
    "virgile-baudrot"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-22T07:37:29.000Z",
      "distro": "noble",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "bb9f2143e2b17bf4361153a8f21387f08624fc5e252339c070fbc12fbf5e3bb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/26274627700"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-22T07:37:41.000Z",
      "distro": "noble",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "ec4118322c8f14fedce8ee939621ff856f39b362a521a5bed8d7b3df53f83010",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/26274627700"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-22T07:36:33.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "0c210bed15f00b248125a6c954b568c55c050c872cdea6a7ba5518a7fb236f0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/26274627700"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-22T07:36:51.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "b65edf06ff2bd373043336ea50ea590a71d6573e07aed7c5fb056165d606a050",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/26274627700"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-05-22T07:37:17.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "03b27ed18055e32095144e754f9a64b20575d18a6269a830c2a8d9d9b500c527",
      "status": "success",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/26274627700"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-22T07:36:37.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "1be14fa726a2a5e5f626353a96d2e69b4249ac107002b8d27dd046a2d8f8a081",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/26274627700"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-22T07:36:14.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "5d633453bd4d6447a1ce4e8a312b3a03acb705a3e1cd47ae270d31d9473c5c70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/26274627700"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-22T07:36:06.000Z",
      "commit": "bfd9d45067d0ea11f16595a262eafe445f1e4f4f",
      "fileid": "89396e23decfaf0ba7bbf5ac772b30f7cc42e0a4c8a7c60af980f5eb92a0b69e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/virgile-baudrot/actions/runs/26274627700"
    }
  ]
}