'LazyData' is specified without a 'data' directory
Running examples in ‘geoviz-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: crop_raster_square
> ### Title: Crops a raster and returns a smaller square raster
> ### Aliases: crop_raster_square
> 
> ### ** Examples
> 
> crop_raster_square(example_raster(), lat = 54.513293, long = -3.045598, square_km = 0.01)
rgeos version: 0.6-3, (SVN revision 696)
 GEOS runtime version: 3.11.1-CAPI-1.17.1 
 Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
 GEOS using OverlayNG
 Linking to sp version: 2.0-0 
 Polygon checking: TRUE 

Warning: GEOS support is provided by the sf and terra packages among others
Error in rgeos::gBuffer(bounding_box, width = bounding_box$square_km *  : 
  length(width) == 1 is not TRUE
Calls: crop_raster_square -> square_bounding_box -> <Anonymous> -> stopifnot
Execution halted
Running ‘testthat.R’ [28s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(geoviz)
  > 
  > test_check("geoviz")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_imagery.R:20:3'): slippy_raster() returns data ─────────────────
  Error in `rgeos::gBuffer(bounding_box, width = bounding_box$square_km * 
      1000, quadsegs = 1, capStyle = "SQUARE")`: length(width) == 1 is not TRUE
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test_imagery.R:20:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─geoviz::slippy_raster(...)
   7.   └─geoviz:::square_bounding_box(lat, long, square_km)
   8.     └─rgeos::gBuffer(...)
   9.       └─base::stopifnot(length(width) == 1)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘geoviz-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: crop_raster_square
> ### Title: Crops a raster and returns a smaller square raster
> ### Aliases: crop_raster_square
> 
> ### ** Examples
> 
> crop_raster_square(example_raster(), lat = 54.513293, long = -3.045598, square_km = 0.01)
rgeos version: 0.6-3, (SVN revision 696)
 GEOS runtime version: 3.11.1-CAPI-1.17.1 
 Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
 GEOS using OverlayNG
 Linking to sp version: 2.0-0 
 Polygon checking: TRUE 

Warning: GEOS support is provided by the sf and terra packages among others
Error in rgeos::gBuffer(bounding_box, width = bounding_box$square_km *  : 
  length(width) == 1 is not TRUE
Calls: crop_raster_square -> square_bounding_box -> <Anonymous> -> stopifnot
Execution halted
Running ‘testthat.R’ [24s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(geoviz)
  > 
  > test_check("geoviz")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_imagery.R:20:3'): slippy_raster() returns data ─────────────────
  Error in `rgeos::gBuffer(bounding_box, width = bounding_box$square_km * 
      1000, quadsegs = 1, capStyle = "SQUARE")`: length(width) == 1 is not TRUE
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test_imagery.R:20:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─geoviz::slippy_raster(...)
   7.   └─geoviz:::square_bounding_box(lat, long, square_km)
   8.     └─rgeos::gBuffer(...)
   9.       └─base::stopifnot(length(width) == 1)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  Error: Test failures
  Execution halted
Imports includes 22 non-default packages.
Importing from so many packages makes the package vulnerable to any of
them becoming unavailable.  Move as many as possible to Suggests and
use conditionally.
'LazyData' is specified without a 'data' directory
Running examples in ‘geoviz-Ex.R’ failed
The error most likely occurred in:

> ### Name: crop_raster_square
> ### Title: Crops a raster and returns a smaller square raster
> ### Aliases: crop_raster_square
> 
> ### ** Examples
> 
> crop_raster_square(example_raster(), lat = 54.513293, long = -3.045598, square_km = 0.01)
rgeos version: 0.6-3, (SVN revision 696)
 GEOS runtime version: 3.10.2-CAPI-1.16.0 
 Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
 GEOS using OverlayNG
 Linking to sp version: 2.0-0 
 Polygon checking: TRUE 

Warning: GEOS support is provided by the sf and terra packages among others
Error in rgeos::gBuffer(bounding_box, width = bounding_box$square_km *  : 
  length(width) == 1 is not TRUE
Calls: crop_raster_square -> square_bounding_box -> <Anonymous> -> stopifnot
Execution halted
Running ‘testthat.R’ [30s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(geoviz)
  > 
  > test_check("geoviz")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_imagery.R:20:3'): slippy_raster() returns data ─────────────────
  Error in `rgeos::gBuffer(bounding_box, width = bounding_box$square_km * 
      1000, quadsegs = 1, capStyle = "SQUARE")`: length(width) == 1 is not TRUE
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test_imagery.R:20:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─geoviz::slippy_raster(...)
   7.   └─geoviz:::square_bounding_box(lat, long, square_km)
   8.     └─rgeos::gBuffer(...)
   9.       └─base::stopifnot(length(width) == 1)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘geoviz-Ex.R’ failed
The error most likely occurred in:

> ### Name: crop_raster_square
> ### Title: Crops a raster and returns a smaller square raster
> ### Aliases: crop_raster_square
> 
> ### ** Examples
> 
> crop_raster_square(example_raster(), lat = 54.513293, long = -3.045598, square_km = 0.01)
rgeos version: 0.6-3, (SVN revision 696)
 GEOS runtime version: 3.10.2-CAPI-1.16.0 
 Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
 GEOS using OverlayNG
 Linking to sp version: 2.0-0 
 Polygon checking: TRUE 

Warning: GEOS support is provided by the sf and terra packages among others
Error in rgeos::gBuffer(bounding_box, width = bounding_box$square_km *  : 
  length(width) == 1 is not TRUE
Calls: crop_raster_square -> square_bounding_box -> <Anonymous> -> stopifnot
Execution halted
Running ‘testthat.R’ [37s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(geoviz)
  > 
  > test_check("geoviz")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_imagery.R:20:3'): slippy_raster() returns data ─────────────────
  Error in `rgeos::gBuffer(bounding_box, width = bounding_box$square_km * 
      1000, quadsegs = 1, capStyle = "SQUARE")`: length(width) == 1 is not TRUE
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test_imagery.R:20:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─geoviz::slippy_raster(...)
   7.   └─geoviz:::square_bounding_box(lat, long, square_km)
   8.     └─rgeos::gBuffer(...)
   9.       └─base::stopifnot(length(width) == 1)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in 'geoviz-Ex.R' failed
The error most likely occurred in:

> ### Name: crop_raster_square
> ### Title: Crops a raster and returns a smaller square raster
> ### Aliases: crop_raster_square
> 
> ### ** Examples
> 
> crop_raster_square(example_raster(), lat = 54.513293, long = -3.045598, square_km = 0.01)
rgeos version: 0.6-3, (SVN revision 696)
 GEOS runtime version: 3.11.2-CAPI-1.17.2 
 Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
 GEOS using OverlayNG
 Linking to sp version: 2.0-0 
 Polygon checking: TRUE 

Warning: GEOS support is provided by the sf and terra packages among others
Error in rgeos::gBuffer(bounding_box, width = bounding_box$square_km *  : 
  length(width) == 1 is not TRUE
Calls: crop_raster_square -> square_bounding_box -> <Anonymous> -> stopifnot
Execution halted
Running 'testthat.R' [21s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(geoviz)
  > 
  > test_check("geoviz")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_imagery.R:20:3'): slippy_raster() returns data ─────────────────
  Error in `rgeos::gBuffer(bounding_box, width = bounding_box$square_km * 
      1000, quadsegs = 1, capStyle = "SQUARE")`: length(width) == 1 is not TRUE
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test_imagery.R:20:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─geoviz::slippy_raster(...)
   7.   └─geoviz:::square_bounding_box(lat, long, square_km)
   8.     └─rgeos::gBuffer(...)
   9.       └─base::stopifnot(length(width) == 1)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘geoviz-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: crop_raster_square
> ### Title: Crops a raster and returns a smaller square raster
> ### Aliases: crop_raster_square
> 
> ### ** Examples
> 
> crop_raster_square(example_raster(), lat = 54.513293, long = -3.045598, square_km = 0.01)
rgeos version: 0.6-3, (SVN revision 696)
 GEOS runtime version: 3.11.1-CAPI-1.17.1 
 Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
 GEOS using OverlayNG
 Linking to sp version: 2.0-0 
 Polygon checking: TRUE 

Warning: GEOS support is provided by the sf and terra packages among others
Error in rgeos::gBuffer(bounding_box, width = bounding_box$square_km *  : 
  length(width) == 1 is not TRUE
Calls: crop_raster_square -> square_bounding_box -> <Anonymous> -> stopifnot
Execution halted
Running ‘testthat.R’ [31s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(geoviz)
  > 
  > test_check("geoviz")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_imagery.R:20:3'): slippy_raster() returns data ─────────────────
  Error in `rgeos::gBuffer(bounding_box, width = bounding_box$square_km * 
      1000, quadsegs = 1, capStyle = "SQUARE")`: length(width) == 1 is not TRUE
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test_imagery.R:20:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─geoviz::slippy_raster(...)
   7.   └─geoviz:::square_bounding_box(lat, long, square_km)
   8.     └─rgeos::gBuffer(...)
   9.       └─base::stopifnot(length(width) == 1)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘geoviz-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: crop_raster_square
> ### Title: Crops a raster and returns a smaller square raster
> ### Aliases: crop_raster_square
> 
> ### ** Examples
> 
> crop_raster_square(example_raster(), lat = 54.513293, long = -3.045598, square_km = 0.01)
rgeos version: 0.6-3, (SVN revision 696)
 GEOS runtime version: 3.11.1-CAPI-1.17.1 
 Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
 GEOS using OverlayNG
 Linking to sp version: 2.0-0 
 Polygon checking: TRUE 

Warning: GEOS support is provided by the sf and terra packages among others
Error in rgeos::gBuffer(bounding_box, width = bounding_box$square_km *  : 
  length(width) == 1 is not TRUE
Calls: crop_raster_square -> square_bounding_box -> <Anonymous> -> stopifnot
Execution halted
Running ‘testthat.R’ [31s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(geoviz)
  > 
  > test_check("geoviz")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_imagery.R:20:3'): slippy_raster() returns data ─────────────────
  Error in `rgeos::gBuffer(bounding_box, width = bounding_box$square_km * 
      1000, quadsegs = 1, capStyle = "SQUARE")`: length(width) == 1 is not TRUE
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test_imagery.R:20:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─geoviz::slippy_raster(...)
   7.   └─geoviz:::square_bounding_box(lat, long, square_km)
   8.     └─rgeos::gBuffer(...)
   9.       └─base::stopifnot(length(width) == 1)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running examples in 'geoviz-Ex.R' failed
The error most likely occurred in:

> ### Name: crop_raster_square
> ### Title: Crops a raster and returns a smaller square raster
> ### Aliases: crop_raster_square
> 
> ### ** Examples
> 
> crop_raster_square(example_raster(), lat = 54.513293, long = -3.045598, square_km = 0.01)
rgeos version: 0.6-3, (SVN revision 696)
 GEOS runtime version: 3.11.2-CAPI-1.17.2 
 Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
 GEOS using OverlayNG
 Linking to sp version: 2.0-0 
 Polygon checking: TRUE 

Warning: GEOS support is provided by the sf and terra packages among others
Error in rgeos::gBuffer(bounding_box, width = bounding_box$square_km *  : 
  length(width) == 1 is not TRUE
Calls: crop_raster_square -> square_bounding_box -> <Anonymous> -> stopifnot
Execution halted
Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(geoviz)
  > 
  > test_check("geoviz")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_imagery.R:20:3'): slippy_raster() returns data ─────────────────
  Error in `rgeos::gBuffer(bounding_box, width = bounding_box$square_km * 
      1000, quadsegs = 1, capStyle = "SQUARE")`: length(width) == 1 is not TRUE
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test_imagery.R:20:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─geoviz::slippy_raster(...)
   7.   └─geoviz:::square_bounding_box(lat, long, square_km)
   8.     └─rgeos::gBuffer(...)
   9.       └─base::stopifnot(length(width) == 1)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running examples in 'geoviz-Ex.R' failed
The error most likely occurred in:

> ### Name: crop_raster_square
> ### Title: Crops a raster and returns a smaller square raster
> ### Aliases: crop_raster_square
> 
> ### ** Examples
> 
> crop_raster_square(example_raster(), lat = 54.513293, long = -3.045598, square_km = 0.01)
rgeos version: 0.6-3, (SVN revision 696)
 GEOS runtime version: 3.9.3-CAPI-1.14.3 
 Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
 GEOS using OverlayNG
 Linking to sp version: 2.0-0 
 Polygon checking: TRUE 

Warning: GEOS support is provided by the sf and terra packages among others
Error in rgeos::gBuffer(bounding_box, width = bounding_box$square_km *  : 
  length(width) == 1 is not TRUE
Calls: crop_raster_square -> square_bounding_box -> <Anonymous> -> stopifnot
Execution halted
Running 'testthat.R' [26s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(geoviz)
  > 
  > test_check("geoviz")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_imagery.R:20:3'): slippy_raster() returns data ─────────────────
  Error in `rgeos::gBuffer(bounding_box, width = bounding_box$square_km * 
      1000, quadsegs = 1, capStyle = "SQUARE")`: length(width) == 1 is not TRUE
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test_imagery.R:20:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─geoviz::slippy_raster(...)
   7.   └─geoviz:::square_bounding_box(lat, long, square_km)
   8.     └─rgeos::gBuffer(...)
   9.       └─base::stopifnot(length(width) == 1)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  Error: Test failures
  Execution halted