Skip to content

potential

Implementation of the Potential Model

v0.2.0 · Jul 4, 2022 · GPL-3

Description

Provides functions to compute the potential model as defined by Stewart (1941) <doi:10.1126/science.93.2404.89>. Several options are available to customize the model, such as the possibility to fine-tune the distance friction functions or to use custom distance matrices. Some computations are parallelized to improve their efficiency.

Downloads

288

Last 30 days

13869th

792

Last 90 days

2.9K

Last year

Trend: +37.8% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

Rd files

cannot open the connection
cannot open the connection
cannot open the connection
cannot open the connection
cannot open the connection
cannot open the connection
cannot open the connection
cannot open the connection
problems found in ‘create_matrix.Rd’, ‘equipotential.Rd’, ‘mcpotential.Rd’, ‘n3_poly.Rd’, ‘n3_pt.Rd’, ‘plot_inter.Rd’, ‘potential-package.Rd’, ‘potential.Rd’
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 6, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE May 4, 2026
ERROR r-devel-windows-x86_64

tests

Running 'tinytest.R' [2s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
  > 
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +   tinytest::test_package("potential")
  + }
  
  test_curv.R...................    0 tests    
...[truncated]...
3 tests OK 
  test_curv.R...................    4 tests OK 
  test_curv.R...................    5 tests OK 
  test_curv.R...................    6 tests OK 
  test_curv.R...................    6 tests OK 
  test_curv.R...................    7 tests OK
ERROR r-release-windows-x86_64

tests

Running 'tinytest.R' [3s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
  > 
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +   tinytest::test_package("potential")
  + }
  
  test_curv.R...................    0 tests    
...[truncated]...
3 tests OK 
  test_curv.R...................    4 tests OK 
  test_curv.R...................    5 tests OK 
  test_curv.R...................    6 tests OK 
  test_curv.R...................    6 tests OK 
  test_curv.R...................    7 tests OK
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 28, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 24, 2026
ERROR r-release-windows-x86_64

tests

Running 'tinytest.R' [3s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
  > 
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +   tinytest::test_package("potential")
  + }
  
  test_curv.R...................    0 tests    
...[truncated]...
7 tests OK 
  test_curv.R...................    7 tests OK 
  test_curv.R...................    8 tests OK 
  test_curv.R...................    9 tests OK 
  test_curv.R...................    9 tests OK 
  test_curv.R...................    9 tests OK
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 20, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-release-windows-x86_64

tests

Running 'tinytest.R' [3s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
  > 
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +   tinytest::test_package("potential")
  + }
  
  test_curv.R...................    0 tests    
...[truncated]...
7 tests OK 
  test_curv.R...................    7 tests OK 
  test_curv.R...................    8 tests OK 
  test_curv.R...................    9 tests OK 
  test_curv.R...................    9 tests OK 
  test_curv.R...................    9 tests OK
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies sf mapiso doParallel foreach potential

Version History

3 tracked
new 0.2.0 Mar 10, 2026
updated 0.2.0 ← 0.1.0 diff Jul 4, 2022
new 0.1.0 Nov 17, 2020