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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: predict.sven
> ### Title: Make predictions from a fitted "sven" object.
> ### Aliases: predict.sven
> 
> ### ** Examples
> 
> n = 80; p = 100; nonzero = 5
> trueidx <- 1:5
> nonzero.value <- c(0.50, 0.75, 1.00, 1.25, 1.50)
> TrueBeta = numeric(p)
> TrueBeta[trueidx] <- nonzero.value
> 
> X <- matrix(rnorm(n*p), n, p)
> y <- 0.5 + X %*% TrueBeta + rnorm(n)
> res <- sven(X=X, y=y)
temperature = 1
temperature = 3.066175 
temperature = 6.13235 
> newx <- matrix(rnorm(n*p), 20, p)
Error in matrix(rnorm(n * p), 20, p) : 
  data length differs from size of matrix: [8000 != 20 x 100]
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘bravo-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: predict.sven
> ### Title: Make predictions from a fitted "sven" object.
> ### Aliases: predict.sven
> 
> ### ** Examples
> 
> n = 80; p = 100; nonzero = 5
> trueidx <- 1:5
> nonzero.value <- c(0.50, 0.75, 1.00, 1.25, 1.50)
> TrueBeta = numeric(p)
> TrueBeta[trueidx] <- nonzero.value
> 
> X <- matrix(rnorm(n*p), n, p)
> y <- 0.5 + X %*% TrueBeta + rnorm(n)
> res <- sven(X=X, y=y)
temperature = 1
temperature = 3.066175 
temperature = 6.13235 
> newx <- matrix(rnorm(n*p), 20, p)
Error in matrix(rnorm(n * p), 20, p) : 
  data length differs from size of matrix: [8000 != 20 x 100]
Execution halted
Namespace in Imports field not imported from: ‘compiler’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
Running examples in ‘bravo-Ex.R’ failed
The error most likely occurred in:

> ### Name: predict.sven
> ### Title: Make predictions from a fitted "sven" object.
> ### Aliases: predict.sven
> 
> ### ** Examples
> 
> n = 80; p = 100; nonzero = 5
> trueidx <- 1:5
> nonzero.value <- c(0.50, 0.75, 1.00, 1.25, 1.50)
> TrueBeta = numeric(p)
> TrueBeta[trueidx] <- nonzero.value
> 
> X <- matrix(rnorm(n*p), n, p)
> y <- 0.5 + X %*% TrueBeta + rnorm(n)
> res <- sven(X=X, y=y)
temperature = 1
temperature = 3.066175 
temperature = 6.13235 
> newx <- matrix(rnorm(n*p), 20, p)
Error in matrix(rnorm(n * p), 20, p) : 
  data length differs from size of matrix: [8000 != 20 x 100]
Execution halted
Namespace in Imports field not imported from: ‘compiler’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
Running examples in ‘bravo-Ex.R’ failed
The error most likely occurred in:

> ### Name: predict.sven
> ### Title: Make predictions from a fitted "sven" object.
> ### Aliases: predict.sven
> 
> ### ** Examples
> 
> n = 80; p = 100; nonzero = 5
> trueidx <- 1:5
> nonzero.value <- c(0.50, 0.75, 1.00, 1.25, 1.50)
> TrueBeta = numeric(p)
> TrueBeta[trueidx] <- nonzero.value
> 
> X <- matrix(rnorm(n*p), n, p)
> y <- 0.5 + X %*% TrueBeta + rnorm(n)
> res <- sven(X=X, y=y)
temperature = 1
temperature = 3.066175 
temperature = 6.13235 
> newx <- matrix(rnorm(n*p), 20, p)
Error in matrix(rnorm(n * p), 20, p) : 
  data length differs from size of matrix: [8000 != 20 x 100]
Execution halted
'LazyData' is specified without a 'data' directory
Namespace in Imports field not imported from: 'compiler'
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Namespace in Imports field not imported from: ‘compiler’
  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
Namespace in Imports field not imported from: ‘compiler’
  All declared Imports should be used.