Skip to content

motif

0.6.5Package record

Local Pattern Analysis

0packages depend
4.1Kdownloads / year
89.5%test coverage
13/13flavors OK

Overview

About

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).

Changes in 0.6.5
  • Forces dropping categories internally from the SpatRaster objects

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • WARNING12 OK, 1 WARNING2026-06-08
  • ERROR12 OK, 1 ERROR2026-06-07
Show 6 earlier changesHide 6 earlier changes
  • OK13 OK2026-05-02
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-03-25
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-03-21
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.6.5
READMEYes · 220 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.6.5Citation fileYes · cites a publicationWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
17 (1 internal)includes a package overview page
Examples that run
86%12 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 1 hold no code
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
6%
Vignettes (1)

Downloads

4.1K
CRAN downloads in the past year
Rank #10,988 · ~11/day · ~343/mo
Daily download trend is not available in this view yet.
30130 days
96090 days
4.1K1 year
Compare downloads with other packages →
Also on385 r2u6 autocran

Repository

66Stars
2Forks
12Open issues
0Open PRs
0Releases
503Commits
1Commit identities
rspatiallandscape-ecologycategorical-rasterglobal-ecology
503 commits · Last activity 2025-07-26 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
14
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-05-14 · 652026-07-07 · 66
PracticesBeta

9 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/nowosad/motif on 2026-10-18.

Continuous integration (3)
GitHub ActionsR CMD check workflowTravis CI (config file)

The R CMD check workflow runs on macOS

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-07-26 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing motif adds 26 packages (19 with compiled code, 27 MB of source tarballs). Heaviest: sf 9.3 MB, stars 3.8 MB, s2 2.8 MB.

Depends (1)
R >= 3.1
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.4.1 (2021)
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.5Latest
    record
    2025-07-26 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.6.4
    record
    2023-06-29 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.6.1
    record
    2023-04-04 · diff ↗
  • 0.5.2
    record
    2022-06-07 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.5.0
    record
    2021-08-23 · diff ↗ ·
    added 1 export
    lsp_add_terra
  • 0.4.3
    record
    2021-06-03 · diff ↗ ·
    added 1 export
    lsp_restructure
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.1
    record
    2021-02-05
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-02-05
Total releases
7 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.1
Download size
2.6 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("motif")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1007/s10980-020-01135-0.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for motif version 0.6.5 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy