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

> ### Name: binomialRF
> ### Title: random forest feature selection based on binomial exact test
> ### Aliases: binomialRF
> 
> ### ** Examples
> 
> set.seed(324)
> 
> ###############################
> ### Generate simulation data
> ###############################
> 
> X = matrix(rnorm(1000), ncol=10)
> trueBeta= c(rep(10,5), rep(0,5))
> z = 1 + X %*% trueBeta
> pr = 1/(1+exp(-z))
> y = as.factor(rbinom(100,1,pr))
> 
> ###############################
> ### Run binomialRF
> ###############################
> require(correlbinom)
Loading required package: correlbinom
Loading required package: Rmpfr
Loading required package: gmp

Attaching package: 'gmp'

The following objects are masked from 'package:base':

    %*%, apply, crossprod, matrix, tcrossprod

C code of R package 'Rmpfr': GMP using 64 bits per limb


Attaching package: 'Rmpfr'

The following object is masked from 'package:gmp':

    outer

The following objects are masked from 'package:stats':

    dbinom, dgamma, dnorm, dpois, pnorm

The following objects are masked from 'package:base':

    cbind, pmax, pmin, rbind

> 
> rho = 0.33
> ntrees = 250
> cbinom = correlbinom(rho, successprob =  calculateBinomialP(10, .5), trials = ntrees, 
+                                precision = 1024, model = 'kuk')
> 
> binom.rf <-binomialRF(X,y, fdr.threshold = .05,fdr.method = 'BY',
+                       ntrees = ntrees,percent_features = .5,
+                       keep.both=FALSE, user_cbinom_dist=cbinom,
+                       sampsize=round(nrow(X)*rho))
Error in value[[3L]](cond) : 
  The melt generic in data.table has been passed a data.frame, but data.table::melt currently only has a method for data.tables. Please confirm your input is a data.table, with setDT(rc.main.effects) or as.data.table(rc.main.effects). If you intend to use a method from reshape2, try installing that package first, but do note that reshape2 is deprecated and you should be migrating your code away from using it.
Calls: binomialRF ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted