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

> ### Name: make.prerun.object
> ### Title: combines data, calibration and sets up priors
> ### Aliases: make.prerun.object
> 
> ### ** Examples
> 
> File<-system.file("extdata", "Godwit_TAGS_format.csv", package = "FLightR")
> # to run example fast we will cut the real data file by 2013 Aug 20
> Proc.data<-get.tags.data(File, end.date=as.POSIXct('2013-07-02', tz='GMT'))
Detected Intigeo_Mode_1 tag
Data found to be logtransformed
tag saved data every 300 seconds, and is assumed to measure data every 60 seconds, and write down max 
> Calibration.periods<-data.frame(
+        calibration.start=NA,
+        calibration.stop=as.POSIXct("2013-08-20"),
+        lon=5.43, lat=52.93) 
>        #use c() also for the geographic coordinates, if you have more than one calibration location
>        # (e. g.,  lon=c(5.43, 6.00), lat=c(52.93,52.94))
> print(Calibration.periods)
  calibration.start calibration.stop  lon   lat
1                NA       2013-08-20 5.43 52.93
> 
> # NB Below likelihood.correction is set to FALSE for fast run! 
> # Leave it as default TRUE for real examples
> Calibration<-make.calibration(Proc.data, Calibration.periods, likelihood.correction=FALSE)

 checking dawn 1
 checking dawn 2
 checking dawn 3
 checking dawn 4
 checking dawn 5
 checking dawn 6
 checking dawn 7
 checking dawn 8
 checking dawn 9
 checking dawn 10
 checking dawn 11
 checking dawn 12
 checking dawn 13
 checking dusk 1
 checking dusk 2
 checking dusk 3
 checking dusk 4
 checking dusk 5
 checking dusk 6
 checking dusk 7
 checking dusk 8
 checking dusk 9
 checking dusk 10
 checking dusk 11
 checking dusk 12
 checking dusk 13
 checking dusk 14
 checking dusk 15


calibration method used: parametric.slope 
> 
> Grid<-make.grid(left=0, bottom=50, right=10, top=56,
+   distance.from.land.allowed.to.use=c(-Inf, Inf),
+   distance.from.land.allowed.to.stay=c(-Inf, Inf))
> 
> all.in<-make.prerun.object(Proc.data, Grid, start=c(5.43, 52.93),
+                              Calibration=Calibration, threads=2)
likelihood correction turned off as no correction found in the calibration
making cluster
Error in serverSocket(port = port) : 
  creation of server socket failed: port 11133 cannot be opened
Calls: make.prerun.object ... get.Phys.Mat.parallel -> <Anonymous> -> makePSOCKcluster -> serverSocket
Execution halted