Running ‘spelling.R’
  Running ‘testthat.R’ [368s/357s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(geotargets)
  > 
  > test_check("geotargets")
  + opt dispatched
  ✔ opt completed [17ms, 60 B]
  ✔ ended pipeline [484ms, 1 completed, 0 skipped]
  + test_stars dispatched
  ✔ test_stars completed [61ms, 49.90 kB]
  ✔ ended pipeline [494ms, 1 completed, 0 skipped]
  + test_stars_proxy dispatched
  ✔ test_stars_proxy completed [39ms, 49.90 kB]
  ✔ ended pipeline [494ms, 1 completed, 0 skipped]
  + test_stars_mdim dispatched
  ✔ test_stars_mdim completed [34ms, 8.28 kB]
  ✔ ended pipeline [454ms, 1 completed, 0 skipped]
  Warning messages:
  1: GDAL Error 6: SetIndexingVariable() not implemented 
  2: GDAL Error 6: SetIndexingVariable() not implemented 
  3: 1 targets produced warnings. Run targets::tar_meta(fields = warnings, complete_only = TRUE) for the messages. 
  + test_stars_mdim_ncdf dispatched
  ✔ test_stars_mdim_ncdf completed [15ms, 8.28 kB]
  ✔ ended pipeline [425ms, 1 completed, 0 skipped]
  Warning messages:
  1: GDAL Error 6: SetIndexingVariable() not implemented 
  2: GDAL Error 6: SetIndexingVariable() not implemented 
  3: 1 targets produced warnings. Run targets::tar_meta(fields = warnings, complete_only = TRUE) for the messages. 
  + test_stars dispatched
  ✔ test_stars completed [45ms, 49.90 kB]
  + to_add dispatched
  ✔ to_add completed [1ms, 59 B]
  + test_stars_plus declared [2 branches]
  → 5 targets ■■■■■■■■■■■■■                    [555ms, 2+, 0-]
  ✔ test_stars_plus completed [4ms, 99.80 kB]
  → 5 targets ■■■■■■■■■■■■■                    [555ms, 2+, 0-]
  → 4 targets ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■  [729ms, 4+, 0-]
  ✔ ended pipeline [860ms, 4 completed, 0 skipped]
  
  Attaching package: 'targets'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  + test_terra_rast dispatched
  ✔ test_terra_rast completed [19ms, 10.43 kB]
  ✔ ended pipeline [601ms, 1 completed, 0 skipped]
  + rast1 dispatched
  + rast2 dispatched
  → 2 targets ■■■■■■■■■■■■■■■■                 [14.3s, 1+, 0-]
  ✔ rast1 completed [10.8s, 7.99 kB]
  → 2 targets ■■■■■■■■■■■■■■■■                 [14.3s, 1+, 0-]
  ✔ rast2 completed [11s, 7.99 kB]
  → 2 targets ■■■■■■■■■■■■■■■■                 [14.3s, 1+, 0-]
  → 2 targets ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■  [16.1s, 2+, 0-]
  ✔ ended pipeline [16.2s, 2 completed, 0 skipped]
  + my_map dispatched
  ✔ my_map completed [18ms, 7.99 kB]
  + to_add dispatched
  ✔ to_add completed [0ms, 59 B]
  + my_map_plus declared [2 branches]
  → 5 targets ■■■■■■■■■■■■■                    [695ms, 2+, 0-]
  ✔ my_map_plus completed [27ms, 19.80 kB]
  → 5 targets ■■■■■■■■■■■■■                    [695ms, 2+, 0-]
  → 4 targets ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■  [938ms, 4+, 0-]
  ✔ ended pipeline [1.1s, 4 completed, 0 skipped]
  terra 1.8.42
  + r dispatched
  ✔ r completed [16ms, 10.43 kB]
  ✔ ended pipeline [562ms, 1 completed, 0 skipped]
  terra 1.8.42
  terra 1.8.42
  + r2 dispatched
  ✔ r2 completed [59ms, 32.17 kB]
  + r dispatched
  ✔ r completed [316ms, 30.39 kB]
  ✔ ended pipeline [1.2s, 2 completed, 0 skipped]
  terra 1.8.42
  + r2 dispatched
  ✔ r2 completed [63ms, 36.56 kB]
  + r dispatched
  ✔ r completed [334ms, 35.05 kB]
  ✔ ended pipeline [1.3s, 2 completed, 0 skipped]
  terra 1.8.42
  + r dispatched
  ✖ r errored
  ✖ errored pipeline [698ms, 0 completed, 0 skipped]
  + raster_elevs dispatched
  ✔ raster_elevs completed [404ms, 36.61 kB]
  ✔ ended pipeline [987ms, 1 completed, 0 skipped]
  + raster_elevs dispatched
  ✔ raster_elevs completed [342ms, 19.79 kB]
  ✔ ended pipeline [879ms, 1 completed, 0 skipped]
  terra 1.8.42
  terra 1.8.42
  + my_file dispatched
  ✔ my_file completed [4ms, 22.46 kB]
  + my_map dispatched
  ✔ my_map completed [12ms, 20.05 kB]
  + rast_split_exts dispatched
  ✔ rast_split_exts completed [24ms, 133 B]
  + rast_split_grid_exts dispatched
  ✔ rast_split_grid_exts completed [24ms, 141 B]
  + rast_split_n_exts dispatched
  creating 2 * 3 = 6 tile extents
  ✔ rast_split_n_exts completed [110ms, 156 B]
  + rast_split declared [3 branches]
  → 11 targets ■■■■■■■■■■■■■■■                  [938ms, 5+, 0-]
  ✔ rast_split completed [194ms, 20.74 kB]
  → 11 targets ■■■■■■■■■■■■■■■                  [938ms, 5+, 0-]
  + rast_split_grid declared [4 branches]
  → 11 targets ■■■■■■■■■■■■■■■                  [938ms, 5+, 0-]
  → 14 targets ■■■■■■■■■■■■■■■■■■               [1.4s, 8+, 0-]
  ✔ rast_split_grid completed [77ms, 21.08 kB]
  → 14 targets ■■■■■■■■■■■■■■■■■■               [1.4s, 8+, 0-]
  + rast_split_n declared [6 branches]
  → 14 targets ■■■■■■■■■■■■■■■■■■               [1.4s, 8+, 0-]
  → 19 targets ■■■■■■■■■■■■■■■■■■■■             [1.8s, 12+, 0-]
  ✔ rast_split_n completed [134ms, 21.72 kB]
  → 19 targets ■■■■■■■■■■■■■■■■■■■■             [1.8s, 12+, 0-]
  → 18 targets ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■  [2.2s, 18+, 0-]
  ✔ ended pipeline [2.4s, 18 completed, 0 skipped]
  terra 1.8.42
  + my_file dispatched
  ✔ my_file completed [3ms, 7.99 kB]
  + my_map dispatched
  ✔ my_map completed [15ms, 12.35 kB]
  + rast_split_grid_exts dispatched
  ✔ rast_split_grid_exts completed [23ms, 155 B]
  + rast_split_n_exts dispatched
  creating 2 * 3 = 6 tile extents
  ✔ rast_split_n_exts completed [110ms, 167 B]
  + rast_split_blocksize_exts dispatched
  ✔ rast_split_blocksize_exts completed [24ms, 168 B]
  + rast_split_grid declared [4 branches]
  → 12 targets ■■■■■■■■■■■■■                    [985ms, 5+, 0-]
  ✔ rast_split_grid completed [234ms, 15.47 kB]
  → 12 targets ■■■■■■■■■■■■■                    [985ms, 5+, 0-]
  + rast_split_n declared [6 branches]
  → 12 targets ■■■■■■■■■■■■■                    [985ms, 5+, 0-]
  → 17 targets ■■■■■■■■■■■■■■■■■                [1.6s, 9+, 0-]
  ✔ rast_split_n completed [124ms, 17.95 kB]
  → 17 targets ■■■■■■■■■■■■■■■■■                [1.6s, 9+, 0-]
  + rast_split_blocksize declared [5 branches]
  → 17 targets ■■■■■■■■■■■■■■■■■                [1.6s, 9+, 0-]
  → 21 targets ■■■■■■■■■■■■■■■■■■■■■■           [2.1s, 15+, 0-]
  ✔ rast_split_blocksize completed [110ms, 16.50 kB]
  → 21 targets ■■■■■■■■■■■■■■■■■■■■■■           [2.1s, 15+, 0-]
  → 20 targets ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■  [2.5s, 20+, 0-]
  ✔ ended pipeline [2.6s, 20 completed, 0 skipped]
  + test_terra_vect dispatched
  ✔ test_terra_vect completed [88ms, 172.03 kB]
  + test_terra_vect_shz dispatched
  ✔ test_terra_vect_shz completed [153ms, 35.24 kB]
  ✔ ended pipeline [957ms, 2 completed, 0 skipped]
  + my_vect dispatched
  ✔ my_vect completed [31ms, 172.03 kB]
  + to_sub dispatched
  ✔ to_sub completed [0ms, 76 B]
  + my_vect_subs declared [2 branches]
  → 5 targets ■■■■■■■■■■■■■                    [506ms, 2+, 0-]
  ✔ my_vect_subs completed [30ms, 204.80 kB]
  → 5 targets ■■■■■■■■■■■■■                    [506ms, 2+, 0-]
  → 4 targets ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■  [907ms, 4+, 0-]
  ✔ ended pipeline [1.1s, 4 completed, 0 skipped]
  + vect1 dispatched
  + vect2 dispatched
  → 2 targets ■■■■■■■■■■■■■■■■                 [14.4s, 1+, 0-]
  ✔ vect1 completed [10.9s, 172.03 kB]
  → 2 targets ■■■■■■■■■■■■■■■■                 [14.4s, 1+, 0-]
  ✔ vect2 completed [10.8s, 172.03 kB]
  → 2 targets ■■■■■■■■■■■■■■■■                 [14.4s, 1+, 0-]
  → 2 targets ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■  [15.9s, 2+, 0-]
  ✔ ended pipeline [16.1s, 2 completed, 0 skipped]
  + r dispatched
  ✔ r completed [18ms, 7.99 kB]
  + r2 dispatched
  ✔ r2 completed [12ms, 9.69 kB]
  + rt_exts dispatched
  ✔ rt_exts completed [34ms, 155 B]
  + rt declared [4 branches]
  → 9 targets ■■■■■■■■■■■                      [813ms, 3+, 0-]
  ✔ rt completed [287ms, 24.52 kB]
  → 9 targets ■■■■■■■■■■■                      [813ms, 3+, 0-]
  + r3 dispatched
  → 9 targets ■■■■■■■■■■■                      [813ms, 3+, 0-]
  ✔ r3 completed [9ms, 4.22 kB]
  → 9 targets ■■■■■■■■■■■                      [813ms, 3+, 0-]
  → 8 targets ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■  [1.6s, 8+, 0-]
  ✔ ended pipeline [1.7s, 8 completed, 0 skipped]
  creating 1 * 1 = 1 tile extents
  creating 1 * 2 = 2 tile extents
  creating 1 * 3 = 3 tile extents
  creating 2 * 2 = 4 tile extents
  creating 2 * 3 = 6 tile extents
  [ FAIL 1 | WARN 0 | SKIP 13 | PASS 50 ]
  
  ══ Skipped tests (13) ══════════════════════════════════════════════════════════
  • On CRAN (13): 'test-check-gdal-shz.R:5:3', 'test-check-pkg-installed.R:2:3',
    'test-check-user-resources.R:2:3', 'test-tar-stars.R:20:3',
    'test-tar-stars.R:40:3', 'test-tar-stars.R:68:3', 'test-tar-stars.R:100:3',
    'test-tar-terra-rast.R:17:3', 'test-tar-terra-sprc.R:43:3',
    'test-tar-terra-sprc.R:88:3', 'test-tar-terra-vect.R:27:3',
    'test-tile-funs.R:4:3', 'test-tile-funs.R:42:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-tar-terra-rast.R:223:3'): metadata is maintained (gdalraster SOZip) ──
  <tar_condition_run/tar_condition_targets/rlang_error/rlang_error/error/condition>
  Error: Error in tar_make():
    _store_ addFilesInZip() requires GDAL >= 3.7
    See https://books.ropensci.org/targets/debugging.html
  Backtrace:
      ▆
   1. └─targets::tar_make() at test-tar-terra-rast.R:223:3
   2.   └─targets:::callr_outer(...)
   3.     ├─targets:::if_any(...)
   4.     └─targets:::callr_error(traced_condition = out, fun = fun)
   5.       └─targets::tar_throw_run(message, class = class(traced_condition$condition))
   6.         └─targets::tar_error(...)
   7.           └─rlang::abort(message = message, class = class, call = tar_envir_base)
  
  [ FAIL 1 | WARN 0 | SKIP 13 | PASS 50 ]
  Error: Test failures
  Execution halted