- using R Under development (unstable) (2026-04-22 r89950)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 22.1.4 (https://github.com/llvm/llvm-project 35990504507d79e0b9deb809c8ee5e1b34ceef20)
flang version 22.1.4 (https://github.com/llvm/llvm-project 35990504507d79e0b9deb809c8ee5e1b34ceef20)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-04-23 09:17:29 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘efdm/DESCRIPTION’ ... OK
- this is package ‘efdm’ version ‘0.2.2’
- package encoding: UTF-8
- 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 whether package ‘efdm’ can be installed ... [5s/17s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [9s/27s] OK
- checking Rd files ... 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 ... 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 ... [6s/19s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [22s/59s] ERROR
Running ‘test_checks.R’ [4s/11s]
Running ‘test_donothing.R’ [4s/10s]
Running ‘test_estim.R’
Comparing ‘test_estim.Rout’ to ‘test_estim.Rout.save’ ... OK
Running ‘test_factors.R’
Running ‘test_prior_ff.R’
Running ‘test_split.R’ [4s/10s]
Comparing ‘test_split.Rout’ to ‘test_split.Rout.save’ ... OK
Running ‘test_transprobs.R’
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 ... [64s/184s] OK
- checking PDF version of manual ... [7s/13s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR