Last updated on 2025-12-07 07:50:38 CET.
| Package | ERROR | OK |
|---|---|---|
| efdm | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.2.1
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking: 'knitr', 'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘test_checks.R’ [2s/2s]
Running ‘test_donothing.R’ [1s/1s]
Running ‘test_estim.R’ [1s/1s]
Comparing ‘test_estim.Rout’ to ‘test_estim.Rout.save’ ... OK
Running ‘test_factor.R’ [1s/2s]
Running ‘test_factors.R’ [1s/1s]
Running ‘test_prior_ff.R’ [1s/1s]
Running ‘test_split.R’ [1s/1s]
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 in expect_known_hash(runEFDM(state0, actprob, list(act1, act2), :
The package "digest" is required.
Calls: expect_known_hash -> check_installed
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.1
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc