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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: hillshading
> ### Title: Intensity of illumination over a surface
> ### Aliases: hillshading
> 
> ### ** Examples
> 
> ## Not run: 
> ##D ## From the "Obligatory Mathematical surface" in persp3d {rgl}
> ##D ## this shows the cast shdows clearly, but there is some interference with rgl internal
> ##D ## lit parameters
> ##D require(rgl)
> ##D x = seq(-10, 10, length= 300)
> ##D y = x
> ##D f = function(x,y) { r <- sqrt(x^2+y^2); 10 * sin(r)/r }
> ##D z = outer(x, y, f)
> ##D z[is.na(z)] = 1
> ##D zgr = cgrad(z,2/30)
> ##D sv = normalvector(55,315)
> ##D hsh = zgr[,,1]*sv[1]+zgr[,,2]*sv[2]+zgr[,,3]*sv[3]
> ##D hsh = (hsh+abs(hsh))/2
> ##D sh = doshade(z,sv,2/30)
> ##D hshsh = hsh*sh
> ##D hshsh = t(hshsh[nrow(hshsh):1,])
> ##D open3d()
> ##D rgl.light(viewpoint.rel = F, ambient = "#FFFFFF", diffuse = "#FFFFFF", specular = "#000000")
> ##D persp3d(x, y, z, col=grey(hshsh))
> ## End(Not run)
> 
> ## Hillshading on mountain terrain, sun at NW, 35 degrees elevation
> zipfile = tempfile()
> download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",zipfile)
trying URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Warning in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  :
  URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip': status was 'SSL peer certificate or SSH remote key was not OK'
Error in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  : 
  cannot open URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Execution halted
Running examples in ‘insol-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: hillshading
> ### Title: Intensity of illumination over a surface
> ### Aliases: hillshading
> 
> ### ** Examples
> 
> ## Not run: 
> ##D ## From the "Obligatory Mathematical surface" in persp3d {rgl}
> ##D ## this shows the cast shdows clearly, but there is some interference with rgl internal
> ##D ## lit parameters
> ##D require(rgl)
> ##D x = seq(-10, 10, length= 300)
> ##D y = x
> ##D f = function(x,y) { r <- sqrt(x^2+y^2); 10 * sin(r)/r }
> ##D z = outer(x, y, f)
> ##D z[is.na(z)] = 1
> ##D zgr = cgrad(z,2/30)
> ##D sv = normalvector(55,315)
> ##D hsh = zgr[,,1]*sv[1]+zgr[,,2]*sv[2]+zgr[,,3]*sv[3]
> ##D hsh = (hsh+abs(hsh))/2
> ##D sh = doshade(z,sv,2/30)
> ##D hshsh = hsh*sh
> ##D hshsh = t(hshsh[nrow(hshsh):1,])
> ##D open3d()
> ##D rgl.light(viewpoint.rel = F, ambient = "#FFFFFF", diffuse = "#FFFFFF", specular = "#000000")
> ##D persp3d(x, y, z, col=grey(hshsh))
> ## End(Not run)
> 
> ## Hillshading on mountain terrain, sun at NW, 35 degrees elevation
> zipfile = tempfile()
> download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",zipfile)
trying URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Warning in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  :
  URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip': status was 'SSL peer certificate or SSH remote key was not OK'
Error in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  : 
  cannot open URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Execution halted
Running examples in ‘insol-Ex.R’ failed
The error most likely occurred in:

> ### Name: hillshading
> ### Title: Intensity of illumination over a surface
> ### Aliases: hillshading
> 
> ### ** Examples
> 
> ## Not run: 
> ##D ## From the "Obligatory Mathematical surface" in persp3d {rgl}
> ##D ## this shows the cast shdows clearly, but there is some interference with rgl internal
> ##D ## lit parameters
> ##D require(rgl)
> ##D x = seq(-10, 10, length= 300)
> ##D y = x
> ##D f = function(x,y) { r <- sqrt(x^2+y^2); 10 * sin(r)/r }
> ##D z = outer(x, y, f)
> ##D z[is.na(z)] = 1
> ##D zgr = cgrad(z,2/30)
> ##D sv = normalvector(55,315)
> ##D hsh = zgr[,,1]*sv[1]+zgr[,,2]*sv[2]+zgr[,,3]*sv[3]
> ##D hsh = (hsh+abs(hsh))/2
> ##D sh = doshade(z,sv,2/30)
> ##D hshsh = hsh*sh
> ##D hshsh = t(hshsh[nrow(hshsh):1,])
> ##D open3d()
> ##D rgl.light(viewpoint.rel = F, ambient = "#FFFFFF", diffuse = "#FFFFFF", specular = "#000000")
> ##D persp3d(x, y, z, col=grey(hshsh))
> ## End(Not run)
> 
> ## Hillshading on mountain terrain, sun at NW, 35 degrees elevation
> zipfile = tempfile()
> download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",zipfile)
trying URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Warning in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  :
  URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip': status was 'SSL peer certificate or SSH remote key was not OK'
Error in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  : 
  cannot open URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Execution halted
Running examples in ‘insol-Ex.R’ failed
The error most likely occurred in:

