{
  "_id": "6a1efb50b401979e73418adf",
  "Package": "potential",
  "Title": "Implementation of the Potential Model",
  "Version": "0.3.0.0",
  "Authors@R": "c(\nperson(\"Timothée\", \"Giraud\", email = \"timothee.giraud@cnrs.fr\", role = c(\"cre\",\"aut\"),\ncomment = c(ORCID = \"0000-0002-1932-3323\")),\nperson(\"Hadrien\", \"Commenges\", email = \"hadrien.commenges@univ-paris1.fr\", role = c(\"aut\")))",
  "Description": "Provides functions to compute the potential model as\ndefined by Stewart (1941) <doi:10.1126/science.93.2404.89>.\nSeveral options are available to customize the model, such as\nthe possibility to fine-tune the distance friction functions or\nto use custom distance matrices. Some computations are\nparallelized to improve their efficiency.",
  "License": "GPL-3",
  "LazyData": "true",
  "URL": "https://github.com/riatelab/potential",
  "BugReports": "https://github.com/riatelab/potential/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://riatelab.r-universe.dev",
  "Date/Publication": "2022-12-13 12:21:10 UTC",
  "RemoteUrl": "https://github.com/riatelab/potential",
  "RemoteRef": "HEAD",
  "RemoteSha": "3dc649b6661a2595754d3b848198305a5f3c3fd6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 10:40:12 UTC",
    "User": "root"
  },
  "Author": "Timothée Giraud [cre, aut] (ORCID:\n<https://orcid.org/0000-0002-1932-3323>),\nHadrien Commenges [aut]",
  "Maintainer": "Timothée Giraud <timothee.giraud@cnrs.fr>",
  "MD5sum": "9f57950a3b17ea63b0cd884e9bc76aee",
  "_user": "riatelab",
  "_type": "src",
  "_file": "potential_0.3.0.0.tar.gz",
  "_fileid": "e97b7a15f3f561b94549545dd456682705c21087aad34d4e5152132ff9fabd8f",
  "_filesize": 2228319,
  "_sha256": "e97b7a15f3f561b94549545dd456682705c21087aad34d4e5152132ff9fabd8f",
  "_created": "2026-05-18T10:40:12.000Z",
  "_published": "2026-06-02T15:48:32.097Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79112316641,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7055662768"
    },
    {
      "job": 79112317109,
      "time": 183,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055667830"
    },
    {
      "job": 79112317127,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7055651403"
    },
    {
      "job": 79112316648,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055655893"
    },
    {
      "job": 79112316519,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055603938"
    },
    {
      "job": 79112316189,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7362775950"
    },
    {
      "job": 79112317173,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7055639112"
    },
    {
      "job": 79112318072,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7055638875"
    },
    {
      "job": 79112316693,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055636821"
    }
  ],
  "_buildurl": "https://github.com/r-universe/riatelab/actions/runs/26028299407",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/riatelab/potential",
  "_commit": {
    "id": "3dc649b6661a2595754d3b848198305a5f3c3fd6",
    "author": "rCarto <timothee.giraud@cnrs.fr>",
    "committer": "rCarto <timothee.giraud@cnrs.fr>",
    "message": "fix: correct class limits in web vignette\n",
    "time": 1670934070
  },
  "_maintainer": {
    "name": "Timothée Giraud",
    "email": "timothee.giraud@cnrs.fr",
    "login": "rcarto",
    "mastodon": "@rcarto@fosstodon.org",
    "orcid": "0000-0002-1932-3323",
    "description": "R packages",
    "uuid": 3041254
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "mapiso",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "lwgeom",
      "role": "Suggests"
    },
    {
      "package": "eurostat",
      "role": "Suggests"
    },
    {
      "package": "giscoR",
      "role": "Suggests"
    },
    {
      "package": "mapsf",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "riatelab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "rspatial",
    "stewart"
  ],
  "_stars": 30,
  "_contributors": [
    {
      "user": "rcarto",
      "count": 31,
      "uuid": 3041254
    }
  ],
  "_userbio": {
    "uuid": 17590565,
    "type": "organization",
    "name": "riatelab",
    "description": "Spatial analysis and mapping software packages created by the Center for Spatial Analysis and Geovisualization - RIATE"
  },
  "_downloads": {
    "count": 249,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/potential"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/riatelab/potential",
  "_searchresults": 17,
  "_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/potential.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/riatelab/potential",
  "_realowner": "riatelab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-11-18"
    },
    {
      "version": "0.2.0",
      "date": "2022-07-05"
    }
  ],
  "_exports": [
    "create_grid",
    "create_matrix",
    "equipotential",
    "mcpotential",
    "plot_inter",
    "potential"
  ],
  "_datasets": [
    {
      "name": "n3_poly",
      "title": "Points and Polygons Layers of European Statistical Units (NUTS3)",
      "object": "nuts3",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "ID",
        "POP18",
        "POP19",
        "geometry"
      ],
      "rows": 1506,
      "table": false,
      "tojson": true
    },
    {
      "name": "n3_pt",
      "title": "Points and Polygons Layers of European Statistical Units (NUTS3)",
      "object": "nuts3",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "ID",
        "POP18",
        "POP19",
        "geometry"
      ],
      "rows": 1506,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "potential-package",
      "title": "Implementation of the Potential Model",
      "topics": [
        "potential-package"
      ]
    },
    {
      "page": "create_grid",
      "title": "Create a Regularly Spaced Points Grid",
      "topics": [
        "create_grid"
      ]
    },
    {
      "page": "create_matrix",
      "title": "Create a Distance Matrix Between Two Spatial Objects",
      "topics": [
        "create_matrix"
      ]
    },
    {
      "page": "equipotential",
      "title": "Create Polygons of Equipotential",
      "topics": [
        "equipotential"
      ]
    },
    {
      "page": "mcpotential",
      "title": "Compute the Potential Model using Parallelization",
      "topics": [
        "mcpotential"
      ]
    },
    {
      "page": "n3_poly",
      "title": "Points and Polygons Layers of European Statistical Units (NUTS3)",
      "topics": [
        "n3_poly"
      ]
    },
    {
      "page": "n3_pt",
      "title": "Points and Polygons Layers of European Statistical Units (NUTS3)",
      "topics": [
        "n3_pt"
      ]
    },
    {
      "page": "plot_inter",
      "title": "Display a Spatial Interaction Function",
      "topics": [
        "plot_inter"
      ]
    },
    {
      "page": "potential",
      "title": "Compute the Potential Model",
      "topics": [
        "potential"
      ]
    }
  ],
  "_pkglogo": "https://github.com/riatelab/potential/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/riatelab/potential/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "codetools",
    "cpp11",
    "DBI",
    "doParallel",
    "e1071",
    "foreach",
    "isoband",
    "iterators",
    "KernSmooth",
    "mapiso",
    "MASS",
    "proxy",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "potential.Rmd",
      "filename": "potential.html",
      "title": "potential",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Historic and conceptual background",
        "Modeling spatial interactions",
        "A place-based model: Stewart's potentials",
        "The distance friction",
        "Examples",
        "Potential in one point",
        "Potentials in a pseudo-continuous space",
        "Create a regular grid",
        "Create a distance matrix",
        "Compute the potentials",
        "Compute the potentials using parallel computation",
        "References"
      ],
      "created": "2020-10-13 14:58:30",
      "modified": "2022-07-04 12:24:38",
      "commits": 11
    }
  ],
  "_score": 5.4065401804339555,
  "_indexed": true,
  "_nocasepkg": "potential",
  "_universes": [
    "riatelab",
    "rcarto"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0.0",
      "date": "2026-05-18T10:42:50.000Z",
      "distro": "noble",
      "commit": "3dc649b6661a2595754d3b848198305a5f3c3fd6",
      "fileid": "bd4134f004cbb77a615a0fed960798f0558aff01653ca7ee24b5d4f6e56aad96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/26028299407"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0.0",
      "date": "2026-05-18T10:43:06.000Z",
      "distro": "noble",
      "commit": "3dc649b6661a2595754d3b848198305a5f3c3fd6",
      "fileid": "fa6df4e5960668482b64c5a87649e8e503d13b101f1aff0d4b95e26ad90801ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/26028299407"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0.0",
      "date": "2026-05-18T10:42:28.000Z",
      "commit": "3dc649b6661a2595754d3b848198305a5f3c3fd6",
      "fileid": "65a816af84fed0b56df2f0d117f0f815d01289b710f6b8dd643e283b9aaf17a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/26028299407"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0.0",
      "date": "2026-05-18T10:42:37.000Z",
      "commit": "3dc649b6661a2595754d3b848198305a5f3c3fd6",
      "fileid": "6588b27131d4ded6dbe2c765b97588b64526b4b9656745bfd4531a6c3d20e573",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/26028299407"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0.0",
      "date": "2026-05-18T10:41:38.000Z",
      "commit": "3dc649b6661a2595754d3b848198305a5f3c3fd6",
      "fileid": "7e2378bae7af34222ad5d3c871e823b86324c55d8e6ae614fd0df3e1c50b94b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/26028299407"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0.0",
      "date": "2026-05-18T10:41:36.000Z",
      "commit": "3dc649b6661a2595754d3b848198305a5f3c3fd6",
      "fileid": "d23774cf37fd63e8003574c933e810cb7118d0d981342818fc620fc8eed9822c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/26028299407"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0.0",
      "date": "2026-05-18T10:41:38.000Z",
      "commit": "3dc649b6661a2595754d3b848198305a5f3c3fd6",
      "fileid": "149698b510ae6c61ad2500d64398e5f391d8bcdc9fc8dcfbf9621d404c6fbd5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/26028299407"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0.0",
      "date": "2026-06-02T15:48:09.000Z",
      "commit": "3dc649b6661a2595754d3b848198305a5f3c3fd6",
      "fileid": "70c41aea33fe2111390ab8276cfead82a7145b8470f5e6d05aa9f52a2d5d4602",
      "status": "success",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/26028299407"
    }
  ]
}