Found the following files/directories:
  'ALB_msk_alt.grd' 'ALB_msk_alt.gri' 'ALB_msk_alt.vrt'
Found the following files/directories:
  ‘ALB_msk_alt.grd’ ‘ALB_msk_alt.gri’ ‘ALB_msk_alt.vrt’
Found the following files/directories:
  ‘ALB_msk_alt.grd’ ‘ALB_msk_alt.gri’ ‘ALB_msk_alt.vrt’
Found the following files/directories:
  ‘ALB_msk_alt.grd’ ‘ALB_msk_alt.gri’ ‘ALB_msk_alt.vrt’
Found the following files/directories:
  ‘ALB_msk_alt.grd’ ‘ALB_msk_alt.gri’ ‘ALB_msk_alt.vrt’
Running examples in ‘horizon-Ex.R’ failed
The error most likely occurred in:

> ### Name: horizonSearch
> ### Title: Horizon elevation angle from DEM RasterLayer
> ### Aliases: horizonSearch
> 
> ### ** Examples
> 
> r <- getData('alt', country='ALB')
trying URL 'https://biogeo.ucdavis.edu/data/diva/msk_alt/ALB_msk_alt.zip'
Warning in utils::download.file(url = aurl, destfile = fn, method = "auto",  :
  URL 'https://biogeo.ucdavis.edu/data/diva/msk_alt/ALB_msk_alt.zip': status was 'Couldn't connect to server'
Error in utils::download.file(url = aurl, destfile = fn, method = "auto",  : 
  cannot open URL 'https://biogeo.ucdavis.edu/data/diva/msk_alt/ALB_msk_alt.zip'
Calls: getData -> .raster -> .download -> <Anonymous>
Execution halted
Found the following files/directories:
  ‘ALB_msk_alt.grd’ ‘ALB_msk_alt.gri’ ‘ALB_msk_alt.vrt’

Running ‘testthat.R’ [150s/168s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(riskmetric)
  > 
  > options(repos = "fake-cran.fake-r-project.org")
  > 
  > test_check("riskmetric")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • snapshots appear to be failing due to random order of pkg_ref fields (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_pkg_ref.R:31:3): pkg_ref infers source when not explicitly provided ──
  `ref3` has class 'pkg_install'/'pkg_ref'/'environment', not 'pkg_bioc_remote'/'pkg_remote'/'pkg_ref'/'environment'.
  ── Failure (test_pkg_ref.R:32:3): pkg_ref infers source when not explicitly provided ──
  ref3$source (`actual`) not equal to "pkg_bioc_remote" (`expected`).
  
  `actual`:   "pkg_install"    
  `expected`: "pkg_bioc_remote"
  
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 45 ]
  Error: Test failures
  Execution halted