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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: read.doe.lsd
> ### Title: Read a set of experimental data from a LSD model
> ### Aliases: read.doe.lsd
> ### Keywords: interface file datasets datagen design
> 
> ### ** Examples
> 
> # get the example directory name
> path <- system.file( "extdata/sobol", package = "LSDsensitivity" )
> 
> # Steps to use this function:
> # 1. define the variables you want to use in the analysis
> # 2. optionally, define special handling functions (see examples below)
> # 3. load data from a LSD simulation saved results using read.doe.lsd
> # 4. perform the elementary effects analysis applying elementary.effects.lsd
> 
> # the definition of existing, to take log and to be added variables
> lsdVars <- c( "var1", "var2", "var3" )
> logVars <- c( "var1", "var3" )
> newVars <- c( "var4" )
> 
> # load data from a LSD simulation baseline configuration named "Sim1.lsd" to
> # perform sensitivity analysis on the variable named "var1"
> # there are two groups of sampled data (DoEs) created by LSD being read
> # just use no handling functions for now, see possible examples below
> dataSet <- read.doe.lsd( path,                 # data files folder
+                          "Sim3",               # data files base name (same as .lsd file)
+                          "var3",               # variable name to perform the sens. analysis
+                          does = 2,             # # of experiments (data + external validation)
+                          iniDrop = 0,          # initial time steps to drop (0=none)
+                          nKeep = -1,           # number of time steps to keep (-1=all)
+                          saveVars = lsdVars,   # LSD variables to keep in dataset
+                          addVars = newVars,    # new variables to add to the LSD dataset
+                          eval.stat = "median", # use median to evaluate runs
+                          rm.temp = FALSE,      # reuse temporary speedup files
+                          rm.outl = FALSE,      # remove outliers from dataset
+                          lim.outl = 10,        # limit non-outliers deviation (# of std. devs.)
+                          quietly = FALSE )     # show information during processing

Sample # 18 

Data files:  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_18_52.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_18_53.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_18_54.res.gz 

Number of MC runs:  3 
Number of periods:  100 
Number of used periods:  100 
Number of variables:  3 

Reading data from files...

Number of variables:  4 
Number of samples:  1200 


Sample # 19 

Data files:  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_19_55.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_19_56.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_19_57.res.gz 

Number of MC runs:  3 
Number of periods:  100 
Number of used periods:  100 
Number of variables:  3 

Reading data from files...

Number of variables:  4 
Number of samples:  1200 


Sample # 20 

Data files:  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_20_58.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_20_59.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_20_60.res.gz 

Number of MC runs:  3 
Number of periods:  100 
Number of used periods:  100 
Number of variables:  3 

Reading data from files...

Number of variables:  4 
Number of samples:  1200 


Sample # 21 

Data files:  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_21_61.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_21_62.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_21_63.res.gz 

Number of MC runs:  3 
Number of periods:  100 
Number of used periods:  100 
Number of variables:  3 

Reading data from files...

Number of variables:  4 
Number of samples:  1200 


Sample # 22 

Data files:  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_22_64.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_22_65.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_22_66.res.gz 

Number of MC runs:  3 
Number of periods:  100 
Number of used periods:  100 
Number of variables:  3 

Reading data from files...

Number of variables:  4 
Number of samples:  1200 


Sample # 23 

Data files:  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_23_67.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_23_68.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_23_69.res.gz 

Number of MC runs:  3 
Number of periods:  100 
Number of used periods:  100 
Number of variables:  3 

Reading data from files...

Number of variables:  4 
Number of samples:  1200 


Sample # 24 

Data files:  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_24_70.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_24_71.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_24_72.res.gz 

Number of MC runs:  3 
Number of periods:  100 
Number of used periods:  100 
Number of variables:  3 

Reading data from files...

Number of variables:  4 
Number of samples:  1200 


Sample # 25 

Data files:  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_25_73.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_25_74.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_25_75.res.gz 

Number of MC runs:  3 
Number of periods:  100 
Number of used periods:  100 
Number of variables:  3 

Reading data from files...

Number of variables:  4 
Number of samples:  1200 


Sample # 26 

Data files:  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_26_76.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_26_77.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_26_78.res.gz 

Number of MC runs:  3 
Number of periods:  100 
Number of used periods:  100 
Number of variables:  3 

Reading data from files...

Number of variables:  4 
Number of samples:  1200 


Sample # 27 

Data files:  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_27_79.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_27_80.res.gz /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_27_81.res.gz 

Number of MC runs:  3 
Number of periods:  100 
Number of used periods:  100 
Number of variables:  3 

Reading data from files...

Number of variables:  4 
Number of samples:  1200 

Warning in gzfile(file, "wb") :
  cannot open compressed file '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/LSDsensitivity/extdata/sobol/Sim3_18_27.RData', probable reason 'Read-only file system'
Error in value[[3L]](cond) : 
  Cannot write DoE response file to disk (read-only?)
Calls: read.doe.lsd ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted