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
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)
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.
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.
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.
installed package size
installed size is 6.4Mb
sub-directories of 1Mb or more:
libs 3.1Mb
raster 2.2Mb
installed package size
installed size is 6.3Mb
sub-directories of 1Mb or more:
libs 3.1Mb
raster 2.2Mb
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
installed package size
installed size is 6.4Mb
sub-directories of 1Mb or more:
libs 3.1Mb
raster 2.2Mb
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
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")
installed package size
installed size is 6.4Mb
sub-directories of 1Mb or more:
libs 3.1Mb
raster 2.2Mb
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
installed package size
installed size is 6.4Mb
sub-directories of 1Mb or more:
libs 3.1Mb
raster 2.2Mb
installed package size
installed size is 6.3Mb
sub-directories of 1Mb or more:
libs 3.1Mb
raster 2.2Mb