'LazyData' is specified without a 'data' directory
Running examples in 'SuperPCA-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: SupPCA
> ### Title: Fit a supervised singular value decomposition (SupSVD) model
> ### Aliases: SupPCA
> 
> ### ** Examples
> 
> r=2
> Y <- matrix(rnorm(400,0,1),nrow=100)
> B <- c(-1,1,-sqrt(3/2),-1)
> B <- cbind(B,c(1,1,-1,sqrt(3/2)))
> V <- matrix(rnorm(68*2),68,2)
> Fmatrix <- matrix(MASS::mvrnorm(n=2*100,rep(0,2),matrix(c(9,0,0,4),2,2)),100,2)
Error in matrix(MASS::mvrnorm(n = 2 * 100, rep(0, 2), matrix(c(9, 0, 0,  : 
  data length differs from size of matrix: [400 != 100 x 2]
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘SuperPCA-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: SupPCA
> ### Title: Fit a supervised singular value decomposition (SupSVD) model
> ### Aliases: SupPCA
> 
> ### ** Examples
> 
> r=2
> Y <- matrix(rnorm(400,0,1),nrow=100)
> B <- c(-1,1,-sqrt(3/2),-1)
> B <- cbind(B,c(1,1,-1,sqrt(3/2)))
> V <- matrix(rnorm(68*2),68,2)
> Fmatrix <- matrix(MASS::mvrnorm(n=2*100,rep(0,2),matrix(c(9,0,0,4),2,2)),100,2)
Error in matrix(MASS::mvrnorm(n = 2 * 100, rep(0, 2), matrix(c(9, 0, 0,  : 
  data length differs from size of matrix: [400 != 100 x 2]
Execution halted
Namespaces in Imports field not imported from:
  ‘R.matlab’ ‘fBasics’ ‘spls’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
Running examples in ‘SuperPCA-Ex.R’ failed
The error most likely occurred in:

> ### Name: SupPCA
> ### Title: Fit a supervised singular value decomposition (SupSVD) model
> ### Aliases: SupPCA
> 
> ### ** Examples
> 
> r=2
> Y <- matrix(rnorm(400,0,1),nrow=100)
> B <- c(-1,1,-sqrt(3/2),-1)
> B <- cbind(B,c(1,1,-1,sqrt(3/2)))
> V <- matrix(rnorm(68*2),68,2)
> Fmatrix <- matrix(MASS::mvrnorm(n=2*100,rep(0,2),matrix(c(9,0,0,4),2,2)),100,2)
Error in matrix(MASS::mvrnorm(n = 2 * 100, rep(0, 2), matrix(c(9, 0, 0,  : 
  data length differs from size of matrix: [400 != 100 x 2]
Execution halted
Namespaces in Imports field not imported from:
  ‘R.matlab’ ‘fBasics’ ‘spls’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
Running examples in ‘SuperPCA-Ex.R’ failed
The error most likely occurred in:

> ### Name: SupPCA
> ### Title: Fit a supervised singular value decomposition (SupSVD) model
> ### Aliases: SupPCA
> 
> ### ** Examples
> 
> r=2
> Y <- matrix(rnorm(400,0,1),nrow=100)
> B <- c(-1,1,-sqrt(3/2),-1)
> B <- cbind(B,c(1,1,-1,sqrt(3/2)))
> V <- matrix(rnorm(68*2),68,2)
> Fmatrix <- matrix(MASS::mvrnorm(n=2*100,rep(0,2),matrix(c(9,0,0,4),2,2)),100,2)
Error in matrix(MASS::mvrnorm(n = 2 * 100, rep(0, 2), matrix(c(9, 0, 0,  : 
  data length differs from size of matrix: [400 != 100 x 2]
Execution halted
'LazyData' is specified without a 'data' directory
Namespaces in Imports field not imported from:
  'R.matlab' 'fBasics' 'spls'
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Namespaces in Imports field not imported from:
  ‘R.matlab’ ‘fBasics’ ‘spls’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Namespaces in Imports field not imported from:
  ‘R.matlab’ ‘fBasics’ ‘spls’
  All declared Imports should be used.