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

> ### Name: fscaret
> ### Title: feature selection caret
> ### Aliases: fscaret
> ### Keywords: methods iteration optimize array
> 
> ### ** Examples
> 
> 
> if((Sys.info()['sysname'])!="SunOS"){
+ 
+ library(fscaret)
+ 
+ # Load data sets
+ data(dataset.train)
+ data(dataset.test)
+ 
+ requiredPackages <- c("R.utils", "gsubfn", "ipred", "caret", "parallel", "MASS")
+ 
+ if(.Platform$OS.type=="windows"){
+ 
+ myFirstRES <- fscaret(dataset.train, dataset.test, installReqPckg=FALSE,
+                   preprocessData=FALSE, with.labels=TRUE, classPred=FALSE,
+                   regPred=TRUE, skel_outfile=NULL,
+                   impCalcMet="RMSE&MSE", myTimeLimit=4,
+                   Used.funcRegPred=c("lm"), Used.funcClassPred=NULL,
+                   no.cores=1, method="boot", returnResamp="all",
+                   supress.output=TRUE,saveModel=FALSE)
+ 
+ } else {
+ 
+ myCores <- 2
+ 
+ myFirstRES <- fscaret(dataset.train, dataset.test, installReqPckg=FALSE,
+                   preprocessData=FALSE, with.labels=TRUE, classPred=FALSE,
+                   regPred=TRUE, skel_outfile=NULL,
+                   impCalcMet="RMSE&MSE", myTimeLimit=4,
+                   Used.funcRegPred=c("lm","ppr"), Used.funcClassPred=NULL,
+                   no.cores=myCores, method="boot", returnResamp="all",
+                   supress.output=TRUE,saveModel=FALSE)
+ 
+ }
+ 
+ 
+ 
+ # Results
+ myFirstRES
+ 
+ }
Loading required package: R.utils
Loading required package: R.oo
Loading required package: R.methodsS3
R.methodsS3 v1.8.1 (2020-08-26 16:20:06 UTC) successfully loaded. See ?R.methodsS3 for help.
R.oo v1.24.0 (2020-08-26 16:11:58 UTC) successfully loaded. See ?R.oo for help.

Attaching package: 'R.oo'

The following object is masked from 'package:R.methodsS3':

    throw

The following objects are masked from 'package:methods':

    getClasses, getMethods

The following objects are masked from 'package:base':

    attach, detach, load, save

R.utils v2.11.0 (2021-09-26 08:30:02 UTC) successfully loaded. See ?R.utils for help.

Attaching package: 'R.utils'

The following object is masked from 'package:utils':

    timestamp

The following objects are masked from 'package:base':

    cat, commandArgs, getOption, inherits, isOpen, nullfile, parse,
    warnings

Loading required package: multicore
Loading required package: MASS

----Packages loaded successfully----


-----Warnings have been supressed!----
----------------------------------------
Calculating:  lm 
----------------------------------------
----------------------------------------
 lm 
----------------------------------------
Elapsed time:  1.16 0.05 1.2 NA NA 
Error in gzfile(file, "wb") : cannot open the connection
Calls: fscaret -> regVarImp -> lapply -> FUN -> save -> gzfile
Execution halted