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

> ### Name: SL.ranger
> ### Title: SL wrapper for ranger
> ### Aliases: SL.ranger
> 
> ### ** Examples
> 
> 
> data(Boston, package = "MASS")
> Y = Boston$medv
> # Remove outcome from covariate dataframe.
> X = Boston[, -14]
> 
> set.seed(1)
> 
> # Use only 2 CV folds to speed up example.
> sl = SuperLearner(Y, X, family = gaussian(), cvControl = list(V = 2),
+                  SL.library = c("SL.mean", "SL.ranger"))
Loading required namespace: ranger
Failed with error:  'DLL 'Rcpp' not found: maybe not installed for this architecture?'
Error : loading required package (ranger) failed
Warning in FUN(X[[i]], ...) :
  Error in algorithm SL.ranger 
  The Algorithm will be removed from the Super Learner (i.e. given weight 0) 

Loading required namespace: ranger
Failed with error:  'DLL 'Rcpp' not found: maybe not installed for this architecture?'
Error : loading required package (ranger) failed
Warning in FUN(X[[i]], ...) :
  Error in algorithm SL.ranger 
  The Algorithm will be removed from the Super Learner (i.e. given weight 0) 

Loading required namespace: ranger
Failed with error:  'DLL 'Rcpp' not found: maybe not installed for this architecture?'
Error : loading required package (ranger) failed
Warning in FUN(X[[i]], ...) :
  Error in algorithm SL.ranger  on full data 
  The Algorithm will be removed from the Super Learner (i.e. given weight 0) 

Warning in SuperLearner(Y, X, family = gaussian(), cvControl = list(V = 2),  :
  Coefficients already 0 for all failed algorithm(s)
> sl

Call:  
SuperLearner(Y = Y, X = X, family = gaussian(), SL.library = c("SL.mean",  
    "SL.ranger"), cvControl = list(V = 2)) 


                  Risk Coef
SL.mean_All   84.68179    1
SL.ranger_All       NA    0
> 
> pred = predict(sl, X)
Error in UseMethod("predict") : 
  no applicable method for 'predict' applied to an object of class "NULL"
Calls: predict -> predict.SuperLearner -> do.call -> predict
Execution halted