tinyVAST
Multivariate Spatio-Temporal Models using Structural Equations
Description
Fits a wide variety of multivariate spatio-temporal models with simultaneous and lagged interactions among variables (including vector autoregressive spatio-temporal ('VAST') dynamics) for areal, continuous, or network spatial domains. It includes time-variable, space-variable, and space-time-variable interactions using dynamic structural equation models ('DSEM') as expressive interface, and the 'mgcv' package to specify splines via the formula interface. See Thorson et al. (2025) <doi:10.1111/geb.70035> for more details.
Downloads
607
Last 30 days
5668th
1.9K
Last 90 days
6.3K
Last year
Trend: -6.6% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | ERROR |
| r-devel-linux-x86_64-debian-gcc | ERROR |
| r-devel-linux-x86_64-fedora-clang | ERROR |
| r-devel-linux-x86_64-fedora-gcc | ERROR |
| r-devel-windows-x86_64 | ERROR |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | ERROR |
| r-patched-linux-x86_64 | ERROR |
| r-release-linux-x86_64 | ERROR |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | ERROR |
| r-release-windows-x86_64 | ERROR |
Check details (10 non-OK)
tests
Running ‘testthat.R’ [85s/54s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
>
> library(testthat)
> library(tinyVAST)
>
> # Run tests
> testthat::test_check("tinyVAST")
Starting 2 test processes.
> test-SAR.R:
> test-SAR.R: Attaching package: 'igraph'
> test-SAR.R:
> test-SAR.R: The following objects are masked from 'package:stats':
> test-SAR.R:
> test-SAR.R: decompose, spectrum
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:testthat':
> test-SAR.R:
> test-SAR.R: compare
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:base':
> test-SAR.R:
> test-SAR.R: union
> test-SAR.R:
> test-basic-fits.R: Read 0 records
> test-basic-fits.R: NOTE: it is generally simpler to use specifyEquations() or cfa()
> test-basic-fits.R: see ?specifyEquations
> test-basic-fits.R: Running optimizer_loop #1
> test-basic-fits.R: Matching hessian patterns...
...[truncated]...
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dsem.R:30:3'): dsem and tinyVAST give identical results without lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 0, beta", control = dsem_control(run_model = FALSE, use_REML = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:30:3
── Error ('test-dsem.R:101:3'): dsem and tinyVAST give identical results with lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 1, beta", control = dsem_control(run_model = TRUE, use_REML = FALSE, nlminb_loops = 0, newton_loops = 0, getsd = FALSE, extra_convergence_checks = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:101:3
[ FAIL 2 | WARN 3 | SKIP 20 | PASS 117 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [71s/52s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
>
> library(testthat)
> library(tinyVAST)
>
> # Run tests
> testthat::test_check("tinyVAST")
Starting 2 test processes.
> test-SAR.R:
> test-SAR.R: Attaching package: 'igraph'
> test-SAR.R:
> test-SAR.R: The following objects are masked from 'package:stats':
> test-SAR.R:
> test-SAR.R: decompose, spectrum
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:testthat':
> test-SAR.R:
> test-SAR.R: compare
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:base':
> test-SAR.R:
> test-SAR.R: union
> test-SAR.R:
> test-basic-fits.R: Read 0 records
> test-basic-fits.R: NOTE: it is generally simpler to use specifyEquations() or cfa()
> test-basic-fits.R: see ?specifyEquations
> test-basic-fits.R: Running optimizer_loop #1
> test-basic-fits.R: Matching hessian patterns...
...[truncated]...
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dsem.R:30:3'): dsem and tinyVAST give identical results without lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 0, beta", control = dsem_control(run_model = FALSE, use_REML = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:30:3
── Error ('test-dsem.R:101:3'): dsem and tinyVAST give identical results with lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 1, beta", control = dsem_control(run_model = TRUE, use_REML = FALSE, nlminb_loops = 0, newton_loops = 0, getsd = FALSE, extra_convergence_checks = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:101:3
[ FAIL 2 | WARN 3 | SKIP 20 | PASS 117 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [92s/54s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
>
> library(testthat)
> library(tinyVAST)
>
> # Run tests
> testthat::test_check("tinyVAST")
Starting 2 test processes.
> test-SAR.R:
> test-SAR.R: Attaching package: 'igraph'
> test-SAR.R:
> test-SAR.R: The following objects are masked from 'package:stats':
> test-SAR.R:
> test-SAR.R: decompose, spectrum
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:testthat':
> test-SAR.R:
> test-SAR.R: compare
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:base':
> test-SAR.R:
> test-SAR.R: union
> test-SAR.R:
> test-basic-fits.R: Read 0 records
> test-basic-fits.R: NOTE: it is generally simpler to use specifyEquations() or cfa()
> test-basic-fits.R: see ?specifyEquations
> test-basic-fits.R: Running optimizer_loop #1
> test-basic-fits.R: Matching hessian patterns...
...[truncated]...
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dsem.R:30:3'): dsem and tinyVAST give identical results without lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 0, beta", control = dsem_control(run_model = FALSE, use_REML = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:30:3
── Error ('test-dsem.R:101:3'): dsem and tinyVAST give identical results with lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 1, beta", control = dsem_control(run_model = TRUE, use_REML = FALSE, nlminb_loops = 0, newton_loops = 0, getsd = FALSE, extra_convergence_checks = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:101:3
[ FAIL 2 | WARN 3 | SKIP 20 | PASS 117 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [85s/50s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
>
> library(testthat)
> library(tinyVAST)
>
> # Run tests
> testthat::test_check("tinyVAST")
Starting 2 test processes.
> test-SAR.R:
> test-SAR.R: Attaching package: 'igraph'
> test-SAR.R:
> test-SAR.R: The following objects are masked from 'package:stats':
> test-SAR.R:
> test-SAR.R: decompose, spectrum
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:testthat':
> test-SAR.R:
> test-SAR.R: compare
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:base':
> test-SAR.R:
> test-SAR.R: union
> test-SAR.R:
> test-basic-fits.R: Read 0 records
> test-basic-fits.R: NOTE: it is generally simpler to use specifyEquations() or cfa()
> test-basic-fits.R: see ?specifyEquations
> test-basic-fits.R: Running optimizer_loop #1
> test-basic-fits.R: Matching hessian patterns...
...[truncated]...
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dsem.R:30:3'): dsem and tinyVAST give identical results without lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 0, beta", control = dsem_control(run_model = FALSE, use_REML = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:30:3
── Error ('test-dsem.R:101:3'): dsem and tinyVAST give identical results with lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 1, beta", control = dsem_control(run_model = TRUE, use_REML = FALSE, nlminb_loops = 0, newton_loops = 0, getsd = FALSE, extra_convergence_checks = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:101:3
[ FAIL 2 | WARN 3 | SKIP 20 | PASS 117 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [49s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
>
>
> library(testthat)
> library(tinyVAST)
>
> # Run tests
> testthat::test_check("tinyVAST")
Starting 2 test processes.
> test-SAR.R:
> test-SAR.R: Attaching package: 'igraph'
> test-SAR.R:
> test-SAR.R: The following objects are masked from 'package:stats':
> test-SAR.R:
> test-SAR.R: decompose, spectrum
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:testthat':
> test-SAR.R:
> test-SAR.R: compare
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:base':
> test-SAR.R:
> test-SAR.R: union
> test-SAR.R:
> test-basic-fits.R: Read 0 records
> test-basic-fits.R: NOTE: it is generally simpler to use specifyEquations() or cfa()
> test-basic-fits.R: see ?specifyEquations
> test-basic-fits.R: Running optimizer_loop #1
> test-basic-fits.R: Matching hessian patterns...
>
...[truncated]...
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dsem.R:30:3'): dsem and tinyVAST give identical results without lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 0, beta", control = dsem_control(run_model = FALSE, use_REML = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:30:3
── Error ('test-dsem.R:101:3'): dsem and tinyVAST give identical results with lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 1, beta", control = dsem_control(run_model = TRUE, use_REML = FALSE, nlminb_loops = 0, newton_loops = 0, getsd = FALSE, extra_convergence_checks = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:101:3
[ FAIL 2 | WARN 3 | SKIP 20 | PASS 117 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [65s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
>
>
> library(testthat)
> library(tinyVAST)
>
> # Run tests
> testthat::test_check("tinyVAST")
Starting 2 test processes.
> test-SAR.R:
> test-SAR.R: Attaching package: 'igraph'
> test-SAR.R:
> test-SAR.R: The following objects are masked from 'package:stats':
> test-SAR.R:
> test-SAR.R: decompose, spectrum
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:testthat':
> test-SAR.R:
> test-SAR.R: compare
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:base':
> test-SAR.R:
> test-SAR.R: union
> test-SAR.R:
> test-basic-fits.R: Read 0 records
> test-basic-fits.R: NOTE: it is generally simpler to use specifyEquations() or cfa()
> test-basic-fits.R: see ?specifyEquations
> test-basic-fits.R: Running optimizer_loop #1
> test-basic-fits.R: Matching hessian patterns...
>
...[truncated]...
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dsem.R:30:3'): dsem and tinyVAST give identical results without lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 0, beta", control = dsem_control(run_model = FALSE, use_REML = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:30:3
── Error ('test-dsem.R:101:3'): dsem and tinyVAST give identical results with lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 1, beta", control = dsem_control(run_model = TRUE, use_REML = FALSE, nlminb_loops = 0, newton_loops = 0, getsd = FALSE, extra_convergence_checks = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:101:3
[ FAIL 2 | WARN 3 | SKIP 20 | PASS 117 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [89s/54s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
>
> library(testthat)
> library(tinyVAST)
>
> # Run tests
> testthat::test_check("tinyVAST")
Starting 2 test processes.
> test-SAR.R:
> test-SAR.R: Attaching package: 'igraph'
> test-SAR.R:
> test-SAR.R: The following objects are masked from 'package:stats':
> test-SAR.R:
> test-SAR.R: decompose, spectrum
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:testthat':
> test-SAR.R:
> test-SAR.R: compare
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:base':
> test-SAR.R:
> test-SAR.R: union
> test-SAR.R:
> test-basic-fits.R: Read 0 records
> test-basic-fits.R: NOTE: it is generally simpler to use specifyEquations() or cfa()
> test-basic-fits.R: see ?specifyEquations
> test-basic-fits.R: Running optimizer_loop #1
> test-basic-fits.R: Matching hessian patterns...
...[truncated]...
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dsem.R:30:3'): dsem and tinyVAST give identical results without lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 0, beta", control = dsem_control(run_model = FALSE, use_REML = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:30:3
── Error ('test-dsem.R:101:3'): dsem and tinyVAST give identical results with lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 1, beta", control = dsem_control(run_model = TRUE, use_REML = FALSE, nlminb_loops = 0, newton_loops = 0, getsd = FALSE, extra_convergence_checks = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:101:3
[ FAIL 2 | WARN 3 | SKIP 20 | PASS 117 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [91s/55s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
>
> library(testthat)
> library(tinyVAST)
>
> # Run tests
> testthat::test_check("tinyVAST")
Starting 2 test processes.
> test-SAR.R:
> test-SAR.R: Attaching package: 'igraph'
> test-SAR.R:
> test-SAR.R: The following objects are masked from 'package:stats':
> test-SAR.R:
> test-SAR.R: decompose, spectrum
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:testthat':
> test-SAR.R:
> test-SAR.R: compare
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:base':
> test-SAR.R:
> test-SAR.R: union
> test-SAR.R:
> test-basic-fits.R: Read 0 records
> test-basic-fits.R: NOTE: it is generally simpler to use specifyEquations() or cfa()
> test-basic-fits.R: see ?specifyEquations
> test-basic-fits.R: Running optimizer_loop #1
> test-basic-fits.R: Matching hessian patterns...
...[truncated]...
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dsem.R:30:3'): dsem and tinyVAST give identical results without lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 0, beta", control = dsem_control(run_model = FALSE, use_REML = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:30:3
── Error ('test-dsem.R:101:3'): dsem and tinyVAST give identical results with lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 1, beta", control = dsem_control(run_model = TRUE, use_REML = FALSE, nlminb_loops = 0, newton_loops = 0, getsd = FALSE, extra_convergence_checks = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:101:3
[ FAIL 2 | WARN 3 | SKIP 20 | PASS 117 ]
Error:
! Test failures.
Execution halted
whether package can be installed
Installation failed. See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/tinyVAST.Rcheck/00install.out’ for details.
tests
Running 'testthat.R' [50s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
>
>
> library(testthat)
> library(tinyVAST)
>
> # Run tests
> testthat::test_check("tinyVAST")
Starting 2 test processes.
> test-SAR.R:
> test-SAR.R: Attaching package: 'igraph'
> test-SAR.R:
> test-SAR.R: The following objects are masked from 'package:stats':
> test-SAR.R:
> test-SAR.R: decompose, spectrum
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:testthat':
> test-SAR.R:
> test-SAR.R: compare
> test-SAR.R:
> test-SAR.R: The following object is masked from 'package:base':
> test-SAR.R:
> test-SAR.R: union
> test-SAR.R:
> test-basic-fits.R: Read 0 records
> test-basic-fits.R: NOTE: it is generally simpler to use specifyEquations() or cfa()
> test-basic-fits.R: see ?specifyEquations
> test-basic-fits.R: Running optimizer_loop #1
> test-basic-fits.R: Matching hessian patterns...
>
...[truncated]...
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dsem.R:30:3'): dsem and tinyVAST give identical results without lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 0, beta", control = dsem_control(run_model = FALSE, use_REML = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:30:3
── Error ('test-dsem.R:101:3'): dsem and tinyVAST give identical results with lags ──
Error in `dsem(tsdata = tsdat, family = c("normal", "normal"), sem = "X -> Y, 1, beta", control = dsem_control(run_model = TRUE, use_REML = FALSE, nlminb_loops = 0, newton_loops = 0, getsd = FALSE, extra_convergence_checks = FALSE))`: starting with release 3.0.0, `family` must be a named list of
Backtrace:
▆
1. └─dsem::dsem(...) at test-dsem.R:101:3
[ FAIL 2 | WARN 3 | SKIP 20 | PASS 117 ]
Error:
! Test failures.
Execution halted
Check History
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
whether package can be installed
Installation failed. See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/tinyVAST.Rcheck/00install.out’ for details.
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
installed package size
installed size is 110.8Mb
sub-directories of 1Mb or more:
data 3.2Mb
help 1.1Mb
libs 105.6Mb
installed package size
installed size is 113.2Mb
sub-directories of 1Mb or more:
data 2.9Mb
help 1.1Mb
libs 108.2Mb
installed package size
installed size is 8.4Mb
sub-directories of 1Mb or more:
data 2.3Mb
help 1.1Mb
libs 4.1Mb