Running 'test_LINGAM.R' [3s]
  Running 'test_addBgKnowledge.R' [2s]
  Running 'test_adjustment.R' [3s]
  Running 'test_ages.R' [3s]
  Running 'test_amat2dag.R' [2s]
  Running 'test_arges.R' [2s]
  Running 'test_backdoor.R' [9s]
  Comparing 'test_backdoor.Rout' to 'test_backdoor.Rout.save' ... OK
  Running 'test_bicscore.R' [2s]
  Running 'test_causalEffect.R' [1s]
  Running 'test_coercion.R' [2s]
  Running 'test_compareGraphs.R' [2s]
  Running 'test_dag2cpdag.R' [2s]
  Running 'test_dag2essgraph.R' [2s]
  Running 'test_displayAmat.R' [3s]
  Running 'test_dsep.R' [2s]
  Running 'test_fci.R' [2s]
  Running 'test_fciPlus.R' [4s]
  Running 'test_gSquareBin.R' [2s]
  Running 'test_gSquareDis.R' [3s]
  Running 'test_gac.R' [3s]
  Running 'test_getNextSet.R' [1s]
  Running 'test_gies.R' [5s]
  Running 'test_ida.R' [73s]
  Running 'test_idaFast.R' [5s]
  Running 'test_isValidGraph.R' [5s]
  Running 'test_jointIda.R' [2s]
  Running 'test_mat2targets.R' [2s]
  Running 'test_optAdjSet.R' [2s]
  Running 'test_opttarget.R' [2s]
  Running 'test_pc.R' [3s]
  Running 'test_pcSelect.R' [4s]
  Running 'test_pcalg2dagitty.R' [3s]
  Running 'test_pcorOrder.R' [2s]
  Running 'test_pdag2allDags.R' [1s]
  Running 'test_pdag2dag.R' [1s]
  Running 'test_possDeAn.R' [2s]
  Running 'test_randDAG.R' [4s]
  Comparing 'test_randDAG.Rout' to 'test_randDAG.Rout.save' ... OK
  Running 'test_randomDAG.R' [3s]
  Running 'test_rfci.R' [5s]
  Running 'test_rmvDAG.R' [3s]
  Running 'test_shd.R' [2s]
  Running 'test_skeleton.R' [6s]
  Running 'test_udag2pag.R' [2s]
  Running 'test_udag2pdag.R' [6s]
  Running 'test_wgtMatrix.R' [2s]
Running the tests in 'tests/test_addBgKnowledge.R' failed.
Complete output:
  > library(pcalg)
  > 
  > res <- rep(FALSE, 10)
  > set.seed(123)
  > g <- pcalg::randomDAG(n = 7, prob = 0.3)
  > plot(g)
  Error in as.double(y) : 
    cannot coerce type 'S4' to vector of type 'double'
  Calls: plot -> plot -> plot.default -> xy.coords
  Execution halted
Running the tests in 'tests/test_possDeAn.R' failed.
Complete output:
  > library(pcalg)
  > 
  > ## possDe
  > ## a -> b -- c
  > amat <- matrix(c(0,1,0, 0,0,1, 0,1,0), 3,3)
  > colnames(amat) <- rownames(amat) <- letters[1:3]
  > ## plot(as(t(amat), "graphNEL"))
  > 
  > stopifnot(
  +   all(possDe(m = amat, x = 1, possible = TRUE, ds = FALSE, type = "pdag") == c(1,2,3)),
  +   all(possDe(m = amat, x = 1, possible = FALSE, ds = FALSE, type = "pdag") == c(1,2)),
  +   all(possDe(m = amat, x = 1, y = 2, possible = TRUE, ds = FALSE, type = "pdag") == 1) )
  > 
  > ## possAn
  > ## a -- b -> c
  > amat <- matrix(c(0,1,0, 1,0,1, 0,0,0), 3,3)
  > colnames(amat) <- rownames(amat) <- letters[1:3]
  > plot(as(t(amat), "graphNEL"))
  Error in as.double(y) : 
    cannot coerce type 'S4' to vector of type 'double'
  Calls: plot -> plot -> plot.default -> xy.coords
  Execution halted