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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted
Running examples in ‘mplot-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted
Running examples in ‘mplot-Ex.R’ failed
The error most likely occurred in:

> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted
Running examples in ‘mplot-Ex.R’ failed
The error most likely occurred in:

> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted
Running examples in 'mplot-Ex.R' failed
The error most likely occurred in:

> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted
Running examples in 'mplot-Ex.R' failed
The error most likely occurred in:

> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted
Running examples in ‘mplot-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted
Running examples in ‘mplot-Ex.R’ failed
The error most likely occurred in:

> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted
Running examples in ‘mplot-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted
Running examples in 'mplot-Ex.R' failed
The error most likely occurred in:

> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted
Running examples in 'mplot-Ex.R' failed
The error most likely occurred in:

> ### Name: bglmnet
> ### Title: Model stability and variable importance plots for glmnet
> ### Aliases: bglmnet
> 
> ### ** Examples
> 
> n = 100
> set.seed(11)
> e = rnorm(n)
> x1 = rnorm(n)
> x2 = rnorm(n)
> x3 = x1^2
> x4 = x2^2
> x5 = x1*x2
> y = 1 + x1 + x2 + e
> dat = data.frame(y, x1, x2, x3, x4, x5)
> lm1 = lm(y ~ ., data = dat)
> ## Don't show: 
> bg1 = bglmnet(lm1, seed = 1, B=10)
Warning: Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error in glmnet::glmnet(X, Y, alpha = 1, nlambda = nlambda, lambda = lambda,  : 
  the length of penalty.factor does not match the number of variables
Calls: bglmnet -> <Anonymous>
Execution halted