Package check result: ERROR Check: tests, Result: ERROR Running ‘testthat.R’ [16s/16s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(archeofrag) > > test_check("archeofrag") More than 2 layers: the 'frag.edges.weighting' function has been applied to each pair of layers. More than 2 layers: the 'frag.edges.weighting' function has been applied to each pair of layers. More than 2 layers: the 'frag.edges.weighting' function is applied to each pair of layers. More than 2 layers: the 'frag.edges.weighting' function is applied to each pair of layers. H1 != H2? p.value Obs. value/H1 Obs. value/H2 edges TRUE 0.01 lower within weightsum TRUE 0.04 lower within balance FALSE 0.45 higher higher disturbance FALSE 0.82 lower lower admixture FALSE 0.9 within within cohesion1 FALSE 0.07 within higher cohesion2 FALSE 0.09 within lower [ FAIL 3 | WARN 254 | SKIP 0 | PASS 63 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-frag.simul.compare.R:10:3'): frag.simul.compare works ──────── res[[3]]$p.value (`actual`) not equal to c("0.02", "0.06", "0.45", "0.9", "0.98", "0.05", "0.07") (`expected`). `actual`: "0.01" "0.04" "0.45" "0.82" "0.9" "0.07" "0.09" `expected`: "0.02" "0.06" "0.45" "0.9" "0.98" "0.05" "0.07" ── Failure ('test-frag.simul.summarise.R:7:3'): parameters of a constrained generated graph with 1 initial layer are correct ── as.character(res$p.value) (`actual`) not equal to c("0.02", "0.06", "0.45", "0.9", "0.98", "0.05", "0.07") (`expected`). `actual`: "0.01" "0.04" "0.45" "0.82" "0.9" "0.07" "0.09" `expected`: "0.02" "0.06" "0.45" "0.9" "0.98" "0.05" "0.07" ── Failure ('test.frag.get.parameters.R:24:3'): retrieved parameters are correct ── frag.get.parameters(g, "layer")$planar (`actual`) not equal to TRUE (`expected`). `actual`: `expected`: TRUE [ FAIL 3 | WARN 254 | SKIP 0 | PASS 63 ] Error: Test failures Execution halted