Skip to content

motif

Local Pattern Analysis

v0.6.5 · Jul 26, 2025 · MIT + file LICENSE

Description

Describes spatial patterns of categorical raster data for any defined regular and irregular areas. Patterns are described quantitatively using built-in signatures based on co-occurrence matrices but also allows for any user-defined functions. It enables spatial analysis such as search, change detection, and clustering to be performed on spatial patterns (Nowosad (2021) <doi:10.1007/s10980-020-01135-0>).

Downloads

548

Last 30 days

7360th

1.4K

Last 90 days

4.2K

Last year

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

CRAN Check Status

6 NOTE
8 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
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 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (6 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘motif/libs/motif.so’:
  Found non-API call to R: ‘R_UnboundValue’

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-debian-gcc

compiled code

File ‘motif/libs/motif.so’:
  Found non-API call to R: ‘R_UnboundValue’

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 'motif/libs/x64/motif.dll':
  Found non-API call to R: 'R_UnboundValue'

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-oldrel-macos-arm64

installed package size

installed size is  6.4Mb
  sub-directories of 1Mb or more:
    libs     3.1Mb
    raster   2.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.3Mb
  sub-directories of 1Mb or more:
    libs     3.1Mb
    raster   2.2Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘motif/libs/motif.so’:
  Found non-API call to R: ‘R_UnboundValue’

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.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 24, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.4Mb
  sub-directories of 1Mb or more:
    libs     3.1Mb
    raster   2.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.3Mb
  sub-directories of 1Mb or more:
    libs     3.1Mb
    raster   2.2Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 20, 2026
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(stars)
  Loading required package: abind
  Loading required package: sf
  Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; s
...[truncated]...
= landcover[ext]
  > landform_ext = landform[ext]
  > random_ndvi_ext = random_ndvi[ext]
  > 
  > # prepare my fun ----------------------------------------------------------
  > my_fun = function(x) sum(!is.na(c(x[[1]])))
  > 
  > test_check("motif")
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.4Mb
  sub-directories of 1Mb or more:
    libs     3.1Mb
    raster   2.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.3Mb
  sub-directories of 1Mb or more:
    libs     3.1Mb
    raster   2.2Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.4Mb
  sub-directories of 1Mb or more:
    libs     3.1Mb
    raster   2.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.3Mb
  sub-directories of 1Mb or more:
    libs     3.1Mb
    raster   2.2Mb

Dependency Network

Dependencies Reverse dependencies comat philentropy Rcpp sf stars tibble motif

Version History

new 0.6.5 Mar 10, 2026
updated 0.6.5 ← 0.6.4 diff Jul 25, 2025
updated 0.6.4 ← 0.6.1 diff Jun 28, 2023
updated 0.6.1 ← 0.5.2 diff Apr 3, 2023
updated 0.5.2 ← 0.5.0 diff Jun 6, 2022
updated 0.5.0 ← 0.4.3 diff Aug 22, 2021
updated 0.4.3 ← 0.4.1 diff Jun 2, 2021
new 0.4.1 Feb 4, 2021