Running ‘testthat.R’ [6m/15m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(windfarmGA)
  > 
  > 
  > test_check("windfarmGA")
  .........$Input_Data
                         [,1]                                                                                                                 
  Rotorradius            "30"                                                                                                                 
  Number of turbines     "12"                                                                                                                 
  Grid Shape Factor      "5"                                                                                                                  
  Iterations             "1"                                                                                                                  
  Mutation Rate          "0.008"                                                                                                              
  Percentage of Polygon  "1"                                                                                                                  
  Topographie            "TRUE"                                                                                                               
  Elitarism              "TRUE"                                                                                                               
  Selection Method       "FIX"                                                                                                                
  Trim Force Method Used "FALSE"                                                                                                              
  Crossover Method Used  "EQU"                                                                                                                
  Reference Height       "100"                                                                                                                
  Rotor Height           "100"                                                                                                                
  Resolution             "150"                                                                                                                
  Parallel Processing    "FALSE"                                                                                                              
  Number Clusters        "2"                                                                                                                  
  Active Weibull         "FALSE"                                                                                                              
  Grid Method            "Rectangular"                                                                                                        
  Projection             "+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000\n    +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
  
  $Windspeed_Data
    ws wd
  1 12  0
  
  Topography and orography are taken into account.
  trying URL 'http://github.com/YsoSirius/windfarm_data/raw/master/clc.zip'
  Content type 'application/zip' length 72773076 bytes (69.4 MB)
  ==================================================
  downloaded 69.4 MB
  
  .[1] "plot_result: Plot the 'best' Individuals of the GA:"
  N different optimal configurations: 98 
  Amount duplicates: 102
  Plot  1  Best Energy Solution:
  Press [enter] to continue
  [1] "plot_evolution: Plot the Evolution of the Efficiency and Energy Values:"
  [1] "plot_parkfitness: Plot the Influence of Population Size, Selection, Crossover, Mutation:"
  Press [enter] to continue
  [1] "plot_fitness_evolution: Plot the Changes in Fitness Values:"
  Press [enter] to continue
  [1] "plot_cloud: Plot all individual Values of the whole Evolution:"
  Press [enter] to continue
  [1] "plot_heatmap: Plot a Heatmap of all Grid Cells:"
  [inverse distance weighted interpolation]
  Cannot plot option 2,3,4,5. 
   Only option 1,6 are available.[1] "plot_result: Plot the 'best' Individuals of the GA:"
  N different optimal configurations: 3 
  Amount duplicates: 0
  Plot  1  Best Energy Solution:
  Press [enter] to continue
  [1] "plot_heatmap: Plot a Heatmap of all Grid Cells:"
  [inverse distance weighted interpolation]
  Cannot plot option 2,3,4,5. 
   Only option 1,6 are available.[1] "plot_result: Plot the 'best' Individuals of the GA:"
  N different optimal configurations: 3 
  Amount duplicates: 0
  Plot  1  Best Energy Solution:
  Press [enter] to continue
  [1] "plot_heatmap: Plot a Heatmap of all Grid Cells:"
  [inverse distance weighted interpolation]
  [1] "plot_result: Plot the 'best' Individuals of the GA:"
  N different optimal configurations: 9 
  Amount duplicates: 1
  Plot  2  Best Energy Solution:
  
  Plot  1  Best Energy Solution:
  Press [enter] to continue
  [1] "plot_evolution: Plot the Evolution of the Efficiency and Energy Values:"
  [1] "plot_parkfitness: Plot the Influence of Population Size, Selection, Crossover, Mutation:"
  Press [enter] to continue
  [1] "plot_fitness_evolution: Plot the Changes in Fitness Values:"
  Press [enter] to continue
  [1] "plot_cloud: Plot all individual Values of the whole Evolution:"
  Press [enter] to continue
  [1] "plot_heatmap: Plot a Heatmap of all Grid Cells:"
  [inverse distance weighted interpolation]
  [inverse distance weighted interpolation]
  [inverse distance weighted interpolation]
  [inverse distance weighted interpolation]
  Maximum possible number for 'which':  10.$Input_Data
                         [,1]                                                                                                                 
  Rotorradius            "30"                                                                                                                 
  Number of turbines     "12"                                                                                                                 
  Grid Shape Factor      "5"                                                                                                                  
  Iterations             "1"                                                                                                                  
  Mutation Rate          "0.008"                                                                                                              
  Percentage of Polygon  "1"                                                                                                                  
  Topographie            "TRUE"                                                                                                               
  Elitarism              "TRUE"                                                                                                               
  Selection Method       "FIX"                                                                                                                
  Trim Force Method Used "FALSE"                                                                                                              
  Crossover Method Used  "EQU"                                                                                                                
  Reference Height       "100"                                                                                                                
  Rotor Height           "100"                                                                                                                
  Resolution             "150"                                                                                                                
  Parallel Processing    "FALSE"                                                                                                              
  Number Clusters        "2"                                                                                                                  
  Active Weibull         "FALSE"                                                                                                              
  Grid Method            "Rectangular"                                                                                                        
  Projection             "+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000\n    +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
  
  $Windspeed_Data
    ws wd
  1 12  0
  
  Topography and orography are taken into account.
  trying URL 'http://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/srtm_39_03.zip'
  Content type 'application/x-zip-compressed' length 37627843 bytes (35.9 MB)
  ==================================================
  downloaded 35.9 MB
  
  
  Start Genetic Algorithm ...
  
  
   1 : Round with coefficients  13469.5976 11692.161 9176.87 13469.6 11692.16 9176.87 96.47 83.43 68.17 
  How many individuals exist:  300 
  How many parks are in local Optimum:  1 
  Elitarism activated. Best 7 individuals are increased
  Selection Percentage: 50 
  FIX: How many parental individuals are selected: 148 from 296 with 50 %
  Selection  -  Amount of Individuals:  100 
  crossover point rate:  2.1
  How many parental pairs are at hand:  50
  How many permutations are possible:  200
  How many permutations are selected:  200 
  Crossover  -  Amount of Individuals:  200
  Mutation   -  Amount of Individuals:  200
  TrimToN    -  Amount of Individuals:  200$Input_Data
                         [,1]                                                                                                                 
  Rotorradius            "30"                                                                                                                 
  Number of turbines     "12"                                                                                                                 
  Grid Shape Factor      "5"                                                                                                                  
  Iterations             "1"                                                                                                                  
  Mutation Rate          "0.008"                                                                                                              
  Percentage of Polygon  "1"                                                                                                                  
  Topographie            "TRUE"                                                                                                               
  Elitarism              "TRUE"                                                                                                               
  Selection Method       "FIX"                                                                                                                
  Trim Force Method Used "FALSE"                                                                                                              
  Crossover Method Used  "EQU"                                                                                                                
  Reference Height       "100"                                                                                                                
  Rotor Height           "100"                                                                                                                
  Resolution             "150"                                                                                                                
  Parallel Processing    "FALSE"                                                                                                              
  Number Clusters        "2"                                                                                                                  
  Active Weibull         "FALSE"                                                                                                              
  Grid Method            "Rectangular"                                                                                                        
  Projection             "+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000\n    +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
  
  $Windspeed_Data
    ws wd
  1 12  0
  
  Topography and orography are taken into account.
  
  Start Genetic Algorithm ...
  
  
   1 : Round with coefficients  13726.4202 11698.508 8671.2 13726.42 11698.51 8671.2 94.96 83.09 64.41 
  How many individuals exist:  300 
  How many parks are in local Optimum:  1 
  Elitarism activated. Best 7 individuals are increased
  Selection Percentage: 50 
  FIX: How many parental individuals are selected: 148 from 296 with 50 %
  Selection  -  Amount of Individuals:  100 
  crossover point rate:  2.1
  How many parental pairs are at hand:  50
  How many permutations are possible:  200
  How many permutations are selected:  200 
  Crossover  -  Amount of Individuals:  200
  Mutation   -  Amount of Individuals:  200
  TrimToN    -  Amount of Individuals:  200
  Weibull Distribution is used.
  Weibull Information from input is used.
  $Input_Data
                         [,1]                                                                                                                 
  Rotorradius            "30"                                                                                                                 
  Number of turbines     "12"                                                                                                                 
  Grid Shape Factor      "5"                                                                                                                  
  Iterations             "1"                                                                                                                  
  Mutation Rate          "0.008"                                                                                                              
  Percentage of Polygon  "1"                                                                                                                  
  Topographie            "FALSE"                                                                                                              
  Elitarism              "TRUE"                                                                                                               
  Selection Method       "FIX"                                                                                                                
  Trim Force Method Used "FALSE"                                                                                                              
  Crossover Method Used  "EQU"                                                                                                                
  Reference Height       "100"                                                                                                                
  Rotor Height           "100"                                                                                                                
  Resolution             "150"                                                                                                                
  Parallel Processing    "FALSE"                                                                                                              
  Number Clusters        "2"                                                                                                                  
  Active Weibull         "TRUE"                                                                                                               
  Grid Method            "Rectangular"                                                                                                        
  Projection             "+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000\n    +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
  
  $Windspeed_Data
    ws wd
  1 12  0
  
  Topography and orography are not taken into account.
  
  Start Genetic Algorithm ...
  
  
   1 : Round with coefficients  69.6325 58.641 44.027 69.63 58.64 44.03 94.82 80.12 58.7 
  How many individuals exist:  300 
  How many parks are in local Optimum:  1 
  Elitarism activated. Best 7 individuals are increased
  Selection Percentage: 50 
  FIX: How many parental individuals are selected: 148 from 296 with 50 %
  Selection  -  Amount of Individuals:  100 
  crossover point rate:  2.1
  How many parental pairs are at hand:  50
  How many permutations are possible:  200
  How many permutations are selected:  200 
  Crossover  -  Amount of Individuals:  200
  Mutation   -  Amount of Individuals:  200
  TrimToN    -  Amount of Individuals:  200
  Weibull Distribution is used.
  Weibull Information from package is used.
  trying URL 'http://github.com/YsoSirius/windfarm_data/raw/master/weibulldata.zip'
  Content type 'application/zip' length 44126917 bytes (42.1 MB)
  ==================================================
  downloaded 42.1 MB
  
  $Input_Data
                         [,1]                                                                                                                 
  Rotorradius            "30"                                                                                                                 
  Number of turbines     "12"                                                                                                                 
  Grid Shape Factor      "5"                                                                                                                  
  Iterations             "1"                                                                                                                  
  Mutation Rate          "0.008"                                                                                                              
  Percentage of Polygon  "1"                                                                                                                  
  Topographie            "FALSE"                                                                                                              
  Elitarism              "TRUE"                                                                                                               
  Selection Method       "FIX"                                                                                                                
  Trim Force Method Used "FALSE"                                                                                                              
  Crossover Method Used  "EQU"                                                                                                                
  Reference Height       "100"                                                                                                                
  Rotor Height           "100"                                                                                                                
  Resolution             "150"                                                                                                                
  Parallel Processing    "FALSE"                                                                                                              
  Number Clusters        "2"                                                                                                                  
  Active Weibull         "TRUE"                                                                                                               
  Grid Method            "Rectangular"                                                                                                        
  Projection             "+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000\n    +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
  
  $Windspeed_Data
    ws wd
  1 12  0
  
  Topography and orography are not taken into account.
  
  Start Genetic Algorithm ...
  
  
   1 : Round with coefficients  4968.227 3956.042 3092.056 4968.23 3956.04 3092.06 94.51 79.62 63.22 
  How many individuals exist:  300 
  How many parks are in local Optimum:  1 
  Elitarism activated. Best 7 individuals are increased
  Selection Percentage: 50 
  FIX: How many parental individuals are selected: 148 from 296 with 50 %
  Selection  -  Amount of Individuals:  100 
  crossover point rate:  2.1
  How many parental pairs are at hand:  50
  How many permutations are possible:  200
  How many permutations are selected:  200 
  Crossover  -  Amount of Individuals:  200
  Mutation   -  Amount of Individuals:  200
  TrimToN    -  Amount of Individuals:  200
  Hit <ENTER> if this is your Polygon
  No Projection is given. Take Lambert Azimuthal Equal Area Projection.
  
  Hit <ENTER> if this is your Polygon
  
  Press <ENTER> if the windrose looks correct?
  
  Is the grid spacing appropriate?Type 'ENTER' if the the grid is corrent and 'n' if you like to change some inputs.
  Weibull Distribution is used.
  Weibull Information from package is used.
  $Input_Data
                         [,1]                                                                                                                 
  Rotorradius            "30"                                                                                                                 
  Number of turbines     "12"                                                                                                                 
  Grid Shape Factor      "3"                                                                                                                  
  Iterations             "1"                                                                                                                  
  Mutation Rate          "0.008"                                                                                                              
  Percentage of Polygon  "1"                                                                                                                  
  Topographie            "FALSE"                                                                                                              
  Elitarism              "TRUE"                                                                                                               
  Selection Method       "FIX"                                                                                                                
  Trim Force Method Used "TRUE"                                                                                                               
  Crossover Method Used  "EQU"                                                                                                                
  Reference Height       "50"                                                                                                                 
  Rotor Height           "100"                                                                                                                
  Resolution             "90"                                                                                                                 
  Parallel Processing    "FALSE"                                                                                                              
  Number Clusters        "2"                                                                                                                  
  Active Weibull         "TRUE"                                                                                                               
  Grid Method            "RECTANGULAR"                                                                                                        
  Projection             "+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000\n    +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
  
  $Windspeed_Data
    ws wd
  1 12  0
  
  Topography and orography are not taken into account.
  
  Start Genetic Algorithm ...
  
  
   1 : Round with coefficients  7087.1977 5499.061 3890.695 7087.2 5499.06 3890.7 100 83.27 60.74 
  How many individuals exist:  300 
  How many parks are in local Optimum:  1 
  Elitarism activated. Best 7 individuals are increased
  Selection Percentage: 50 
  FIX: How many parental individuals are selected: 148 from 296 with 50 %
  Selection  -  Amount of Individuals:  100 
  crossover point rate:  2.1
  How many parental pairs are at hand:  50
  How many permutations are possible:  200
  How many permutations are selected:  200 
  Crossover  -  Amount of Individuals:  200
  Mutation   -  Amount of Individuals:  200
  TrimToN    -  Amount of Individuals:  200N different optimal configurations: 1 
  Amount duplicates: 0
  Not enough unique Optimas. Show first best Half of different configurations.
  Plot  1  Best Energy Solution:
  N different optimal configurations: 1 
  Amount duplicates: 0
  Not enough unique Optimas. Show first best Half of different configurations.
  Plot  1  Best Energy Solution:
  
  You are using your own Corine Land Cover legend.N different optimal configurations: 1 
  Amount duplicates: 0
  Not enough unique Optimas. Show first best Half of different configurations.
  Plot  1  Best Efficiency Solution:
  
  You are using your own Corine Land Cover legend.N different optimal configurations: 1 
  Amount duplicates: 0
  Not enough unique Optimas. Show first best Half of different configurations.
  Plot  1  Best Efficiency Solution:
  
  You are using your own Corine Land Cover legend.N different optimal configurations: 1 
  Amount duplicates: 0
  Not enough unique Optimas. Show first best Half of different configurations.
  Plot  1  Best Efficiency Solution:
  
  You are using your own Corine Land Cover legend.N different optimal configurations: 1 
  Amount duplicates: 0
  Not enough unique Optimas. Show first best Half of different configurations.
  Plot  1  Best Efficiency Solution:
  N different optimal configurations: 1 
  Amount duplicates: 0
  Not enough unique Optimas. Show first best Half of different configurations.
  Plot  1  Best Energy Solution:
  trying URL 'http://github.com/YsoSirius/windfarm_data/raw/master/clc.zip'
  Content type 'application/zip' length 72773076 bytes (69.4 MB)
  ==================================================
  downloaded 69.4 MB
  
  N different optimal configurations: 1 
  Amount duplicates: 0
  Not enough unique Optimas. Show first best Half of different configurations.
  Plot  1  Best Efficiency Solution:
  trying URL 'http://github.com/YsoSirius/windfarm_data/raw/master/clc.zip'
  Content type 'application/zip' length 72773076 bytes (69.4 MB)
  ==================================================
  downloaded 69.4 MB
  
  trying URL 'https://biogeo.ucdavis.edu/data/diva/msk_alt/AUT_msk_alt.zip'
  ── 1. Error: Test Terrain and Weibull Effects (@test_terrain.R#168)  ───────────
  cannot open URL 'https://biogeo.ucdavis.edu/data/diva/msk_alt/AUT_msk_alt.zip'
  1: getDEM(Polygon1) at testthat/test_terrain.R:168
  2: raster::getData("alt", country = ISO3)
  3: .raster(..., name = name, download = download, path = path)
  4: .download(theurl, zipfilename)
  5: utils::download.file(url = aurl, destfile = fn, method = "auto", quiet = FALSE, mode = "wb", 
         cacheOK = TRUE)
  
   [1] "ABBREV"       "ADM0_A3"      "ADM0_DIF"     "ADMIN"        "ADMIN.1"     
   [6] "AVOIDname"    "AVOIDnumeric" "FIPS_10_"     "FeatureCla"   "GBD"         
  [11] "GDP_MD_EST"   "GEO3"         "GEO3major"    "GEOUNIT"      "GEOU_DIF"    
  [16] "GLOCAF"       "GU_A3"        "IMAGE24"      "ISO3"         "ISO3.1"      
  [21] "ISO_A2"       "ISO_A3"       "ISO_N3"       "LAT"          "LDC"         
  [26] "LEVEL"        "LLDC"         "LON"          "LabelRank"    "MAP_COLOR"   
  [31] "NAME"         "NAME_FORMA"   "NAME_SORT"    "POP_EST"      "POSTAL"      
  [36] "REGION"       "SID"          "SOVEREIGNT"   "SOV_A3"       "SRES"        
  [41] "SRESmajor"    "SUBUNIT"      "SU_A3"        "SU_DIF"       "ScaleRank"   
  [46] "Stern"        "TERR_"        "TYPE"         "continent"   
  Enter an ISO3 code:  [1] "ABBREV"       "ADM0_A3"      "ADM0_DIF"     "ADMIN"        "ADMIN.1"     
   [6] "AVOIDname"    "AVOIDnumeric" "FIPS_10_"     "FeatureCla"   "GBD"         
  [11] "GDP_MD_EST"   "GEO3"         "GEO3major"    "GEOUNIT"      "GEOU_DIF"    
  [16] "GLOCAF"       "GU_A3"        "IMAGE24"      "ISO3"         "ISO3.1"      
  [21] "ISO_A2"       "ISO_A3"       "ISO_N3"       "LAT"          "LDC"         
  [26] "LEVEL"        "LLDC"         "LON"          "LabelRank"    "MAP_COLOR"   
  [31] "NAME"         "NAME_FORMA"   "NAME_SORT"    "POP_EST"      "POSTAL"      
  [36] "REGION"       "SID"          "SOVEREIGNT"   "SOV_A3"       "SRES"        
  [41] "SRESmajor"    "SUBUNIT"      "SU_A3"        "SU_DIF"       "ScaleRank"   
  [46] "Stern"        "TERR_"        "TYPE"         "continent"   
  Enter an ISO3 code: Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  Enter the turbine number that you want to optimize.Please enter the corresponding number:
  
  Hit <ENTER> if this is your Polygon
  No Projection is given. Take Lambert Azimuthal Equal Area Projection.
  
  Hit <ENTER> if this is your Polygon
  
  Select appropriate Method. Either 'EQU' for equal crossover parts or 'RAN' for random parts.
  Type 'R' for random and 'E' for equal parts.
  
  Select appropriate Method. Either 'EQU' for equal crossover parts or 'RAN' for random parts.
  Type 'R' for random and 'E' for equal parts.
  
  Select appropriate Selection Method. Either 'FIX' or 'VAR' are available.
  Type 'F' for a fixed percentage of 50% and 'V' for a variable percentage.
  
  Press <ENTER> if the windrose looks correct?
  
  Is the grid spacing appropriate?Type 'ENTER' if the the grid is corrent and 'n' if you like to change some inputs.################### GA WARNING MESSAGE ###################
  Hit <ENTER> if this is your Polygon
  No Projection is given. Take Lambert Azimuthal Equal Area Projection.
  
  Hit <ENTER> if this is your Polygon
  
  Select appropriate Method. Either 'EQU' for equal crossover parts or 'RAN' for random parts.
  Type 'R' for random and 'E' for equal parts.
  
  Select appropriate Method. Either 'EQU' for equal crossover parts or 'RAN' for random parts.
  Type 'R' for random and 'E' for equal parts.
  
  Select appropriate Selection Method. Either 'FIX' or 'VAR' are available.
  Type 'F' for a fixed percentage of 50% and 'V' for a variable percentage.
  
  Press <ENTER> if the windrose looks correct?
  
  Is the grid spacing appropriate?Type 'ENTER' if the the grid is corrent and 'n' if you like to change some inputs....trying URL 'https://biogeo.ucdavis.edu/data/diva/msk_alt/AUT_msk_alt.zip'
  ── 2. Error: Test Viewshed Functions (@test_visibility.R#19)  ──────────────────
  cannot open URL 'https://biogeo.ucdavis.edu/data/diva/msk_alt/AUT_msk_alt.zip'
  1: getDEM(Polygon1) at testthat/test_visibility.R:19
  2: raster::getData("alt", country = ISO3)
  3: .raster(..., name = name, download = download, path = path)
  4: .download(theurl, zipfilename)
  5: utils::download.file(url = aurl, destfile = fn, method = "auto", quiet = FALSE, mode = "wb", 
         cacheOK = TRUE)
  
  
  Hit <ENTER> if this is your Polygon
  No Projection is given. Take Lambert Azimuthal Equal Area Projection.
  
  Hit <ENTER> if this is your Polygon
  
  Press <ENTER> if the windrose looks correct?
  
  Is the grid spacing appropriate?Type 'ENTER' if the the grid is corrent and 'n' if you like to change some inputs......OGR data source with driver: ESRI Shapefile 
  Source: "/data/gannet/ripley/R/packages/tests-clang/windfarmGA.Rcheck/windfarmGA/extdata/shape.shp", layer: "shape"
  with 1 features
  It has 1 fields
  
  Hit <ENTER> if this is your Polygon
  No Projection is given. Take Lambert Azimuthal Equal Area Projection.
  
  Hit <ENTER> if this is your Polygon
  
  Press <ENTER> if the windrose looks correct?
  
  Is the grid spacing appropriate?Type 'ENTER' if the the grid is corrent and 'n' if you like to change some inputs....
  Hit <ENTER> if this is your Polygon
  Polygon is not projected. Lambert Azimuthal Equal Area Projection is used.
  
  Hit <ENTER> if this is your Polygon
  
  Press <ENTER> if the windrose looks correct?
  
  Is the grid spacing appropriate?Type 'ENTER' if the the grid is corrent and 'n' if you like to change some inputs......
  Hit <ENTER> if this is your Polygon
  Polygon is not projected. Lambert Azimuthal Equal Area Projection is used.
  
  Hit <ENTER> if this is your Polygon
  
  Press <ENTER> if the windrose looks correct?
  
  Is the grid spacing appropriate?Type 'ENTER' if the the grid is corrent and 'n' if you like to change some inputs......
  Hit <ENTER> if this is your Polygon
  Polygon is not projected. Lambert Azimuthal Equal Area Projection is used.
  
  Hit <ENTER> if this is your Polygon
  
  Hit <ENTER> if this is your Polygon
  Polygon is not projected. Lambert Azimuthal Equal Area Projection is used.
  
  Hit <ENTER> if this is your Polygon
  
  Press <ENTER> if the windrose looks correct?
  ################### GA WARNING MESSAGE ###################
  Hit <ENTER> if this is your Polygon
  Polygon is not projected. Lambert Azimuthal Equal Area Projection is used.
  
  Hit <ENTER> if this is your Polygon
  
  Press <ENTER> if the windrose looks correct?
  ################### GA WARNING MESSAGE ###################
  Hit <ENTER> if this is your Polygon
  Polygon is not projected. Lambert Azimuthal Equal Area Projection is used.
  
  Hit <ENTER> if this is your Polygon
  
  Press <ENTER> if the windrose looks correct?
  
  Is the grid spacing appropriate?Type 'ENTER' if the the grid is corrent and 'n' if you like to change some inputs.weibullsrc class: 
  1 -  data.frame
  Hit <ENTER> if this is your Polygon
  Polygon is not projected. Lambert Azimuthal Equal Area Projection is used.
  
  Hit <ENTER> if this is your Polygon
  
  Press <ENTER> if the windrose looks correct?
  
  Is the grid spacing appropriate?Type 'ENTER' if the the grid is corrent and 'n' if you like to change some inputs.list item classes: 
  1 -  numeric 
  2 -  numeric══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 746 | SKIPPED: 2 | WARNINGS: 187 | FAILED: 2 ]
  1. Error: Test Terrain and Weibull Effects (@test_terrain.R#168) 
  2. Error: Test Viewshed Functions (@test_visibility.R#19) 
  
  Error: testthat unit tests failed
  Execution halted