Running ‘testthat.R’ [10s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(leaflet.opacity)
  > library(raster)
  Loading required package: sp
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
  > library(leaflet)
  > library(magrittr)
  
  Attaching package: 'magrittr'
  
  The following object is masked from 'package:raster':
  
      extract
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  > library(rgdal)
  Please note that rgdal will be retired during October 2023,
  plan transition to sf/stars/terra functions using GDAL and PROJ
  at your earliest convenience.
  See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
  rgdal: version: 1.6-7, (SVN revision 1203)
  Geospatial Data Abstraction Library extensions to R successfully loaded
  Loaded GDAL runtime: GDAL 3.7.1, released 2023/07/06
  Path to GDAL shared files: /usr/share/gdal
   GDAL does not use iconv for recoding strings.
  GDAL binary built with GEOS: TRUE 
  Loaded PROJ runtime: Rel. 9.2.1, June 1st, 2023, [PJ_VERSION: 921]
  Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
  PROJ CDN enabled: TRUE
  Linking to sp version:2.0-0
  To mute warnings of possible GDAL/OSR exportToProj4() degradation,
  use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
  > 
  > test_check("leaflet.opacity")
  [ FAIL 6 | WARN 4 | SKIP 0 | PASS 3 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-controls.R:20:3'): Initialize map dependencies in addOpacitySlider ──
  res$dependencies[[1]]$name not equal to "jquery-ui".
  1/1 mismatches
  x[1]: "jquery"
  y[1]: "jquery-ui"
  ── Failure ('test-controls.R:21:3'): Initialize map dependencies in addOpacitySlider ──
  res$dependencies[[2]]$name not equal to "opacity".
  1/1 mismatches
  x[1]: "leaflet"
  y[1]: "opacity"
  ── Failure ('test-controls.R:36:3'): Initialize map dependencies in addLowerOpacity ──
  res$dependencies[[1]]$name not equal to "jquery-ui".
  1/1 mismatches
  x[1]: "jquery"
  y[1]: "jquery-ui"
  ── Failure ('test-controls.R:37:3'): Initialize map dependencies in addLowerOpacity ──
  res$dependencies[[2]]$name not equal to "opacity".
  1/1 mismatches
  x[1]: "leaflet"
  y[1]: "opacity"
  ── Failure ('test-controls.R:52:3'): Initialize map dependencies in addHigherOpacity ──
  res$dependencies[[1]]$name not equal to "jquery-ui".
  1/1 mismatches
  x[1]: "jquery"
  y[1]: "jquery-ui"
  ── Failure ('test-controls.R:53:3'): Initialize map dependencies in addHigherOpacity ──
  res$dependencies[[2]]$name not equal to "opacity".
  1/1 mismatches
  x[1]: "leaflet"
  y[1]: "opacity"
  
  [ FAIL 6 | WARN 4 | SKIP 0 | PASS 3 ]
  Error: Test failures
  Execution halted