Skip to content

spaMM

Mixed-Effect Models, with or without Spatial Random Effects

v4.6.65 · Apr 5, 2026 · CeCILL-2

Description

Inference based on models with or without spatially-correlated random effects, multivariate responses, or non-Gaussian random effects (e.g., Beta). Variation in residual variance (heteroscedasticity) can itself be represented by a mixed-effect model. Both classical geostatistical models (Rousset and Ferdy 2014 <doi:10.1111/ecog.00566>), and Markov random field models on irregular grids (as considered in the 'INLA' package, <https://www.r-inla.org>), can be fitted, with distinct computational procedures exploiting the sparse matrix representations for the latter case and other autoregressive models. Laplace approximations are used for likelihood or restricted likelihood. Penalized quasi-likelihood and other variants discussed in the h-likelihood literature (Lee and Nelder 2001 <doi:10.1093/biomet/88.4.987>) are also implemented.

Downloads

4.6K

Last 30 days

1838th

16.1K

Last 90 days

66.1K

Last year

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

CRAN Check Status

13 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 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 19, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 17, 2026
WARNING r-oldrel-windows-x86_64

for unstated dependencies in ‘tests’

Warning: unable to access index for repository https://bioconductor.org/packages/3.22/bioc/src/contrib:
  cannot open URL 'https://bioconductor.org/packages/3.22/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://biocon
...[truncated]...
2/data/annotation/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.22/data/experiment/src/contrib:
  cannot open URL 'https://bioconductor.org/packages/3.22/data/experiment/src/contrib/PACKAGES'
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 39.3Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  34.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 40.1Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  35.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.2Mb
  sub-directories of 1Mb or more:
    R      3.0Mb
    libs   1.8Mb
ERROR 10 OK · 2 NOTE · 1 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/spaMM.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 39.3Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  34.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 40.1Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  35.6Mb
WARNING r-oldrel-windows-x86_64

installed package size

installed size is  6.2Mb
  sub-directories of 1Mb or more:
    R      3.0Mb
    libs   1.8Mb
WARNING 11 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Apr 16, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 39.3Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  34.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 40.1Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  35.6Mb
WARNING r-oldrel-windows-x86_64

installed package size

installed size is  6.2Mb
  sub-directories of 1Mb or more:
    R      3.0Mb
    libs   1.8Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 39.3Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  34.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 40.1Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  35.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.1Mb
  sub-directories of 1Mb or more:
    R      2.9Mb
    libs   1.8Mb
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 9, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘geometry’

Packages suggested but not available for checking:
  'Infusion', 'IsoriX', 'blackbox'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 39.3Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  34.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 40.1Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  35.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.1Mb
  sub-directories of 1Mb or more:
    R      2.9Mb
    libs   1.8Mb
WARNING 6 OK · 7 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘spaMM/libs/spaMM.so’:
  Found non-API call to R: ‘Rf_findVar’

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.
WARNING r-devel-linux-x86_64-debian-gcc

compiled code

File ‘spaMM/libs/spaMM.so’:
  Found non-API call to R: ‘Rf_findVar’
This entry point may be removed soon.

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-fedora-clang

compiled code

File ‘spaMM/libs/spaMM.so’:
  Found non-API call to R: ‘Rf_findVar’

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

compiled code

File ‘spaMM/libs/spaMM.so’:
  Found non-API call to R: ‘Rf_findVar’

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

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 39.3Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  34.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 40.0Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  35.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.1Mb
  sub-directories of 1Mb or more:
    R      2.9Mb
    libs   1.8Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 39.3Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  34.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 40.0Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  35.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.1Mb
  sub-directories of 1Mb or more:
    R      2.9Mb
    libs   1.8Mb

Reverse Dependencies (7)

suggests

Dependency Network

Dependencies Reverse dependencies Matrix MASS proxy Rcpp (>= 0.12.10) nlme nloptr minqa pbapply cli gmp ROI boot geometry numDeriv backports +1 more dependencies Infusion IsoriX NCC blackbox inferference spatialGE DHARMa spaMM

Version History

61 tracked
updated 4.6.65 ← 4.6.1 diff Apr 6, 2026
new 4.6.1 Mar 10, 2026
updated 4.6.1 ← 4.5.0 diff Jun 26, 2025
updated 4.5.0 ← 4.4.16 diff Jun 9, 2024
updated 4.4.16 ← 4.4.0 diff Dec 19, 2023
updated 4.4.0 ← 4.3.20 diff Aug 29, 2023
updated 4.3.20 ← 4.3.0 diff Jul 5, 2023
updated 4.3.0 ← 4.2.1 diff May 21, 2023
updated 4.2.1 ← 4.1.20 diff Mar 2, 2023
updated 4.1.20 ← 4.1.0 diff Dec 11, 2022
updated 4.1.0 ← 4.0.0 diff Nov 17, 2022
updated 4.0.0 ← 3.13.0 diff Oct 19, 2022
updated 3.13.0 ← 3.12.0 diff Sep 4, 2022
updated 3.12.0 ← 3.11.14 diff Jun 18, 2022
updated 3.11.14 ← 3.11.3 diff Apr 9, 2022