R Under development (unstable) (2024-05-29 r86642 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 <- bm(U = 2, N = 4) > sp2 <- sp1 > sp3 <- bm(U = 3, N = 3) > > (t_spatPompList <- is(c(sp1, sp2), "spatPompList")) [1] TRUE > > class( c(c(sp1,sp2),sp3)) [1] "spatPompList" attr(,"package") [1] "spatPomp" > > (t_bpfilterList <- is( + c( + bpfilter(sp1, Np = 5, block_size = 1), + bpfilter(sp2, Np = 5, block_size = 1) + ), + "bpfilterList" + )) [1] TRUE > > ## ibpfilterList is tested in He10 > > stopifnot(all(t_spatPompList, t_bpfilterList)) > > > proc.time() user system elapsed 1.51 0.23 8.75