* using log directory ‘/Users/ripley/R/packages/tests-devel/leaflet.opacity.Rcheck’ * using R Under development (unstable) (2023-08-31 r85031) * using platform: aarch64-apple-darwin22.6.0 * R was compiled by Apple clang version 15.0.0 (clang-1500.0.40.1) GNU Fortran (GCC) 12.2.0 * running under: macOS Ventura 13.5.1 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘leaflet.opacity/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘leaflet.opacity’ version ‘0.1.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘leaflet.opacity’ can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking LazyData ... NOTE 'LazyData' is specified without a 'data' directory * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR 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: /Users/ripley/R/Library/rgdal/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: /Users/ripley/R/Library/rgdal/proj PROJ CDN enabled: FALSE 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE See ‘/Users/ripley/R/packages/tests-devel/leaflet.opacity.Rcheck/00check.log’ for details. 14.47 real 11.52 user 2.48 sys