R Under development (unstable) (2024-02-17 r85935 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > options(digits=3) > > library(spatPomp) Loading required package: pomp > > try(spatPomp:::conc()) Error : 'c' is not defined for objects of class 'missing'. > try(spatPomp:::conc("a","b")) Error : 'c' is not defined for objects of class 'character'. > > sp1 <- bm2(U = 2, N = 20, shared_names = "rho") > sp2 <- bm2(U = 2, N = 20, shared_names = "rho") > sp3 <- bm2(U = 3, N = 10, shared_names = "rho") > > (t_spatPompList <- is(c(sp1, sp2), "spatPompList")) [1] TRUE > > (t_bpfilterList <- is( + c( + bpfilter(sp1, Np = 10, block_size = 1), + bpfilter(sp2, Np = 10, block_size = 1) + ), + "bpfilterList" + )) [1] TRUE > > ## ibpfilterList is tested in He10 > > stopifnot(all(t_spatPompList, t_bpfilterList)) > > proc.time() user system elapsed 1.89 0.15 12.17