Running ‘testthat.R’ [66s/99s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(FLightR)
  This is FLightR 0.4.6
   NB: All functions that started from plot.**.**() are renamed to plot_**_** in order to pass CRAN check 
  
  > test_check("FLightR")
  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 
  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 
  
   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 dawn 14
   checking dawn 15
   checking dawn 16
   checking dawn 17
   checking dawn 18
   checking dawn 19
   checking dawn 20
   checking dawn 21
   checking dawn 22
   checking dawn 23
   checking dawn 24
   checking dawn 25
   checking dawn 26
   checking dawn 27
   checking dawn 28
   checking dawn 29
   checking dawn 30
   checking dawn 31
   checking dawn 32
   checking dawn 33
   checking dawn 34
   checking dawn 35
   checking dawn 36
   checking dawn 37
   checking dawn 38
   checking dawn 39
   checking dawn 40
   checking dawn 41
   checking dawn 42
   checking dawn 43
   checking dawn 44
   checking dawn 45
   checking dawn 46
   checking dawn 47
   checking dawn 48
   checking dawn 49
   checking dawn 50
   checking dawn 51
   checking dawn 52
   checking dawn 53
   checking dawn 54
   checking dawn 55
   checking dawn 56
   checking dawn 57
   checking dawn 58
   checking dawn 59
   checking dawn 60
   checking dawn 61
   checking dawn 62
   checking dawn 63
   checking dawn 64
   checking dawn 65
   checking dawn 66
   checking dawn 67
   checking dawn 68
   checking dawn 69
   checking dawn 70
   checking dawn 71
   checking dawn 72
   checking dawn 73
   checking dawn 74
   checking dawn 75
   checking dawn 76
   checking dawn 77
   checking dawn 78
   checking dawn 79
   checking dawn 80
   checking dawn 81
   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
   checking dusk 16
   checking dusk 17
   checking dusk 18
   checking dusk 19
   checking dusk 20
   checking dusk 21
   checking dusk 22
   checking dusk 23
   checking dusk 24
   checking dusk 25
   checking dusk 26
   checking dusk 27
   checking dusk 28
   checking dusk 29
   checking dusk 30
   checking dusk 31
   checking dusk 32
   checking dusk 33
   checking dusk 34
   checking dusk 35
   checking dusk 36
   checking dusk 37
   checking dusk 38
   checking dusk 39
   checking dusk 40
   checking dusk 41
   checking dusk 42
   checking dusk 43
   checking dusk 44
   checking dusk 45
   checking dusk 46
   checking dusk 47
   checking dusk 48
   checking dusk 49
   checking dusk 50
   checking dusk 51
   checking dusk 52
   checking dusk 53
   checking dusk 54
   checking dusk 55
   checking dusk 56
   checking dusk 57
   checking dusk 58
   checking dusk 59
   checking dusk 60
   checking dusk 61
   checking dusk 62
   checking dusk 63
   checking dusk 64
   checking dusk 65
   checking dusk 66
   checking dusk 67
   checking dusk 68
   checking dusk 69
   checking dusk 70
   checking dusk 71
   checking dusk 72
   checking dusk 73
   checking dusk 74
   checking dusk 75
   checking dusk 76
   checking dusk 77
   checking dusk 78
   checking dusk 79
   checking dusk 80
   checking dusk 81
  calibration method used: parametric.slope 
  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 
  
   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 dawn 14
   checking dawn 15
   checking dawn 16
   checking dawn 17
   checking dawn 18
   checking dawn 19
   checking dawn 20
   checking dawn 21
   checking dawn 22
   checking dawn 23
   checking dawn 24
   checking dawn 25
   checking dawn 26
   checking dawn 27
   checking dawn 28
   checking dawn 29
   checking dawn 30
   checking dawn 31
   checking dawn 32
   checking dawn 33
   checking dawn 34
   checking dawn 35
   checking dawn 36
   checking dawn 37
   checking dawn 38
   checking dawn 39
   checking dawn 40
   checking dawn 41
   checking dawn 42
   checking dawn 43
   checking dawn 44
   checking dawn 45
   checking dawn 46
   checking dawn 47
   checking dawn 48
   checking dawn 49
   checking dawn 50
   checking dawn 51
   checking dawn 52
   checking dawn 53
   checking dawn 54
   checking dawn 55
   checking dawn 56
   checking dawn 57
   checking dawn 58
   checking dawn 59
   checking dawn 60
   checking dawn 61
   checking dawn 62
   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
   checking dusk 16
   checking dusk 17
   checking dusk 18
   checking dusk 19
   checking dusk 20
   checking dusk 21
   checking dusk 22
   checking dusk 23
   checking dusk 24
   checking dusk 25
   checking dusk 26
   checking dusk 27
   checking dusk 28
   checking dusk 29
   checking dusk 30
   checking dusk 31
   checking dusk 32
   checking dusk 33
   checking dusk 34
   checking dusk 35
   checking dusk 36
   checking dusk 37
   checking dusk 38
   checking dusk 39
   checking dusk 40
   checking dusk 41
   checking dusk 42
   checking dusk 43
   checking dusk 44
   checking dusk 45
   checking dusk 46
   checking dusk 47
   checking dusk 48
   checking dusk 49
   checking dusk 50
   checking dusk 51
   checking dusk 52
   checking dusk 53
   checking dusk 54
   checking dusk 55
   checking dusk 56
   checking dusk 57
   checking dusk 58
   checking dusk 59
   checking dusk 60
   checking dusk 61
   checking dusk 62
   checking dusk 63
  calibration method used: parametric.slope 
  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 
  stage 1...
  stage 2...
  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 
  
   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 
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  estimating dawns
  doing 1 
  doing 11 
  processing results
  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 
  
   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 
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  estimating dawns
  doing 1 
  doing 11 
  processing results
  smart filter is OFF
  
  
  ##########################
       Time.Period 1 of 27 
  generating new particlesESS is  1000
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 2 of 27 
  generating new particlesESS is  470.6603 - resampling 1 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 3 of 27 
  generating new particlesESS is  327.7491 - resampling 2 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 4 of 27 
  generating new particlesESS is  763.993 - resampling 3 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 5 of 27 
  generating new particlesESS is  698.9287 - resampling 4 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 6 of 27 
  generating new particlesESS is  743.0857 - resampling 5 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 7 of 27 
  generating new particlesESS is  826.2838 - resampling 6 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 8 of 27 
  generating new particlesESS is  790.4382 - resampling 7 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 9 of 27 
  generating new particlesESS is  891.7214 - resampling 8 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 10 of 27 
  generating new particlesESS is  890.0195 - resampling 9 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 11 of 27 
  generating new particlesESS is  886.9594 - resampling 10 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 12 of 27 
  generating new particlesESS is  853.6809 - resampling 11 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 13 of 27 
  generating new particlesESS is  568.24 - resampling 12 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 14 of 27 
  generating new particlesESS is  901.5206 - resampling 13 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 15 of 27 
  generating new particlesESS is  915.4745 - resampling 14 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 16 of 27 
  generating new particlesESS is  894.841 - resampling 15 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 17 of 27 
  generating new particlesESS is  885.4142 - resampling 16 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 18 of 27 
  generating new particlesESS is  909.4828 - resampling 17 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 19 of 27 
  generating new particlesESS is  948.7166 - resampling 18 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 20 of 27 
  generating new particlesESS is  878.573 - resampling 19 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 21 of 27 
  generating new particlesESS is  821.0391 - resampling 20 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 22 of 27 
  generating new particlesESS is  932.8724 - resampling 21 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 23 of 27 
  generating new particlesESS is  935.6167 - resampling 22 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 24 of 27 
  generating new particlesESS is  919.3259 - resampling 23 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 25 of 27 
  generating new particlesESS is  829.4418 - resampling 24 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 26 of 27 
  generating new particlesESS is  947.4578 - resampling 25 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 27 of 27 
  generating new particlesESS is  683.6541 - resampling 26 
     unique P in point leaving stack 1 
  creating stack
  adding last points form the stack to the resutls
  +----------------------------------+
  |     estimated negative Log Likelihood is -11.71543 
  +----------------------------------+
  estimating results object
  estimating quantiles for positions
  adding 95% credibility intervals to medians
     estimating distances
     estimating directions
     estimating mean directions and kappas
     estimating kappas
     estimating mean dists
     estimating probs of migration
     estimating median dists
     creating output DONE!
  DONE!
  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 
  
   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 
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  estimating dawns
  doing 1 
  doing 11 
  processing results
  smart filter is OFF
  
  
  ##########################
       Time.Period 1 of 27 
  generating new particlesESS is  1000
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 2 of 27 
  generating new particlesESS is  546.0505 - resampling 1 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 3 of 27 
  generating new particlesESS is  310.2656 - resampling 2 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 4 of 27 
  generating new particlesESS is  766.5165 - resampling 3 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 5 of 27 
  generating new particlesESS is  732.4344 - resampling 4 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 6 of 27 
  generating new particlesESS is  770.4441 - resampling 5 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 7 of 27 
  generating new particlesESS is  851.9436 - resampling 6 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 8 of 27 
  generating new particlesESS is  814.4314 - resampling 7 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 9 of 27 
  generating new particlesESS is  913.1962 - resampling 8 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 10 of 27 
  generating new particlesESS is  888.9681 - resampling 9 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 11 of 27 
  generating new particlesESS is  851.7869 - resampling 10 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 12 of 27 
  generating new particlesESS is  838.0835 - resampling 11 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 13 of 27 
  generating new particlesESS is  619.7116 - resampling 12 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 14 of 27 
  generating new particlesESS is  866.4887 - resampling 13 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 15 of 27 
  generating new particlesESS is  929.7389 - resampling 14 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 16 of 27 
  generating new particlesESS is  889.7734 - resampling 15 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 17 of 27 
  generating new particlesESS is  921.1313 - resampling 16 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 18 of 27 
  generating new particlesESS is  917.8639 - resampling 17 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 19 of 27 
  generating new particlesESS is  945.3433 - resampling 18 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 20 of 27 
  generating new particlesESS is  907.045 - resampling 19 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 21 of 27 
  generating new particlesESS is  888.372 - resampling 20 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 22 of 27 
  generating new particlesESS is  909.2543 - resampling 21 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 23 of 27 
  generating new particlesESS is  928.1433 - resampling 22 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 24 of 27 
  generating new particlesESS is  896.7081 - resampling 23 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 25 of 27 
  generating new particlesESS is  801.2342 - resampling 24 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 26 of 27 
  generating new particlesESS is  950.0531 - resampling 25 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 27 of 27 
  generating new particlesESS is  688.2786 - resampling 26 
     unique P in point leaving stack 1 
  creating stack
  adding last points form the stack to the resutls
  +----------------------------------+
  |     estimated negative Log Likelihood is -11.83937 
  +----------------------------------+
  estimating results object
  estimating quantiles for positions
  adding 95% credibility intervals to medians
     estimating distances
     estimating directions
     estimating mean directions and kappas
     estimating kappas
     estimating mean dists
     estimating probs of migration
     estimating median dists
     creating output DONE!
  DONE!
  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 
  
   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 
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  estimating dawns
  doing 1 
  doing 11 
  processing results
  smart filter is OFF
  
  
  ##########################
       Time.Period 1 of 27 
  generating new particlesESS is  1000
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 2 of 27 
  generating new particlesESS is  475.3928 - resampling 1 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 3 of 27 
  generating new particlesESS is  323.8413 - resampling 2 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 4 of 27 
  generating new particlesESS is  734.8861 - resampling 3 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 5 of 27 
  generating new particlesESS is  768.2047 - resampling 4 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 6 of 27 
  generating new particlesESS is  738.3546 - resampling 5 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 7 of 27 
  generating new particlesESS is  783.0491 - resampling 6 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 8 of 27 
  generating new particlesESS is  787.05 - resampling 7 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 9 of 27 
  generating new particlesESS is  906.6812 - resampling 8 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 10 of 27 
  generating new particlesESS is  913.4634 - resampling 9 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 11 of 27 
  generating new particlesESS is  852.8838 - resampling 10 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 12 of 27 
  generating new particlesESS is  908.9306 - resampling 11 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 13 of 27 
  generating new particlesESS is  588.1081 - resampling 12 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 14 of 27 
  generating new particlesESS is  852.4445 - resampling 13 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 15 of 27 
  generating new particlesESS is  950.0527 - resampling 14 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 16 of 27 
  generating new particlesESS is  890.2387 - resampling 15 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 17 of 27 
  generating new particlesESS is  913.4517 - resampling 16 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 18 of 27 
  generating new particlesESS is  889.7837 - resampling 17 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 19 of 27 
  generating new particlesESS is  937.7909 - resampling 18 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 20 of 27 
  generating new particlesESS is  912.2198 - resampling 19 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 21 of 27 
  generating new particlesESS is  875.1753 - resampling 20 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 22 of 27 
  generating new particlesESS is  915.8613 - resampling 21 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 23 of 27 
  generating new particlesESS is  916.1991 - resampling 22 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 24 of 27 
  generating new particlesESS is  901.2785 - resampling 23 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 25 of 27 
  generating new particlesESS is  824.4157 - resampling 24 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 26 of 27 
  generating new particlesESS is  944.8476 - resampling 25 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 27 of 27 
  generating new particlesESS is  726.59 - resampling 26 
     unique P in point leaving stack 1 
  creating stack
  adding last points form the stack to the resutls
  +----------------------------------+
  |     estimated negative Log Likelihood is -11.70725 
  +----------------------------------+
  estimating results object
  estimating quantiles for positions
  adding 95% credibility intervals to medians
     estimating distances
     estimating directions
     estimating mean directions and kappas
     estimating kappas
     estimating mean dists
     estimating probs of migration
     estimating median dists
     creating output DONE!
  DONE!
  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 
  
   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 
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  estimating dawns
  doing 1 
  doing 11 
  processing results
  smart filter is OFF
  
  
  ##########################
       Time.Period 1 of 27 
  generating new particlesESS is  1000
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 2 of 27 
  generating new particlesESS is  467.4031 - resampling 1 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 3 of 27 
  generating new particlesESS is  330.7519 - resampling 2 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 4 of 27 
  generating new particlesESS is  788.4352 - resampling 3 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 5 of 27 
  generating new particlesESS is  772.2089 - resampling 4 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 6 of 27 
  generating new particlesESS is  790.1398 - resampling 5 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 7 of 27 
  generating new particlesESS is  858.3891 - resampling 6 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 8 of 27 
  generating new particlesESS is  795.7563 - resampling 7 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 9 of 27 
  generating new particlesESS is  918.7429 - resampling 8 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 10 of 27 
  generating new particlesESS is  899.5619 - resampling 9 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 11 of 27 
  generating new particlesESS is  891.4317 - resampling 10 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 12 of 27 
  generating new particlesESS is  901.6222 - resampling 11 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 13 of 27 
  generating new particlesESS is  527.9042 - resampling 12 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 14 of 27 
  generating new particlesESS is  883.7549 - resampling 13 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 15 of 27 
  generating new particlesESS is  921.8033 - resampling 14 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 16 of 27 
  generating new particlesESS is  896.4579 - resampling 15 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 17 of 27 
  generating new particlesESS is  907.548 - resampling 16 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 18 of 27 
  generating new particlesESS is  893.0546 - resampling 17 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 19 of 27 
  generating new particlesESS is  937.0343 - resampling 18 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 20 of 27 
  generating new particlesESS is  916.7484 - resampling 19 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 21 of 27 
  generating new particlesESS is  854.1956 - resampling 20 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 22 of 27 
  generating new particlesESS is  912.985 - resampling 21 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 23 of 27 
  generating new particlesESS is  940.1104 - resampling 22 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 24 of 27 
  generating new particlesESS is  924.1527 - resampling 23 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 25 of 27 
  generating new particlesESS is  837.9666 - resampling 24 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 26 of 27 
  generating new particlesESS is  947.4895 - resampling 25 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 27 of 27 
  generating new particlesESS is  686.2102 - resampling 26 
     unique P in point leaving stack 1 
  creating stack
  adding last points form the stack to the resutls
  +----------------------------------+
  |     estimated negative Log Likelihood is -11.60965 
  +----------------------------------+
  estimating results object
  estimating quantiles for positions
  adding 95% credibility intervals to medians
     estimating distances
     estimating directions
     estimating mean directions and kappas
     estimating kappas
     estimating mean dists
     estimating probs of migration
     estimating median dists
     creating output DONE!
  DONE!
  function will plot 27 twilights
  function will plot 27 twilights
  function will plot 27 twilights
  ── 1. Error: plot_util_distr_works (@test_data_result_summary_and_plotting.R#57)
  cannot open URL 'http://maps.googleapis.com/maps/api/staticmap?center=53.099988,5.25&zoom=5&size=640x640&scale=2&maptype=terrain&language=en-EN&sensor=false'
  1: expect_warning(plot_util_distr(Result, zoom = 5, save = FALSE)) at testthat/test_data_result_summary_and_plotting.R:57
  2: quasi_capture(enquo(object), capture_warnings, label = label)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: withCallingHandlers(code, warning = function(condition) {
         out$push(condition)
         invokeRestart("muffleWarning")
     })
  5: eval_bare(get_expr(quo), get_env(quo))
  6: plot_util_distr(Result, zoom = 5, save = FALSE)
  7: do.call(ggmap::get_map, map.options)
  8: (function (location = c(lon = -95.3632715, lat = 29.7632836), zoom = "auto", scale = "auto", 
         maptype = c("terrain", "terrain-background", "satellite", "roadmap", "hybrid", 
             "toner", "watercolor", "terrain-labels", "terrain-lines", "toner-2010", "toner-2011", 
             "toner-background", "toner-hybrid", "toner-labels", "toner-lines", "toner-lite"), 
         source = c("google", "osm", "stamen", "cloudmade"), force = ifelse(source == 
             "google", TRUE, TRUE), messaging = FALSE, urlonly = FALSE, filename = "ggmapTemp", 
         crop = TRUE, color = c("color", "bw"), language = "en-EN", api_key) 
     {
         args <- as.list(match.call(expand.dots = TRUE)[-1])
         if ("verbose" %in% names(args)) {
             .Deprecated(msg = "verbose argument deprecated, use messaging.")
             messaging <- eval(args$verbose)
         }
         if ("center" %in% names(args)) {
             .Deprecated(msg = "center argument deprecated, use location.")
             location <- eval(args$center)
         }
         source <- match.arg(source)
         color <- match.arg(color)
         if (missing(maptype)) {
             if (source != "cloudmade") {
                 maptype <- "terrain"
             }
             else {
                 maptype <- 1
             }
         }
         if (source == "stamen") {
             if (!(maptype %in% c("terrain", "terrain-background", "terrain-labels", "terrain-lines", 
                 "toner", "toner-2010", "toner-2011", "toner-background", "toner-hybrid", 
                 "toner-labels", "toner-lines", "toner-lite", "watercolor"))) {
                 stop("invalid stamen maptype, see ?get_stamenmap", call. = FALSE)
             }
         }
         if (source == "google" & (maptype %in% c("terrain-background", "terrain-labels", 
             "terrain-lines", "toner", "toner-2010", "toner-2011", "toner-background", 
             "toner-hybrid", "toner-labels", "toner-lines", "toner-lite", "watercolor"))) {
             message(paste0("maptype = \"", maptype, "\" is only available with source = \"stamen\"."))
             message(paste0("resetting to source = \"stamen\"..."))
             source <- "stamen"
         }
         location_stop <- TRUE
         if (is.character(location) && length(location) == 1) {
             location_type <- "address"
             location_stop <- FALSE
         }
         if (is.data.frame(location) && ncol(location) == 2) {
             location <- colMeans(location)
         }
         if (is.numeric(location) && length(location) == 2) {
             location_type <- "lonlat"
             location_stop <- FALSE
             if (!is.null(names(location))) {
                 loc_names <- names(location)
                 if (all(loc_names == c("long", "lat"))) {
                     names(location) <- c("lon", "lat")
                 }
                 else if (all(loc_names == c("lat", "lon"))) {
                     message("note : locations should be specified in the lon/lat format, not lat/lon.")
                     location <- location[c("lon", "lat")]
                 }
                 else if (all(loc_names == c("lat", "long"))) {
                     message("note : locations should be specified in the lon/lat format, not lat/lon.")
                     location <- location[c("long", "lat")]
                     names(location) <- c("lon", "lat")
                 }
             }
             else {
                 names(location) <- c("lon", "lat")
             }
         }
         if (is.numeric(location) && length(location) == 4) {
             location_type <- "bbox"
             location_stop <- FALSE
             if (length(names(location)) > 0) {
                 if (!all(names(location) %in% c("left", "bottom", "right", "top"))) {
                     stop("bounding boxes should have name left, bottom, right, top)", 
                       call. = FALSE)
                 }
                 location <- location[c("left", "bottom", "right", "top")]
             }
             else {
                 names(location) <- c("left", "bottom", "right", "top")
             }
         }
         if (location_stop) {
             stop("improper location specification, see ?get_map.", call. = F)
         }
         if (zoom == "auto" && location_type == "bbox") {
             if (zoom == "auto") {
                 lon_range <- location[c("left", "right")]
                 lat_range <- location[c("bottom", "top")]
                 if (missing(zoom)) {
                     lonlength <- diff(lon_range)
                     latlength <- diff(lat_range)
                     zoomlon <- ceiling(log2(360 * 2/lonlength))
                     zoomlat <- ceiling(log2(180 * 2/latlength))
                     zoom <- max(zoomlon, zoomlat)
                 }
             }
         }
         else if (zoom == "auto" && location_type != "bbox") {
             zoom = 10
         }
         if (scale == "auto") {
             if (source == "google") 
                 scale <- 2
             if (source == "osm") 
                 scale <- OSM_scale_lookup(zoom)
         }
         if (source == "google") {
             if (location_type == "bbox") {
                 warning("bounding box given to google - spatial extent only approximate.", 
                     call. = FALSE, immediate. = TRUE)
                 message("converting bounding box to center/zoom specification. (experimental)")
                 user_bbox <- location
                 location <- c(lon = mean(location[c("left", "right")]), lat = mean(location[c("bottom", 
                     "top")]))
             }
             map <- get_googlemap(center = location, zoom = zoom, maptype = maptype, scale = scale, 
                 messaging = messaging, urlonly = urlonly, force = force, filename = filename, 
                 color = color, language = language)
             if (FALSE) {
                 bb <- attr(map, "bb")
                 mbbox <- c(left = bb$ll.lon, bottom = bb$ll.lat, right = bb$ur.lon, top = bb$ur.lat)
                 size <- dim(map)
                 if (location_type == "bbox") {
                     slon <- seq(mbbox["left"], mbbox["right"], length.out = size[1])
                     slat <- seq(mbbox["top"], mbbox["bottom"], length.out = size[2])
                     keep_x_ndcs <- which(user_bbox["left"] <= slon & slon <= user_bbox["right"])
                     keep_y_ndcs <- which(user_bbox["bottom"] <= slat & slat <= user_bbox["top"])
                     map <- map[keep_y_ndcs, keep_x_ndcs]
                     class(map) <- c("ggmap", "raster")
                     attr(map, "bb") <- data.frame(ll.lat = user_bbox["bottom"], ll.lon = user_bbox["left"], 
                       ur.lat = user_bbox["top"], ur.lon = user_bbox["right"])
                 }
             }
             return(map)
         }
         if (source == "osm") {
             if (location_type != "bbox") {
                 gm <- get_googlemap(center = location, zoom = zoom, filename = filename)
                 location <- as.numeric(attr(gm, "bb"))[c(2, 1, 4, 3)]
             }
             return(get_openstreetmap(bbox = location, scale = scale, messaging = messaging, 
                 urlonly = urlonly, filename = filename, color = color))
         }
         if (source == "stamen") {
             if (location_type != "bbox") {
                 gm <- get_googlemap(center = location, zoom = zoom, filename = filename)
                 location <- as.numeric(attr(gm, "bb"))[c(2, 1, 4, 3)]
             }
             return(get_stamenmap(bbox = location, zoom = zoom, maptype = maptype, crop = crop, 
                 messaging = messaging, urlonly = urlonly, filename = filename, force = force, 
                 color = color))
         }
         if (source == "cloudmade") {
             if (missing(api_key)) 
                 stop("an api key must be provided for cloudmade maps, see ?get_cloudmademap.", 
                     call. = FALSE)
             if (location_type != "bbox") {
                 gm <- get_googlemap(center = location, zoom = zoom, filename = filename)
                 location <- as.numeric(attr(gm, "bb"))[c(2, 1, 4, 3)]
             }
             return(get_cloudmademap(bbox = location, zoom = zoom, maptype = maptype, 
                 crop = crop, messaging = messaging, urlonly = urlonly, filename = filename, 
                 highres = TRUE, color = color, api_key = api_key))
         }
     })(zoom = 5, col = "bw", location = c(4.6155178, 52.71809615, 5.8844822, 53.4818792
     ))
  9: get_googlemap(center = location, zoom = zoom, maptype = maptype, scale = scale, messaging = messaging, 
         urlonly = urlonly, force = force, filename = filename, color = color, language = language)
  10: download.file(url, destfile = tmp, quiet = !messaging, mode = "wb")
  
  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 
  
   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 
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  estimating dawns
  doing 1 
  doing 11 
  processing results
  smart filter is OFF
  
  
  ##########################
       Time.Period 1 of 27 
  generating new particlesESS is  1000
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 2 of 27 
  generating new particlesESS is  464.1474 - resampling 1 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 3 of 27 
  generating new particlesESS is  298.5807 - resampling 2 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 4 of 27 
  generating new particlesESS is  779.344 - resampling 3 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 5 of 27 
  generating new particlesESS is  729.9438 - resampling 4 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 6 of 27 
  generating new particlesESS is  763.8398 - resampling 5 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 7 of 27 
  generating new particlesESS is  862.3333 - resampling 6 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 8 of 27 
  generating new particlesESS is  782.9807 - resampling 7 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 9 of 27 
  generating new particlesESS is  911.4495 - resampling 8 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 10 of 27 
  generating new particlesESS is  894.699 - resampling 9 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 11 of 27 
  generating new particlesESS is  886.5563 - resampling 10 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 12 of 27 
  generating new particlesESS is  871.9474 - resampling 11 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 13 of 27 
  generating new particlesESS is  530.9226 - resampling 12 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 14 of 27 
  generating new particlesESS is  834.5456 - resampling 13 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 15 of 27 
  generating new particlesESS is  911.4436 - resampling 14 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 16 of 27 
  generating new particlesESS is  884.0399 - resampling 15 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 17 of 27 
  generating new particlesESS is  884.2373 - resampling 16 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 18 of 27 
  generating new particlesESS is  903.9052 - resampling 17 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 19 of 27 
  generating new particlesESS is  952.7642 - resampling 18 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 20 of 27 
  generating new particlesESS is  907.5711 - resampling 19 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 21 of 27 
  generating new particlesESS is  883.3283 - resampling 20 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 22 of 27 
  generating new particlesESS is  912.9074 - resampling 21 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 23 of 27 
  generating new particlesESS is  921.0418 - resampling 22 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 24 of 27 
  generating new particlesESS is  897.9634 - resampling 23 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 25 of 27 
  generating new particlesESS is  841.9357 - resampling 24 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 26 of 27 
  generating new particlesESS is  964.047 - resampling 25 
     unique P in point leaving stack 1 
  creating stack
  
  
  ##########################
       Time.Period 27 of 27 
  generating new particlesESS is  715.5034 - resampling 26 
     unique P in point leaving stack 1 
  creating stack
  adding last points form the stack to the resutls
  +----------------------------------+
  |     estimated negative Log Likelihood is -11.75216 
  +----------------------------------+
  estimating results object
  estimating quantiles for positions
  adding 95% credibility intervals to medians
     estimating distances
     estimating directions
     estimating mean directions and kappas
     estimating kappas
     estimating mean dists
     estimating probs of migration
     estimating median dists
     creating output DONE!
  DONE!
  bird likely did not move, exiting without result
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 29 SKIPPED: 0 FAILED: 1
  1. Error: plot_util_distr_works (@test_data_result_summary_and_plotting.R#57) 
  
  Error: testthat unit tests failed
  Execution halted