Running examples in ‘relimp-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: relimp
> ### Title: Relative Importance of Predictors in a Regression Model
> ### Aliases: relimp print.relimp
> ### Keywords: models regression
> 
> ### ** Examples
> 
> set.seed(182)  ## an arbitrary number, just for reproducibility
> x <- rnorm(100)
> z <- rnorm(100)
> w <- rnorm(100)
> y <- 3 + (2 * x) + z + w + rnorm(100)
> test <- lm(y ~ x + z + w)
> print(test)

Call:
lm(formula = y ~ x + z + w)

Coefficients:
(Intercept)            x            z            w  
     3.0923       1.8040       0.9531       1.0088  

> relimp(test, 2, 3)    #  compares effects of x and z
Warning in 1.96 * (object$se.log.ratio) * c(-1, 1) :
  Recycling array of length 1 in array-vector arithmetic is deprecated.
  Use c() or as.vector() instead.


Relative importance summary for model
    lm(formula = y ~ x + z + w)

       Numerator effects ("set1")      Denominator effects ("set2") 
1                               x                                 z 

Ratio of effect standard deviations: 1.765
Log(sd ratio):                 0.568   (se 0.106)

Approximate 95% confidence interval for log(sd ratio): (0.36,0.776)
Approximate 95% confidence interval for sd ratio:      (1.434,2.173)
> relimp(test, 2, 3:4)  #  compares effect of x with that of (z,w) combined
Warning in 1.96 * (object$se.log.ratio) * c(-1, 1) :
  Recycling array of length 1 in array-vector arithmetic is deprecated.
  Use c() or as.vector() instead.


Relative importance summary for model
    lm(formula = y ~ x + z + w)

       Numerator effects ("set1")      Denominator effects ("set2") 
1                               x                                 z 
2                                                                 w 

Ratio of effect standard deviations: 1.349
Log(sd ratio):                 0.299   (se 0.085)

Approximate 95% confidence interval for log(sd ratio): (0.132,0.466)
Approximate 95% confidence interval for sd ratio:      (1.141,1.594)
> ##
> ##  Data on housing and satisfaction, from Venables and Ripley
> ##  -- multinomial logit model
> library(MASS)
> library(nnet)
Error: package or namespace load failed for ‘nnet’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nnet/libs/nnet.so':
  /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/nnet/libs/nnet.so: failed to map segment from shared object
Execution halted