Package check result: NOTE Check: CRAN incoming feasibility, Result: NOTE Maintainer: ‘Pedro Cardoso ’ New maintainer: Pedro Cardoso Old maintainer(s): Pedro Cardoso Changes to worse in reverse depends: Package: divraster Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘divraster-vignette.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/CRAN_recheck/divraster.Rcheck/vign_test/divraster/vignettes/divraster-vignette_files/figure-html/unnamed-chunk-2-1.png 384x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 11587 bytes Input file size = 11677 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9957 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9957 Output IDAT size = 9957 bytes (1630 bytes decrease) Output file size = 10035 bytes (1642 bytes = 14.06% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/divraster.Rcheck/vign_test/divraster/vignettes/divraster-vignette_files/figure-html/unnamed-chunk-2-2.png 384x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 11901 bytes Input file size = 11991 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 10112 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 10112 Output IDAT size = 10112 bytes (1789 bytes decrease) Output file size = 10190 bytes (1801 bytes = 15.02% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/divraster.Rcheck/vign_test/divraster/vignettes/divraster-vignette_files/figure-html/unnamed-chunk-2-3.png 384x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 9656 bytes Input file size = 9746 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8478 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8478 Output IDAT size = 8478 bytes (1178 bytes decrease) Output file size = 8556 bytes (1190 bytes = 12.21% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/divraster.Rcheck/vign_test/divraster/vignettes/divraster-vignette_files/figure-html/unnamed-chunk-3-1.png 384x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 11327 bytes Input file size = 11417 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9680 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 9680 Output IDAT size = 9680 bytes (1647 bytes decrease) Output file size = 9758 bytes (1659 bytes = 14.53% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/divraster.Rcheck/vign_test/divraster/vignettes/divraster-vignette_files/figure-html/unnamed-chunk-4-1.png 384x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 12353 bytes Input file size = 12443 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 10487 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 10487 Output IDAT size = 10487 bytes (1866 bytes decrease) Output file size = 10565 bytes (1878 bytes = 15.09% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/divraster.Rcheck/vign_test/divraster/vignettes/divraster-vignette_files/figure-html/unnamed-chunk-5-1.png 576x480 pixels, 3x8 bits/pixel, RGB Input IDAT size = 30163 bytes Input file size = 30277 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 26290 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 26290 Output IDAT size = 26290 bytes (3873 bytes decrease) Output file size = 26368 bytes (3909 bytes = 12.91% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/divraster.Rcheck/vign_test/divraster/vignettes/divraster-vignette_files/figure-html/unnamed-chunk-6-1.png 576x480 pixels, 3x8 bits/pixel, RGB Input IDAT size = 29290 bytes Input file size = 29404 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 25637 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 25637 Output IDAT size = 25637 bytes (3653 bytes decrease) Output file size = 25715 bytes (3689 bytes = 12.55% decrease) Quitting from divraster-vignette.Rmd:148-153 [unnamed-chunk-7] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! Not compatible with requested type: [type=list; target=double]. --- Backtrace: ▆ 1. └─divraster::spat.beta(bin1) 2. ├─terra::focal3D(...) 3. └─terra::focal3D(...) 4. └─terra (local) .local(x, ...) 5. ├─terra::writeValues(out, vv, b$row[i], b$nrows[i]) 6. └─terra::writeValues(out, vv, b$row[i], b$nrows[i]) 7. └─terra (local) .local(x, v, ...) 8. └─x@pntr$writeValues(v, start - 1, nrows) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'divraster-vignette.Rmd' failed with diagnostics: Not compatible with requested type: [type=list; target=double]. --- failed re-building ‘divraster-vignette.Rmd’ SUMMARY: processing the following file failed: ‘divraster-vignette.Rmd’ Error: Vignette re-building failed. Execution halted Package: divraster Check: tests New result: ERROR Running ‘testthat.R’ [12s/12s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(divraster) Welcome to divraster! To acknowledge our work use: citation('divraster') > > test_check("divraster") [ FAIL 1 | WARN 296 | SKIP 0 | PASS 45 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-beta_spatial.R:12:3'): function spat.beta works ──────────────── Error: [names<-] incorrect number of names Backtrace: ▆ 1. └─divraster::spat.beta(bin1, filename = paste0(tempfile(), ".tif")) at test-beta_spatial.R:12:3 2. ├─methods (local) `names<-`(`*tmp*`, value = paste0(lyrnames, "_TD")) 3. └─terra (local) `names<-`(`*tmp*`, value = paste0(lyrnames, "_TD")) 4. └─terra:::error("names<-", "incorrect number of names") [ FAIL 1 | WARN 296 | SKIP 0 | PASS 45 ] Error: Test failures Execution halted