Running examples in ‘pcalg-Ex.R’ failed
The error most likely occurred in:

> ### Name: ages
> ### Title: Estimate an APDAG within the Markov equivalence class of a DAG
> ###   using AGES
> ### Aliases: ages
> ### Keywords: models graphs
> 
> ### ** Examples
> 
> 
> ## Example 1: ages adds correct orientations: Bar --> V6 and Bar --> V8
> 
> set.seed(77)
> 
> p <- 8
> n <- 5000
> ## true DAG:
> vars <- c("Author", "Bar", "Ctrl", "Goal", paste0("V",5:8))
> gGtrue <- randomDAG(p, prob = 0.3, V = vars)
> data = rmvDAG(n, gGtrue)
> 
> 
> ## Estimate the aggregated PDAG with ages
> ages.fit <- ages(data = data)
> 
> 
> ## Estimate the essential graph with ges
> ## We specify the phases in order to have a fair comparison of the algorithms
> ## Without the phases specified it would be easy to find examples
> ## where each algorithm outperforms the other
> score <- new("GaussL0penObsScore", data)
> ges.fit <- ges(score, phase = c("forward","backward"), iterate = FALSE)
> 
> ## Plots
> par(mfrow=c(1,3))
> plot(ges.fit$essgraph, main="Estimated CPDAG with GES")

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:

    IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
    tapply, union, unique, unsplit, which, which.max, which.min

Error: package or namespace load failed for ‘Rgraphviz’:
 .onLoad failed in loadNamespace() for 'Rgraphviz', details:
  call: value[[3L]](cond)
  error: unable to load shared object '/data/gannet/ripley/R/test-clang/Rgraphviz/libs/Rgraphviz.so':
  /data/gannet/ripley/R/test-clang/Rgraphviz/libs/Rgraphviz.so: undefined symbol: __hypot_finite

  Rgraphviz is unable to be loaded.  This typically is a symptom of an
  installation problem.  From 2.x.x onwards, Graphviz ought to come
  bundled with Rgraphviz.

  If you are trying to use an external Graphviz, see additional
  instructions in the 'README' file of the Rgraphviz 'source'
  distribution, available at

  http://bioconductor.org/packages/release/bioc/html/Rgraphviz.html

  Ask further questions on the Bioconductor mailing list

  http://bioconductor.org/docs/mailList.html


  Rgraphviz is unable to be loaded.  This typically is a symptom of an
  installation problem.  From 2.x.x onwards, Graphviz ought to come
  bundled with Rgraphviz.

  If you are trying to use an external Graphviz, see additional
  instructions in the 'README' file of the Rgraphviz 'source'
  distribution, available at

  http://bioconductor.org/packages/release/bioc/html/Rgraphviz.html

  Ask further questions on the Bioconductor mailing list

  http://bioconductor.org/docs/mailList.html


Error: package required but not installed: ‘Rgraphviz’
Execution halted