Running examples in 'RichR-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Enrichment
> ### Title: Enrichment
> ### Aliases: Enrichment
> 
> ### ** Examples
> 
> data('g2d')
> 
> g2d_clean = g2d$clean
> 
> # The user can choose a particular disorder, or use the whole disease set to compare to
> 
> g2d_ASD = subset(g2d_clean, g2d_clean$Disease %in% c('AUTISM'))
> Enrichment(Background = g2d_clean$Gene.symbol,
+ Genes2Dis = g2d_ASD,
+ Genes = g2d_ASD$Gene.symbol[1:100])
Error in aggregate.formula(formula = Gene.symbol ~ Disease, data = Genes2Dis,  : 
  argument 'x' is  missing -- it has been renamed from 'formula'
Calls: Enrichment -> <Anonymous> -> aggregate.formula
Execution halted
Running examples in ‘RichR-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Enrichment
> ### Title: Enrichment
> ### Aliases: Enrichment
> 
> ### ** Examples
> 
> data('g2d')
> 
> g2d_clean = g2d$clean
> 
> # The user can choose a particular disorder, or use the whole disease set to compare to
> 
> g2d_ASD = subset(g2d_clean, g2d_clean$Disease %in% c('AUTISM'))
> Enrichment(Background = g2d_clean$Gene.symbol,
+ Genes2Dis = g2d_ASD,
+ Genes = g2d_ASD$Gene.symbol[1:100])
Error in aggregate.formula(formula = Gene.symbol ~ Disease, data = Genes2Dis,  : 
  argument 'x' is  missing -- it has been renamed from 'formula'
Calls: Enrichment -> <Anonymous> -> aggregate.formula
Execution halted
Running examples in ‘RichR-Ex.R’ failed
The error most likely occurred in:

> ### Name: Enrichment
> ### Title: Enrichment
> ### Aliases: Enrichment
> 
> ### ** Examples
> 
> data('g2d')
> 
> g2d_clean = g2d$clean
> 
> # The user can choose a particular disorder, or use the whole disease set to compare to
> 
> g2d_ASD = subset(g2d_clean, g2d_clean$Disease %in% c('AUTISM'))
> Enrichment(Background = g2d_clean$Gene.symbol,
+ Genes2Dis = g2d_ASD,
+ Genes = g2d_ASD$Gene.symbol[1:100])
Error in aggregate.formula(formula = Gene.symbol ~ Disease, data = Genes2Dis,  : 
  argument 'x' is  missing -- it has been renamed from 'formula'
Calls: Enrichment -> <Anonymous> -> aggregate.formula
Execution halted
Running examples in ‘RichR-Ex.R’ failed
The error most likely occurred in:

> ### Name: Enrichment
> ### Title: Enrichment
> ### Aliases: Enrichment
> 
> ### ** Examples
> 
> data('g2d')
> 
> g2d_clean = g2d$clean
> 
> # The user can choose a particular disorder, or use the whole disease set to compare to
> 
> g2d_ASD = subset(g2d_clean, g2d_clean$Disease %in% c('AUTISM'))
> Enrichment(Background = g2d_clean$Gene.symbol,
+ Genes2Dis = g2d_ASD,
+ Genes = g2d_ASD$Gene.symbol[1:100])
Error in aggregate.formula(formula = Gene.symbol ~ Disease, data = Genes2Dis,  : 
  argument 'x' is  missing -- it has been renamed from 'formula'
Calls: Enrichment -> <Anonymous> -> aggregate.formula
Execution halted
Running examples in 'RichR-Ex.R' failed
The error most likely occurred in:

> ### Name: Enrichment
> ### Title: Enrichment
> ### Aliases: Enrichment
> 
> ### ** Examples
> 
> data('g2d')
> 
> g2d_clean = g2d$clean
> 
> # The user can choose a particular disorder, or use the whole disease set to compare to
> 
> g2d_ASD = subset(g2d_clean, g2d_clean$Disease %in% c('AUTISM'))
> Enrichment(Background = g2d_clean$Gene.symbol,
+ Genes2Dis = g2d_ASD,
+ Genes = g2d_ASD$Gene.symbol[1:100])
Error in aggregate.formula(formula = Gene.symbol ~ Disease, data = Genes2Dis,  : 
  argument 'x' is  missing -- it has been renamed from 'formula'
Calls: Enrichment -> <Anonymous> -> aggregate.formula
Execution halted
Running examples in 'RichR-Ex.R' failed
The error most likely occurred in:

> ### Name: Enrichment
> ### Title: Enrichment
> ### Aliases: Enrichment
> 
> ### ** Examples
> 
> data('g2d')
> 
> g2d_clean = g2d$clean
> 
> # The user can choose a particular disorder, or use the whole disease set to compare to
> 
> g2d_ASD = subset(g2d_clean, g2d_clean$Disease %in% c('AUTISM'))
> Enrichment(Background = g2d_clean$Gene.symbol,
+ Genes2Dis = g2d_ASD,
+ Genes = g2d_ASD$Gene.symbol[1:100])
Error in aggregate.formula(formula = Gene.symbol ~ Disease, data = Genes2Dis,  : 
  argument 'x' is  missing -- it has been renamed from 'formula'
Calls: Enrichment -> <Anonymous> -> aggregate.formula
Execution halted