{
  "_id": "6a5f89f714e95619b75d6a97",
  "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,\nhttps://riatelab.github.io/potential",
  "BugReports": "https://github.com/riatelab/potential/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "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": "2026-07-21 13:48:46 UTC",
  "RemoteUrl": "https://github.com/riatelab/potential",
  "RemoteRef": "HEAD",
  "RemoteSha": "b2788f50c14cce4b6c5aa65152f4c7c1c586a09c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-21 14:54:03 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>",
  "_user": "riatelab",
  "_type": "src",
  "_file": "potential_0.3.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/8a24f3cb17527664dd533b1517fb0a44da87125fe1c6ce0a68a7f2d8e0529405",
  "_filesize": 2588350,
  "_sha256": "8a24f3cb17527664dd533b1517fb0a44da87125fe1c6ce0a68a7f2d8e0529405",
  "_expires": "2026-10-29T15:02:12.000Z",
  "_created": "2026-07-21T14:54:03.000Z",
  "_published": "2026-07-21T15:02:14.923Z",
  "_jobs": [
    {
      "job": 88670854085,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8499573267"
    },
    {
      "job": 88670854183,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8499567004"
    },
    {
      "job": 88670854507,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8499713911"
    },
    {
      "job": 88670854238,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8499685888"
    },
    {
      "job": 88669777709,
      "time": 228,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8499475370"
    },
    {
      "job": 88670854102,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8499559744"
    },
    {
      "job": 88670854235,
      "time": 168,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8499570989"
    },
    {
      "job": 88670854475,
      "time": 96,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8499531877"
    },
    {
      "job": 88670854203,
      "time": 102,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8499535502"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/riatelab/actions/runs/29841033215",
  "_status": "success",
  "_upstream": "https://github.com/riatelab/potential",
  "_commit": {
    "id": "b2788f50c14cce4b6c5aa65152f4c7c1c586a09c",
    "author": "rCarto <timothee.giraud@cnrs.fr>",
    "committer": "rCarto <timothee.giraud@cnrs.fr>",
    "message": "docs: update website\n",
    "time": 1784641726
  },
  "_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
  },
  "_distro": "resolute",
  "_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": [
    {
      "week": "2026-30",
      "n": 8
    }
  ],
  "_tags": [],
  "_topics": [
    "rspatial",
    "stewart"
  ],
  "_stars": 30,
  "_contributors": [
    {
      "user": "rcarto",
      "count": 39,
      "uuid": 3041254
    }
  ],
  "_userbio": {
    "uuid": 17590565,
    "type": "organization",
    "name": "riatelab",
    "followers": 88,
    "description": "Spatial analysis and mapping software packages created by the Center for Spatial Analysis and Geovisualization - RIATE"
  },
  "_downloads": {
    "count": 227,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/potential"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/riatelab/potential",
  "_pkgdown": "https://riatelab.github.io/potential",
  "_searchresults": 17,
  "_rbuild": "4.6.1",
  "_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": "2026-07-21 13:42:06",
      "commits": 12
    }
  ],
  "_score": 5.4065401804339555,
  "_indexed": true,
  "_nocasepkg": "potential",
  "_universes": [
    "riatelab",
    "rcarto"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0.0",
      "date": "2026-07-21T14:56:50.000Z",
      "distro": "resolute",
      "commit": "b2788f50c14cce4b6c5aa65152f4c7c1c586a09c",
      "fileid": "https://r2.ropensci.org/a066a519dca218dfb047dba46fd3d23674a42c1f5288c6f949d45bb46df37dc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/29841033215"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0.0",
      "date": "2026-07-21T14:56:37.000Z",
      "distro": "resolute",
      "commit": "b2788f50c14cce4b6c5aa65152f4c7c1c586a09c",
      "fileid": "https://r2.ropensci.org/30d11322524ee92e6070d377282abbed60e0796203f72203eb08abcbf5f82e42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/29841033215"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0.0",
      "date": "2026-07-21T15:01:03.000Z",
      "commit": "b2788f50c14cce4b6c5aa65152f4c7c1c586a09c",
      "fileid": "https://r2.ropensci.org/44c086afe8b65bc3a699b4e1bba6d8b8cc59a8ff0171b8132df8978973f3ebf8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/29841033215"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0.0",
      "date": "2026-07-21T15:00:13.000Z",
      "commit": "b2788f50c14cce4b6c5aa65152f4c7c1c586a09c",
      "fileid": "https://r2.ropensci.org/51137245018e6d3f9bcde87eca233556b668db9f5749313268af88aaccda17d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/29841033215"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0.0",
      "date": "2026-07-21T14:56:49.000Z",
      "commit": "b2788f50c14cce4b6c5aa65152f4c7c1c586a09c",
      "fileid": "https://r2.ropensci.org/a83d0864e2888c796351dfb6d89e36493b55309ef439d81e4b543ff991175dee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/29841033215"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0.0",
      "date": "2026-07-21T14:56:38.000Z",
      "commit": "b2788f50c14cce4b6c5aa65152f4c7c1c586a09c",
      "fileid": "https://r2.ropensci.org/cbc80362c8adead75506ee13e07beba136e872d076d9ab06833e3d0a2a512305",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/29841033215"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0.0",
      "date": "2026-07-21T14:55:30.000Z",
      "commit": "b2788f50c14cce4b6c5aa65152f4c7c1c586a09c",
      "fileid": "https://r2.ropensci.org/e3c7d5817c38a71eef0cb61bb1b0b6049f97d20ef5f104645570a943fa0719ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/29841033215"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0.0",
      "date": "2026-07-21T14:55:36.000Z",
      "commit": "b2788f50c14cce4b6c5aa65152f4c7c1c586a09c",
      "fileid": "https://r2.ropensci.org/a76fd1e96319c4464ec42eaf21a430e2e0e7a4c9473bcc629bdee1f6a4546112",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/riatelab/actions/runs/29841033215"
    }
  ]
}