Skip to content

onpoint

Helper Functions for Point Pattern Analysis

v1.1 · Feb 10, 2025 · GPL (>= 3)

Description

Growing collection of helper functions for point pattern analysis. Most functions are designed to work with the 'spatstat' (<http://spatstat.org>) package. The focus of most functions are either null models or summary functions for spatial point patterns. For a detailed description of all null models and summary functions, see Wiegand and Moloney (2014, ISBN:9781420082548).

Downloads

CRAN

243

Last 30 days

17705th

665

Last 90 days

2.5K

Last year

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

r2u CRAN

9

Last 30 days

23

Last 90 days

102

Last year

Trend: -35.7% (30d vs prior 30d)

CRAN Check Status

1 ERROR
12 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 ERROR
r-release-windows-x86_64 OK
Check details (1 non-OK)
ERROR r-release-macos-x86_64

tests

Running ‘testthat.R’ [16s/40s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(onpoint)
  > 
  > test_check("onpoint")
  > Relative difference between pattern and n: 0.79
  Saving _problems/test-summarize_envelope-33.R
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 52 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-summarize_envelope.R:33:3'): summarize_envelope returns at two seperated and the total value ──
  Expected `result_cluster$result_total > result_regular$result_total` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 52 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

tests

Running ‘testthat.R’ [16s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional 
...[truncated]...
the total value ──
  Expected `result_cluster$result_total > result_regular$result_total` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 52 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ggplot2 spatstat.explore spatstat.geom spatstat.random onpoint

Version History

8 tracked
new 1.1 Mar 10, 2026
updated 1.1 ← 1.0.6 diff Feb 9, 2025
updated 1.0.6 ← 1.0.5 diff Sep 16, 2024
updated 1.0.5 ← 1.0.4 diff Jan 9, 2024
updated 1.0.4 ← 1.0.3 diff Mar 6, 2023
updated 1.0.3 ← 1.0.2 diff Nov 14, 2022
updated 1.0.2 ← 1.0.1 diff Feb 1, 2022
new 1.0.1 Sep 8, 2021