CRAN Package Check Results for Package divvy

Last updated on 2025-03-09 05:52:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 3.11 252.69 255.80 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.0 2.20 103.09 105.29 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 263.45 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.0 418.24 NOTE
r-devel-macos-arm64 1.0.0 116.00 OK
r-devel-macos-x86_64 1.0.0 269.00 NOTE
r-devel-windows-x86_64 1.0.0 7.00 337.00 344.00 NOTE
r-patched-linux-x86_64 1.0.0 3.09 240.42 243.51 OK
r-release-linux-x86_64 1.0.0 2.35 240.82 243.17 OK
r-release-macos-arm64 1.0.0 121.00 OK
r-release-macos-x86_64 1.0.0 200.00 OK
r-release-windows-x86_64 1.0.0 5.00 336.00 341.00 OK
r-oldrel-macos-arm64 1.0.0 OK
r-oldrel-macos-x86_64 1.0.0 259.00 OK
r-oldrel-windows-x86_64 1.0.0 7.00 360.00 367.00 OK

Check Details

Version: 1.0.0
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘subsample_circle.R’ ‘subsample_lat_band.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64, r-devel-windows-x86_64

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘divvy-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: rangeSize > ### Title: Calculate common metrics of spatial distribution > ### Aliases: rangeSize > > ### ** Examples > > # generate 20 occurrences for a pseudo-species > # centred on Yellowstone National Park (latitude-longitude) > # normally distributed with a standard deviation ~110 km > set.seed(2) > x <- rnorm(20, 110.5885, 2) > y <- rnorm(20, 44.4280, 1) > pts <- cbind(x,y) > > rangeSize(pts) Error in UseMethod("units") : no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" Calls: rangeSize -> cbind -> cbind -> units Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed bandit 5.674 0.234 7.857 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/19s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(divvy) > > test_check("divvy") [ FAIL 4 | WARN 0 | SKIP 0 | PASS 22 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_calc_eco_variables.R:4:3'): rangeSize returns appropriate values ── Error in `UseMethod("units")`: no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" Backtrace: ▆ 1. └─divvy::rangeSize(xy) at test_calc_eco_variables.R:4:3 2. └─base::cbind(...) 3. └─units (local) cbind(deparse.level, ...) 4. └─base::units(dots[[1]]) ── Error ('test_calc_eco_variables.R:19:3'): sdSumry returns values within basic tolerance limits ── Error in `UseMethod("units")`: no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" Backtrace: ▆ 1. └─divvy::sdSumry(...) at test_calc_eco_variables.R:19:3 2. └─divvy (local) dfsumry(dat) 3. └─divvy::rangeSize(coords = locs, crs = crs) 4. └─base::cbind(...) 5. └─units (local) cbind(deparse.level, ...) 6. └─base::units(dots[[1]]) ── Failure ('test_calc_eco_variables.R:42:3'): rangeSize and sdSumry accept projected coords ── Expected `rangeSize(bivAlt[, xyCell], crs = prj)` to run without any conditions. i Actually got a <simpleError> with text: no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" ── Error ('test_calc_eco_variables.R:43:3'): rangeSize and sdSumry accept projected coords ── Error in `UseMethod("units")`: no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" Backtrace: ▆ 1. └─divvy::rangeSize(bivAlt[, xyCell], crs = prj) at test_calc_eco_variables.R:43:3 2. └─base::cbind(...) 3. └─units (local) cbind(deparse.level, ...) 4. └─base::units(dots[[1]]) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 22 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘habitat-rangesize-case-study.Rmd’ using rmarkdown --- finished re-building ‘habitat-rangesize-case-study.Rmd’ --- re-building ‘subsampling-vignette.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/divvy.Rcheck/vign_test/divvy/vignettes/subsampling-vignette_files/figure-html/map data-1.png 576x288 pixels, 8 bits/pixel, 168 colors in palette Input IDAT size = 24311 bytes Input file size = 24929 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 22843 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 = 22843 Output IDAT size = 22843 bytes (1468 bytes decrease) Output file size = 23437 bytes (1492 bytes = 5.98% decrease) ** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/divvy.Rcheck/vign_test/divvy/vignettes/subsampling-vignette_files/figure-html/map subsample-1.png 576x288 pixels, 8 bits/pixel, 169 colors in palette Input IDAT size = 24332 bytes Input file size = 24953 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 22865 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 = 22865 Output IDAT size = 22865 bytes (1467 bytes decrease) Output file size = 23462 bytes (1491 bytes = 5.98% decrease) ** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/divvy.Rcheck/vign_test/divvy/vignettes/subsampling-vignette_files/figure-html/count pool size-1.png 576x288 pixels, 3x8 bits/pixel, RGB Input IDAT size = 63559 bytes Input file size = 63721 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 42150 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 = 42150 Output IDAT size = 42150 bytes (21409 bytes decrease) Output file size = 42228 bytes (21493 bytes = 33.73% decrease) Quitting from lines 254-271 [meta data] (subsampling-vignette.Rmd) Error: processing vignette 'subsampling-vignette.Rmd' failed with diagnostics: no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" --- failed re-building ‘subsampling-vignette.Rmd’ SUMMARY: processing the following file failed: ‘subsampling-vignette.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘divvy-Ex.R’ failed The error most likely occurred in: > ### Name: rangeSize > ### Title: Calculate common metrics of spatial distribution > ### Aliases: rangeSize > > ### ** Examples > > # generate 20 occurrences for a pseudo-species > # centred on Yellowstone National Park (latitude-longitude) > # normally distributed with a standard deviation ~110 km > set.seed(2) > x <- rnorm(20, 110.5885, 2) > y <- rnorm(20, 44.4280, 1) > pts <- cbind(x,y) > > rangeSize(pts) Error in UseMethod("units") : no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" Calls: rangeSize -> cbind -> cbind -> units Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [43s/112s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(divvy) > > test_check("divvy") [ FAIL 4 | WARN 0 | SKIP 0 | PASS 22 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_calc_eco_variables.R:4:3'): rangeSize returns appropriate values ── Error in `UseMethod("units")`: no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" Backtrace: ▆ 1. └─divvy::rangeSize(xy) at test_calc_eco_variables.R:4:3 2. └─base::cbind(...) 3. └─units (local) cbind(deparse.level, ...) 4. └─base::units(dots[[1]]) ── Error ('test_calc_eco_variables.R:19:3'): sdSumry returns values within basic tolerance limits ── Error in `UseMethod("units")`: no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" Backtrace: ▆ 1. └─divvy::sdSumry(...) at test_calc_eco_variables.R:19:3 2. └─divvy (local) dfsumry(dat) 3. └─divvy::rangeSize(coords = locs, crs = crs) 4. └─base::cbind(...) 5. └─units (local) cbind(deparse.level, ...) 6. └─base::units(dots[[1]]) ── Failure ('test_calc_eco_variables.R:42:3'): rangeSize and sdSumry accept projected coords ── Expected `rangeSize(bivAlt[, xyCell], crs = prj)` to run without any conditions. i Actually got a <simpleError> with text: no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" ── Error ('test_calc_eco_variables.R:43:3'): rangeSize and sdSumry accept projected coords ── Error in `UseMethod("units")`: no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" Backtrace: ▆ 1. └─divvy::rangeSize(bivAlt[, xyCell], crs = prj) at test_calc_eco_variables.R:43:3 2. └─base::cbind(...) 3. └─units (local) cbind(deparse.level, ...) 4. └─base::units(dots[[1]]) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 22 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘habitat-rangesize-case-study.Rmd’ using rmarkdown --- finished re-building ‘habitat-rangesize-case-study.Rmd’ --- re-building ‘subsampling-vignette.Rmd’ using rmarkdown ** Processing: /data/gannet/ripley/R/packages/tests-clang/divvy.Rcheck/vign_test/divvy/vignettes/subsampling-vignette_files/figure-html/map data-1.png 576x288 pixels, 8 bits/pixel, 168 colors in palette Input IDAT size = 24231 bytes Input file size = 24849 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 22782 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 = 22782 Output IDAT size = 22782 bytes (1449 bytes decrease) Output file size = 23376 bytes (1473 bytes = 5.93% decrease) ** Processing: /data/gannet/ripley/R/packages/tests-clang/divvy.Rcheck/vign_test/divvy/vignettes/subsampling-vignette_files/figure-html/map subsample-1.png 576x288 pixels, 8 bits/pixel, 169 colors in palette Input IDAT size = 24253 bytes Input file size = 24874 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 22810 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 = 22810 Output IDAT size = 22810 bytes (1443 bytes decrease) Output file size = 23407 bytes (1467 bytes = 5.90% decrease) ** Processing: /data/gannet/ripley/R/packages/tests-clang/divvy.Rcheck/vign_test/divvy/vignettes/subsampling-vignette_files/figure-html/count pool size-1.png 576x288 pixels, 3x8 bits/pixel, RGB Input IDAT size = 63158 bytes Input file size = 63320 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 37982 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 = 37982 Output IDAT size = 37982 bytes (25176 bytes decrease) Output file size = 38060 bytes (25260 bytes = 39.89% decrease) Quitting from lines 254-271 [meta data] (subsampling-vignette.Rmd) Error: processing vignette 'subsampling-vignette.Rmd' failed with diagnostics: no applicable method for 'units' applied to an object of class "c('integer', 'numeric')" --- failed re-building ‘subsampling-vignette.Rmd’ SUMMARY: processing the following file failed: ‘subsampling-vignette.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang