- using R Under development (unstable) (2026-04-21 r89937)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-16) 15.2.0
GNU Fortran (Debian 15.2.0-16) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-04-22 14:31:25 UTC
- checking for file ‘efdm/DESCRIPTION’ ... OK
- this is package ‘efdm’ version ‘0.2.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘efdm’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [4s/6s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [3s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/12s] ERROR
Running ‘test_checks.R’ [1s/2s]
Running ‘test_donothing.R’ [2s/2s]
Running ‘test_estim.R’ [1s/2s]
Comparing ‘test_estim.Rout’ to ‘test_estim.Rout.save’ ... OK
Running ‘test_factors.R’ [1s/1s]
Running ‘test_prior_ff.R’ [1s/1s]
Running ‘test_split.R’ [1s/2s]
Comparing ‘test_split.Rout’ to ‘test_split.Rout.save’ ... OK
Running ‘test_transprobs.R’ [1s/2s]
Running the tests in ‘tests/test_donothing.R’ failed.
Complete output:
> library(efdm)
> library(testthat)
>
> statespace <- expand.grid(a=1:2, b=1:2, vol=1:5)
> state0 <- statespace
> actprob <- statespace
> actprob$test <- 1
> state0$area <- 0
> state0$area[1] <- 1
>
>
> act1 <- define_activity("test", character())
> expect_error(transprobs(act1) <- data.frame(vol0 = 1:4, vol1=2:5, prob=1))
> state1 <- runEFDM(state0, actprob, list(act1), 5)
> expect_equal(state1$vol, rep(1, 6))
>
> act2 <- define_activity("test2", "vol")
> transprobs(act2) <- data.frame(vol0=1:5, vol1=c(2:5,5), prob=1)
> actprob$test <- 0.1
> actprob$test2 <- 0.9
> expect_known_hash(runEFDM(state0, actprob, list(act1, act2), 5), "1b23f7f782")
Error: Expected value to hash to 1b23f7f782.
Actual hash: 219d5457df
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [26s/31s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR