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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bic.BLMCP
> ### Title: BIC for BLMCP
> ### Aliases: bic.BLMCP
> 
> ### ** Examples
> 
> set.seed(100)
> sigmaG=AR(0.3,50)
> G=MASS::mvrnorm(150,rep(0,50),sigmaG)
> E=matrix(rnorm(150*5),150,5)
> E[,2]=E[,2]>0;E[,3]=E[,3]>0
> alpha=runif(5,2,3)
> beta=matrix(0,5+1,100);beta[1,1:8]=runif(8,2,3)
> beta[2:4,1]=runif(3,2,3)
> beta[2:3,2]=runif(2,2,3)
> beta[5,3]=runif(1,2,3)
> 
> # continuous with Normal error
> y1=simulated_data(G=G,E=E,alpha=alpha,beta=beta,error=rnorm(150),family="continuous")
Error in matrix(beta, (q + 1) * p, 1) : 
  data length differs from size of matrix: [600 != 300 x 1]
Calls: simulated_data -> matrix
Execution halted
Running examples in ‘GEInter-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bic.BLMCP
> ### Title: BIC for BLMCP
> ### Aliases: bic.BLMCP
> 
> ### ** Examples
> 
> set.seed(100)
> sigmaG=AR(0.3,50)
> G=MASS::mvrnorm(150,rep(0,50),sigmaG)
> E=matrix(rnorm(150*5),150,5)
> E[,2]=E[,2]>0;E[,3]=E[,3]>0
> alpha=runif(5,2,3)
> beta=matrix(0,5+1,100);beta[1,1:8]=runif(8,2,3)
> beta[2:4,1]=runif(3,2,3)
> beta[2:3,2]=runif(2,2,3)
> beta[5,3]=runif(1,2,3)
> 
> # continuous with Normal error
> y1=simulated_data(G=G,E=E,alpha=alpha,beta=beta,error=rnorm(150),family="continuous")
Error in matrix(beta, (q + 1) * p, 1) : 
  data length differs from size of matrix: [600 != 300 x 1]
Calls: simulated_data -> matrix
Execution halted
Namespace in Imports field not imported from: ‘survAUC’
  All declared Imports should be used.
Running examples in ‘GEInter-Ex.R’ failed
The error most likely occurred in:

> ### Name: bic.BLMCP
> ### Title: BIC for BLMCP
> ### Aliases: bic.BLMCP
> 
> ### ** Examples
> 
> set.seed(100)
> sigmaG=AR(0.3,50)
> G=MASS::mvrnorm(150,rep(0,50),sigmaG)
> E=matrix(rnorm(150*5),150,5)
> E[,2]=E[,2]>0;E[,3]=E[,3]>0
> alpha=runif(5,2,3)
> beta=matrix(0,5+1,100);beta[1,1:8]=runif(8,2,3)
> beta[2:4,1]=runif(3,2,3)
> beta[2:3,2]=runif(2,2,3)
> beta[5,3]=runif(1,2,3)
> 
> # continuous with Normal error
> y1=simulated_data(G=G,E=E,alpha=alpha,beta=beta,error=rnorm(150),family="continuous")
Error in matrix(beta, (q + 1) * p, 1) : 
  data length differs from size of matrix: [600 != 300 x 1]
Calls: simulated_data -> matrix
Execution halted
Namespace in Imports field not imported from: ‘survAUC’
  All declared Imports should be used.
Running examples in ‘GEInter-Ex.R’ failed
The error most likely occurred in:

> ### Name: bic.BLMCP
> ### Title: BIC for BLMCP
> ### Aliases: bic.BLMCP
> 
> ### ** Examples
> 
> set.seed(100)
> sigmaG=AR(0.3,50)
> G=MASS::mvrnorm(150,rep(0,50),sigmaG)
> E=matrix(rnorm(150*5),150,5)
> E[,2]=E[,2]>0;E[,3]=E[,3]>0
> alpha=runif(5,2,3)
> beta=matrix(0,5+1,100);beta[1,1:8]=runif(8,2,3)
> beta[2:4,1]=runif(3,2,3)
> beta[2:3,2]=runif(2,2,3)
> beta[5,3]=runif(1,2,3)
> 
> # continuous with Normal error
> y1=simulated_data(G=G,E=E,alpha=alpha,beta=beta,error=rnorm(150),family="continuous")
Error in matrix(beta, (q + 1) * p, 1) : 
  data length differs from size of matrix: [600 != 300 x 1]
Calls: simulated_data -> matrix
Execution halted
Namespace in Imports field not imported from: 'survAUC'
  All declared Imports should be used.
Namespace in Imports field not imported from: ‘survAUC’
  All declared Imports should be used.
Namespace in Imports field not imported from: ‘survAUC’
  All declared Imports should be used.
Namespace in Imports field not imported from: ‘survAUC’
  All declared Imports should be used.