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

> ### Name: runGOAnalysis
> ### Title: Run basic GO analysis
> ### Aliases: runGOAnalysis
> 
> ### ** Examples
> 
> 
> ## Only run if topGO is available
> if(require(topGO)){
+ 
+ ## Load the sample data from topGO
+ data(GOdata)
+ 
+ ## Recreate the GO annotation
+ ## NB: you will likely do this with readMappings()
+ goAnno <- inverseList(genesInTerm(GOdata,usedGO(GOdata)))
+ 
+ testOut <- runGOAnalysis(sigGenes(GOdata),
+                          allGenes(GOdata),
+                          goAnno,
+                          algorithm = "classic",
+                          pValThresh = 0.05)
+                          
+ head(testOut)
+ 
+ }
Loading required package: topGO
Loading required package: BiocGenerics
Loading required package: parallel

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 object is masked from ‘package:rnaseqWrapper’:

    plotDispEsts

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

Loading required package: graph
Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: GO.db
Loading required package: AnnotationDbi
Loading required package: stats4
Loading required package: IRanges
Loading required package: S4Vectors

Attaching package: ‘S4Vectors’

The following object is masked from ‘package:gplots’:

    space

The following object is masked from ‘package:base’:

    expand.grid


Attaching package: ‘IRanges’

The following object is masked from ‘package:ecodist’:

    distance


Loading required package: SparseM

Attaching package: ‘SparseM’

The following object is masked from ‘package:base’:

    backsolve


groupGOTerms: 	GOBPTerm, GOMFTerm, GOCCTerm environments built.

Attaching package: ‘topGO’

The following object is masked from ‘package:IRanges’:

    members


Building most specific GOs .....
	( 734 GO terms found. )

Build GO DAG topology ..........
Error in if (node == GENE.ONTO.ROOT) return(2) : 
  argument is of length zero
Calls: runGOAnalysis ... .local -> buildGOgraph.topology -> lapply -> lapply -> FUN
Execution halted