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

> ### Name: hasse
> ### Title: Hasse diagram
> ### Aliases: hasse
> ### Keywords: Hasse diagram hplot
> 
> ### ** Examples
> 
> # Use depression dataset
> #
> data(Linde2015)
> #
> # Define order of treatments
> #
> trts <- c("TCA", "SSRI", "SNRI", "NRI",
+           "Low-dose SARI", "NaSSa", "rMAO-A", "Hypericum",
+           "Placebo")
> #
> # Outcome labels
> #
> outcomes <- c("Early response", "Early remission")
> #
> # (1) Early response
> #
> p1 <- pairwise(treat = list(treatment1, treatment2, treatment3),
+                event = list(resp1, resp2, resp3),
+                n = list(n1, n2, n3),
+                studlab = id, data = Linde2015, sm = "OR")
> #
> net1 <- netmeta(p1,
+                 comb.fixed = FALSE, comb.random = TRUE,
+                 seq = trts, ref = "Placebo")
Warning: Comparisons with missing TE / seTE or zero seTE not considered in network meta-analysis.
Studies not considered in network meta-analysis:
 studlab treat1  treat2 TE seTE
      14    TCA    SSRI NA   NA
      18    TCA Placebo NA   NA
      21    TCA  rMAO-A NA   NA
      27   SSRI Placebo NA   NA
      51    TCA  rMAO-A NA   NA
     130  NaSSa Placebo NA   NA
     130    TCA   NaSSa NA   NA
     130    TCA Placebo NA   NA
     131   SSRI    SNRI NA   NA
Warning: Note, treatments within a comparison have been re-sorted in increasing order.
> #
> # (2) Early remission
> #
> p2 <- pairwise(treat = list(treatment1, treatment2, treatment3),
+                event = list(remi1, remi2, remi3),
+                n = list(n1, n2, n3),
+                studlab = id, data = Linde2015, sm = "OR")
> #
> net2 <- netmeta(p2,
+                 comb.fixed = FALSE, comb.random = TRUE,
+                 seq = trts, ref = "Placebo")
Warning: Comparisons with missing TE / seTE or zero seTE not considered in network meta-analysis.
Studies not considered in network meta-analysis:
 studlab        treat1  treat2 TE seTE
       1           TCA Placebo NA   NA
       1           TCA    SNRI NA   NA
       1          SNRI Placebo NA   NA
      11          SSRI Placebo NA   NA
      11           TCA Placebo NA   NA
      11           TCA    SSRI NA   NA
      14           TCA    SSRI NA   NA
      18           TCA Placebo NA   NA
      20           TCA    SSRI NA   NA
      26          SSRI Placebo NA   NA
      53         NaSSa Placebo NA   NA
      53          SSRI   NaSSa NA   NA
      53          SSRI Placebo NA   NA
      56           TCA    SSRI NA   NA
      73     Hypericum Placebo NA   NA
      90           TCA    SSRI NA   NA
      96           TCA    SSRI NA   NA
     121 Low-dose SARI   NaSSa NA   NA
     130         NaSSa Placebo NA   NA
     130           TCA   NaSSa NA   NA
     130           TCA Placebo NA   NA
Warning: Note, treatments within a comparison have been re-sorted in increasing order.
> #
> # Partial order of treatment rankings (all five outcomes)
> #
> po <- netposet(netrank(net1, small.values = "bad"),
+                netrank(net2, small.values = "bad"),
+                outcomes = outcomes)
> #
> # Hasse diagram
> #
> hasse(po)
Error: Library 'hasseDiagram' missing.
  Please use the following R commands for installation:
  source("https://bioconductor.org/biocLite.R")
  biocLite("Rgraphviz")
  install.packages("hasseDiagram")
Execution halted