Skip to content

imagefluency

Image Statistics Based on Processing Fluency

v0.2.5 · Feb 22, 2024 · GPL-3

Description

Get image statistics based on processing fluency theory. The functions provide scores for several basic aesthetic principles that facilitate fluent cognitive processing of images: contrast, complexity / simplicity, self-similarity, symmetry, and typicality. See Mayer & Landwehr (2018) <doi:10.1037/aca0000187> and Mayer & Landwehr (2018) <doi:10.31219/osf.io/gtbhw> for the theoretical background of the methods.

Downloads

810

Last 30 days

4344th

810

Last 90 days

810

Last year

CRAN Check Status

2 ERROR
12 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 ERROR
r-devel-linux-x86_64-fedora-gcc ERROR
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 details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
ERROR r-devel-linux-x86_64-fedora-clang

tests

  Running ‘testthat.R’ [12s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(imagefluency)
  > 
  > test_check("imagefluency")
  Saving _problems/test_complexity-37.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 108 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_complexity.R:37:3'): img_complexity normalizes input image if necessary ──
  Expected `img_complexity(array(100:500, dim = c(50, 50, 3)))` to equal 0.1111398.
  Differences:
  1/1 mismatches
  [1] 0.0915 - 0.111 == -0.0196
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 108 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

tests

  Running ‘testthat.R’ [13s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(imagefluency)
  > 
  > test_check("imagefluency")
  Saving _problems/test_complexity-37.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 108 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_complexity.R:37:3'): img_complexity normalizes input image if necessary ──
  Expected `img_complexity(array(100:500, dim = c(50, 50, 3)))` to equal 0.1111398.
  Differences:
  1/1 mismatches
  [1] 0.0981 - 0.111 == -0.0131
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 108 ]
  Error:
  ! Test failures.
  Execution halted
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

*


            

Check History

ERROR 12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-linux-x86_64-fedora-clang

tests

  Running ‘testthat.R’ [12s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(imagefluency)
  > 
  > test_check("imagefluency")
  Saving _problems/test_complexity-37.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 108 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_complexity.R:37:3'): img_complexity normalizes input image if necessary ──
  Expected `img_complexity(array(100:500, dim = c(50, 5
ERROR r-devel-linux-x86_64-fedora-gcc

tests

  Running ‘testthat.R’ [13s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(imagefluency)
  > 
  > test_check("imagefluency")
  Saving _problems/test_complexity-37.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 108 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_complexity.R:37:3'): img_complexity normalizes input image if necessary ──
  Expected `img_complexity(array(100:500, dim = c(50, 5

Dependency Network

Dependencies Reverse dependencies R.utils readbitmap pracma magick OpenImageR imagefluency

Version History

new 0.2.5 Mar 9, 2026