Skip to content

spatstat.random

Random Generation Functionality for the 'spatstat' Family

v3.4-5 · Mar 21, 2026 · GPL (>= 2)

Description

Functionality for random generation of spatial data in the 'spatstat' family of packages. Generates random spatial patterns of points according to many simple rules (complete spatial randomness, Poisson, binomial, random grid, systematic, cell), randomised alteration of patterns (thinning, random shift, jittering), simulated realisations of random point processes including simple sequential inhibition, Matern inhibition models, Neyman-Scott cluster processes (using direct, Brix-Kendall, or hybrid algorithms), log-Gaussian Cox processes, product shot noise cluster processes and Gibbs point processes (using Metropolis-Hastings birth-death-shift algorithm, alternating Gibbs sampler, or coupling-from-the-past perfect simulation). Also generates random spatial patterns of line segments, random tessellations, and random images (random noise, random mosaics). Excludes random generation on a linear network, which is covered by the separate package 'spatstat.linnet'.

Downloads

83.1K

Last 30 days

388th

238.8K

Last 90 days

864.7K

Last year

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

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 26, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 23, 2026
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘spatstat.random/libs/spatstat.random.so’:
  Found non-API call to R: ‘Rf_findVar’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘spatstat.random/libs/spatstat.random.so’:
  Found non-API call to R: ‘Rf_findVar’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'spatstat.random/libs/x64/spatstat.random.dll':
  Found non-API call to R: 'Rf_findVar'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
WARNING 9 OK · 4 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘spatstat.random/libs/spatstat.random.so’:
  Found non-API call to R: ‘Rf_findVar’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-devel-linux-x86_64-debian-gcc

compiled code

File ‘spatstat.random/libs/spatstat.random.so’:
  Found non-API call to R: ‘Rf_findVar’
This entry point may be removed soon.

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-clang

compiled code

File ‘spatstat.random/libs/spatstat.random.so’:
  Found non-API call to R: ‘Rf_findVar’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘spatstat.random/libs/spatstat.random.so’:
  Found non-API call to R: ‘Rf_findVar’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'spatstat.random/libs/x64/spatstat.random.dll':
  Found non-API call to R: 'Rf_findVar'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 16, 2026
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘spatstat.random/libs/spatstat.random.so’:
  Found non-API call to R: ‘Rf_findVar’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (53)

Dependency Network

Dependencies Reverse dependencies spatstat.data spatstat.univar (>= 3.1-6) spatstat.geom spatstat.utils spatstat spatstat.Knet spatstat.explore spatstat.gui spatstat.linnet spatstat.local spatstat.model CRTspat ENMTools ETAS MetaLandSim NTSS SpatEntropy alphahull binspp +38 more reverse deps spatstat.random

Version History

updated 3.4-5 ← 3.4-4 diff Mar 22, 2026
new 3.4-4 Mar 10, 2026
updated 3.4-4 ← 3.4-3 diff Jan 20, 2026
updated 3.4-3 ← 3.4-2 diff Nov 20, 2025
updated 3.4-2 ← 3.4-1 diff Sep 20, 2025
updated 3.4-1 ← 3.3-3 diff May 19, 2025
updated 3.3-3 ← 3.3-2 diff Mar 18, 2025
updated 3.3-2 ← 3.3-1 diff Sep 17, 2024
updated 3.3-1 ← 3.2-3 diff Jul 14, 2024
updated 3.2-3 ← 3.2-2 diff Feb 28, 2024
updated 3.2-2 ← 3.2-1 diff Nov 28, 2023
updated 3.2-1 ← 3.1-6 diff Oct 21, 2023
updated 3.1-6 ← 3.1-5 diff Sep 8, 2023
updated 3.1-5 ← 3.1-4 diff May 10, 2023
updated 3.1-4 ← 3.1-3 diff Mar 12, 2023
updated 3.1-3 ← 3.1-2 diff Jan 24, 2023
updated 3.1-2 ← 3.0-1 diff Jan 23, 2023
updated 3.0-1 ← 3.0-0 diff Nov 2, 2022
updated 3.0-0 ← 2.2-0 diff Oct 31, 2022
updated 2.2-0 ← 2.1-0 diff Mar 29, 2022