> ### Name: hillshading
> ### Title: Intensity of illumination over a surface
> ### Aliases: hillshading
> 
> ### ** Examples
> 
> ## Not run: 
> ##D ## From the "Obligatory Mathematical surface" in persp3d {rgl}
> ##D ## this shows the cast shdows clearly, but there is some interference with rgl internal
> ##D ## lit parameters
> ##D require(rgl)
> ##D x = seq(-10, 10, length= 300)
> ##D y = x
> ##D f = function(x,y) { r <- sqrt(x^2+y^2); 10 * sin(r)/r }
> ##D z = outer(x, y, f)
> ##D z[is.na(z)] = 1
> ##D zgr = cgrad(z,2/30)
> ##D sv = normalvector(55,315)
> ##D hsh = zgr[,,1]*sv[1]+zgr[,,2]*sv[2]+zgr[,,3]*sv[3]
> ##D hsh = (hsh+abs(hsh))/2
> ##D sh = doshade(z,sv,2/30)
> ##D hshsh = hsh*sh
> ##D hshsh = t(hshsh[nrow(hshsh):1,])
> ##D open3d()
> ##D rgl.light(viewpoint.rel = F, ambient = "#FFFFFF", diffuse = "#FFFFFF", specular = "#000000")
> ##D persp3d(x, y, z, col=grey(hshsh))
> ## End(Not run)
> 
> ## Hillshading on mountain terrain, sun at NW, 35 degrees elevation
> zipfile = tempfile()
> download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",zipfile)
trying URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Warning in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  :
  URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip': status was 'SSL peer certificate or SSH remote key was not OK'
Error in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  : 
  cannot open URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Execution halted
Running examples in ‘insol-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: hillshading
> ### Title: Intensity of illumination over a surface
> ### Aliases: hillshading
> 
> ### ** Examples
> 
> ## Not run: 
> ##D ## From the "Obligatory Mathematical surface" in persp3d {rgl}
> ##D ## this shows the cast shdows clearly, but there is some interference with rgl internal
> ##D ## lit parameters
> ##D require(rgl)
> ##D x = seq(-10, 10, length= 300)
> ##D y = x
> ##D f = function(x,y) { r <- sqrt(x^2+y^2); 10 * sin(r)/r }
> ##D z = outer(x, y, f)
> ##D z[is.na(z)] = 1
> ##D zgr = cgrad(z,2/30)
> ##D sv = normalvector(55,315)
> ##D hsh = zgr[,,1]*sv[1]+zgr[,,2]*sv[2]+zgr[,,3]*sv[3]
> ##D hsh = (hsh+abs(hsh))/2
> ##D sh = doshade(z,sv,2/30)
> ##D hshsh = hsh*sh
> ##D hshsh = t(hshsh[nrow(hshsh):1,])
> ##D open3d()
> ##D rgl.light(viewpoint.rel = F, ambient = "#FFFFFF", diffuse = "#FFFFFF", specular = "#000000")
> ##D persp3d(x, y, z, col=grey(hshsh))
> ## End(Not run)
> 
> ## Hillshading on mountain terrain, sun at NW, 35 degrees elevation
> zipfile = tempfile()
> download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",zipfile)
trying URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Warning in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  :
  URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip': status was 'SSL peer certificate or SSH remote key was not OK'
Error in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  : 
  cannot open URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Execution halted
Running examples in ‘insol-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: hillshading
> ### Title: Intensity of illumination over a surface
> ### Aliases: hillshading
> 
> ### ** Examples
> 
> ## Not run: 
> ##D ## From the "Obligatory Mathematical surface" in persp3d {rgl}
> ##D ## this shows the cast shdows clearly, but there is some interference with rgl internal
> ##D ## lit parameters
> ##D require(rgl)
> ##D x = seq(-10, 10, length= 300)
> ##D y = x
> ##D f = function(x,y) { r <- sqrt(x^2+y^2); 10 * sin(r)/r }
> ##D z = outer(x, y, f)
> ##D z[is.na(z)] = 1
> ##D zgr = cgrad(z,2/30)
> ##D sv = normalvector(55,315)
> ##D hsh = zgr[,,1]*sv[1]+zgr[,,2]*sv[2]+zgr[,,3]*sv[3]
> ##D hsh = (hsh+abs(hsh))/2
> ##D sh = doshade(z,sv,2/30)
> ##D hshsh = hsh*sh
> ##D hshsh = t(hshsh[nrow(hshsh):1,])
> ##D open3d()
> ##D rgl.light(viewpoint.rel = F, ambient = "#FFFFFF", diffuse = "#FFFFFF", specular = "#000000")
> ##D persp3d(x, y, z, col=grey(hshsh))
> ## End(Not run)
> 
> ## Hillshading on mountain terrain, sun at NW, 35 degrees elevation
> zipfile = tempfile()
> download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",zipfile)
trying URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Warning in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  :
  URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip': status was 'SSL peer certificate or SSH remote key was not OK'
Error in download.file("https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip",  : 
  cannot open URL 'https://meteoexploration.com/R/insol/data/dempyrenees.asc.zip'
Execution halted