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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: titan
> ### Title: Perform a threshold indicator taxa analysis
> ### Aliases: titan
> ### Keywords: IndVal TITAN bootstrap permutation sum(z)
> 
> ### ** Examples
> 
> 
> data(glades.env); str(glades.env)
'data.frame':	126 obs. of  1 variable:
 $ TP.ugL: num  41.2 41.8 43.6 40.1 43.6 43 43.6 36.5 34.1 56.4 ...
> data(glades.taxa); str(glades.taxa)
'data.frame':	126 obs. of  164 variables:
 $ ABLARHAM: num  0 0 0 0 0 0 0 0 0 0 ...
 $ ACENTRIA: num  0 0 0 0 0 0 0 0 0 0 ...
 $ ANOPHELE: num  0 0 0 0 0.802 ...
 $ APEDELAS: num  0 0 0 0 0 0 0 0 0 0 ...
 $ APHAOPAC: num  0.382 0.802 1.294 0 0.564 ...
 $ ARRENSP1: num  0 0 0 0 0 ...
 $ ATRICHOP: num  0 0 0 0 0 ...
 $ BEARTRUN: num  0 0 0 0 0 ...
 $ BELO.IMM: num  0 0 0.222 0.368 0.368 ...
 $ BELOLUTA: num  0 0 0 0 0 0 0 0 0 0 ...
 $ BELOTEST: num  0 0.368 0 0 0 ...
 $ BEROSU.L: num  0 0 0 0 0 0 0 0 0 0 ...
 $ BEZZSP1 : num  0 0 0 0.564 0 ...
 $ BEZZSP2 : num  0 0 0.564 0 0 ...
 $ BEZZSP3 : num  0 0 1.07 0 0 ...
 $ BRACGRAV: num  0 0 0 0 0 0 0 0 0 0 ...
 $ BRATUNID: num  0 0 0 1.23 0 ...
 $ CAECIDOT: num  0 1.23 1.863 0.564 0.802 ...
 $ CAENDIMI: num  0 0 0 0 0 0 0 0 0 0 ...
 $ CALANOID: num  0 0 0 0 0 0 0 0 0 0 ...
 $ CALLFLOR: num  0 0 0 0 0 0 0 0 0 0 ...
 $ CANDANNA: num  0 0 0 0 0.564 ...
 $ CELIEPON: num  0 0 0 0 0 ...
 $ CELIIMIT: num  0 0 0 0.222 0.802 ...
 $ CELINA.L: num  0.582 0 0.564 0.564 0.954 ...
 $ CERIODAP: num  0 0 0 0 0 ...
 $ CERNOTIN: num  0 0 0 0 0 0 0 0 0 0 ...
 $ CHIRSTIG: num  0.582 0 0 1.156 0 ...
 $ CHMUSSP : num  0 0 0 0 0 0 0 0 0 0 ...
 $ CHYDORID: num  0 0 0 0 0 0 0 0 0 0 ...
 $ CLADOPEL: num  0 0 0 0 0 0 0 0 0 0 ...
 $ CLADOTAN: num  0 0 0 0 0 0 0 0 0 0 ...
 $ COLLESP1: num  1.22 1.16 0 1.52 1.55 ...
 $ COLLESP2: num  0.382 1.23 0 1.398 0.954 ...
 $ COLLESP4: num  0 0 0 0 0 ...
 $ CORYINGE: num  0 0 0 0 0 0 0 0 0 0 ...
 $ CORYSPD : num  0 0 0 0 0 0 0 0 0 0 ...
 $ CRANGONY: num  0 0 0 0 0 0 0 0 0 0 ...
 $ CURCULIO: num  0 0.564 0 0 0 ...
 $ CYBIFIMB: num  0 0 0 0 0 ...
 $ CYCLPOID: num  1.49 1.48 1.76 1.61 2.03 ...
 $ CYPRBREV: num  0 0 0 0 0 0 0 0 0 0 ...
 $ CYPROKEE: num  0 0 0.954 0 0.954 ...
 $ CYTHALOS: num  1.32 0 1.35 1.71 1.88 ...
 $ DAPHNSP1: num  0 0 0 0 0 0 0 0 0 0 ...
 $ DASYHELE: num  0 0 2.53 1.29 1.44 ...
 $ DERAALTU: num  0 1.067 0.222 0.802 1.156 ...
 $ DERODIGX: num  2.21 2.03 2.18 2.48 3 ...
 $ DEROFURC: num  1.218 0.564 0 0.564 1.713 ...
 $ DEROLODE: num  0 0 0 0 0 0 0 0 0 0 ...
 $ DEROPECT: num  0 0 0 0 0 0 0 0 0 0 ...
 $ DESMOP.A: num  0.582 0 0 0 0.564 ...
 $ DESMOP.L: num  0 0 0 0 0 ...
 $ DICROMOD: num  0 0 0 0 0 0 0 0 0 0 ...
 $ DICROSIM: num  0 0 0 0 0 0 0 0 0 0 ...
 $ ECLIPALU: num  0 0 0 0 0 0 0 0 0 0 ...
 $ ENALCIVI: num  0 0 0.564 0 0 ...
 $ ENOCHR.L: num  0 0.564 0.802 0.564 0.802 ...
 $ ENOCOCHR: num  0 0 0 1.156 0.954 ...
 $ ERYTHSIM: num  0 0.368 0.222 0 0 ...
 $ EYLAIS  : num  0 0 0 0 0 0 0 0 0 0 ...
 $ FERRISSI: num  0.382 0 0 0 0 ...
 $ FITTSERT: num  0 0 0 0 0 0 0 0 0 0 ...
 $ FORCMYIA: num  0 0 0.954 0.802 0.954 ...
 $ GASTRO1 : num  0 0 0 0 0 ...
 $ GOELDHOL: num  1.37 1.23 2.13 2.45 2.58 ...
 $ GOELDNAT: num  0 0 0.564 0 0 ...
 $ HAEMWALD: num  0.976 0 0.564 1.067 0 ...
 $ HARPACTI: num  0 0 0.564 0 1.067 ...
 $ HELOFUSC: num  0 0 0 0 0 0 0 0 0 0 ...
 $ HELOLARV: num  0.382 0 0 0 0 ...
 $ HELOTRIS: num  0 0 0 0.222 0 ...
 $ HYALAZTE: num  0.382 1.999 2.235 1.067 1.23 ...
 $ HYDBISP2: num  0 0 0 0 0 0 0 0 0 0 ...
 $ HYDCAN.L: num  0 0 0.802 0 0 ...
 $ HYDRA   : num  0 0 0 0 0 0 0 0 0 0 ...
 $ HYDROBLO: num  0 0 0.477 0 0 ...
 $ HYDRPUST: num  0 0 0 0 0.564 ...
 $ HYDRSP13: num  0 0 0 0 0 ...
 $ ILYBIU.L: num  0 0 0 0 0 0 0 0 0 0 ...
 $ ILYOSPIN: num  0 0 0 0 0 0 0 0 0 0 ...
 $ ISCHNURA: num  0 0 0 0 0 0 0 0 0 0 ...
 $ KIEFFDUX: num  0 0 0 0 0 ...
 $ LABRNEOP: num  0 0 0 0 0 0 0 0 0 0 ...
 $ LACCGENT: num  0 0 0 0 0 0 0 0 0 0 ...
 $ LAEVPENI: num  0 0.564 0.802 0 0.564 ...
 $ LAMPYRID: num  0 0 0 0 0 0 0 0 0 0 ...
 $ LARSBERN: num  0 0 0 0 0 0 0 0 0 0 ...
 $ LARSDECO: num  0 0.802 2.749 1.067 1.83 ...
 $ LIBENEED: num  0 0 0 0 0 0 0 0 0 0 ...
 $ LIMONIA : num  0 0 0 0.564 0 ...
 $ MACROTHR: num  0 0 0 0 0 0 0 0 0 0 ...
 $ MANSOSP1: num  0 0 0 0.564 0 ...
 $ MANSOSP2: num  0 0.564 0.802 0 0 ...
 $ MESOVELI: num  0 0 0 0.564 0 ...
 $ MICRDILA: num  0 0 0 0 0 0 0 0 0 0 ...
 $ MICRVELI: num  0 0 0 0 0 ...
 $ MOORMICR: num  0 0 0.699 0 0 ...
 $ NAMALABI: num  0 0 0 0 0 0 0 0 0 0 ...
  [list output truncated]
> 
> # small run to illustrate data structure
> glades.titan <- titan(glades.env, glades.taxa, minSplt = 5,
+   numPerm = 25, boot = TRUE, nBoot = 2, imax = FALSE,
+   ivTot = FALSE, pur.cut = 0.95, rel.cut = 0.95, ncpus = 2, memory = FALSE
+ )
ℹ Screening taxa...
→   100% occurrence detected 1 times (0.6% of taxa),
→   use of TITAN less than ideal for this data type.
✔   Taxa frequency screen complete.
ℹ Partitioning along gradient...
ℹ Calculating observed IndVal maxima and class values...
ℹ Calculating IndVals using mean relative abundance...
ℹ Permuting IndVal scores...
ℹ Summarizing observed results...
ℹ Estimating taxa change points using z-score maxima...
ℹ Bootstrap resampling in parallel using 2 CPUs... no index will be printed to screen.
Error in serverSocket(port = port) : 
  creation of server socket failed: port 11136 cannot be opened
Calls: titan ... boot.titan -> <Anonymous> -> makePSOCKcluster -> serverSocket
Execution halted