CRAN Package Check Results for Package rangeMapper

Last updated on 2025-12-28 01:48:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.3 32.38 367.21 399.59 NOTE
r-devel-linux-x86_64-debian-gcc 2.0.3 21.44 234.14 255.58 NOTE
r-devel-linux-x86_64-fedora-clang 2.0.3 57.00 591.87 648.87 OK
r-devel-linux-x86_64-fedora-gcc 2.0.3 67.00 675.42 742.42 OK
r-devel-windows-x86_64 2.0.3 31.00 261.00 292.00 ERROR
r-patched-linux-x86_64 2.0.3 31.70 338.51 370.21 OK
r-release-linux-x86_64 2.0.3 31.46 341.08 372.54 OK
r-release-macos-arm64 2.0.3 OK
r-release-macos-x86_64 2.0.3 20.00 254.00 274.00 OK
r-release-windows-x86_64 2.0.3 32.00 274.00 306.00 OK
r-oldrel-macos-arm64 2.0.3 OK
r-oldrel-macos-x86_64 2.0.3 18.00 200.00 218.00 OK
r-oldrel-windows-x86_64 2.0.3 44.00 393.00 437.00 OK

Check Details

Version: 2.0.3
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Mihai Valcu <valcu@orn.mpg.de>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0.3
Check: examples
Result: ERROR Running examples in 'rangeMapper-Ex.R' failed The error most likely occurred in: > ### Name: rmap_save_map > ### Title: Save maps > ### Aliases: rmap_save_map > ### rmap_save_map,rmapConnection,missing,missing,missing,missing,missing-method > ### rmap_save_map,rmapConnection,missing,missing,missing,character,character-method > ### rmap_save_map,rmapConnection,character,character,character,missing,character-method > ### rmap_save_map,rmapConnection,character,character,character,character,character-method > ### rmap_save_map,rmapConnection,function,character,character,missing,character-method > ### rmap_save_map,rmapConnection,function,character,character,character,character-method > ### rmap_save_map,rmapConnection,function,character,ANY,missing,character-method > ### rmap_save_map,rmapConnection,function,character,ANY,character,character-method > ### rmap_save_map,rmapConnection,character,Raster,missing,missing,character-method > > ### ** Examples > > require(rangeMapper) > require(data.table) Loading required package: data.table Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > con = rmap_connect() > wrens = read_wrens() > rmap_add_ranges(con, x = wrens, ID = 'sci_name') > rmap_prepare(con, 'hex', cellsize=500) --> Making hex canvas ...done. (i) The canvas has 576 cells. --> Processing 84 ranges ... --> Updating rmap_nfo & rmap_master tables ...done. (i) Finished in 0.240s elapsed (0.220s cpu) > rmap_save_map(con) # default is a species_richness map. > > rmap_add_bio(con, wrens, 'sci_name') > rmap_save_map(con, fun='avg', src='wrens',v='body_mass', dst='avg_bodymass') > > rmap_save_subset(con,dst ='ss1', species_richness = 'species_richness > 10') Error in `[.data.table`(W, type == "map", `:=`(joinCall, paste("JOIN", : attempt access index 5/5 in VECTOR_ELT Calls: rmap_save_subset -> rmap_save_subset -> [ -> [.data.table Execution halted Flavor: r-devel-windows-x86_64

Version: 2.0.3
Check: tests
Result: ERROR Running 'testthat.R' [15s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(rangeMapper) rangeMapper 2.0.3 > > test_check("rangeMapper") Saving _problems/test-3_subsets-28.R Saving _problems/test-3_subsets-65.R Saving _problems/test-3_subsets-75.R Saving _problems/test-4_maps-7.R Saving _problems/test-5_get-6.R [ FAIL 5 | WARN 0 | SKIP 0 | PASS 35 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-3_subsets.R:26:5'): rmap_save_subset returns TRUE ────────────── Error in ``[.data.table`(W, type == "map", `:=`(joinCall, paste("JOIN", name, "ON", "c.cell_id = ", name, ".cell_id", collapse = "")), by = pk)`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_true(rmap_save_subset(con, "s1", species_richness = "species_richness > 10")) at test-3_subsets.R:26:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rangeMapper::rmap_save_subset(con, "s1", species_richness = "species_richness > 10") 5. └─rangeMapper::rmap_save_subset(con, "s1", species_richness = "species_richness > 10") 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test-3_subsets.R:61:5'): rmap_save_subset works with LIKE ─────────── Error in ``[.data.table`(W, type == "map", `:=`(joinCall, paste("JOIN", name, "ON", "c.cell_id = ", name, ".cell_id", collapse = "")), by = pk)`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_true(rmap_save_subset(con, "s1", wrens = "female_tarsus BETWEEN 20 and 30 AND subspecies > 1 AND com_name LIKE \"%-wren%\" ")) at test-3_subsets.R:61:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rangeMapper::rmap_save_subset(con, "s1", wrens = "female_tarsus BETWEEN 20 and 30 AND subspecies > 1 AND com_name LIKE \"%-wren%\" ") 5. └─rangeMapper::rmap_save_subset(con, "s1", wrens = "female_tarsus BETWEEN 20 and 30 AND subspecies > 1 AND com_name LIKE \"%-wren%\" ") 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test-3_subsets.R:71:5'): rmap_save_subset works with where > (select .... ) ── Error in ``[.data.table`(W, type == "map", `:=`(joinCall, paste("JOIN", name, "ON", "c.cell_id = ", name, ".cell_id", collapse = "")), by = pk)`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_true(rmap_save_subset(con, "s1", wrens = "clutch_size > (SELECT avg(clutch_size) from wrens)")) at test-3_subsets.R:71:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rangeMapper::rmap_save_subset(con, "s1", wrens = "clutch_size > (SELECT avg(clutch_size) from wrens)") 5. └─rangeMapper::rmap_save_subset(con, "s1", wrens = "clutch_size > (SELECT avg(clutch_size) from wrens)") 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test-4_maps.R:7:1'): (code run outside of `test_that()`) ──────────── Error in ``[.data.table`(W, type == "map", `:=`(joinCall, paste("JOIN", name, "ON", "c.cell_id = ", name, ".cell_id", collapse = "")), by = pk)`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─rangeMapper::rmap_save_subset(con, "s1", wrens = "clutch_size > 2") at test-4_maps.R:7:1 2. └─rangeMapper::rmap_save_subset(con, "s1", wrens = "clutch_size > 2") 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-5_get.R:6:1'): (code run outside of `test_that()`) ───────────── Error in ``[.data.table`(W, type == "map", `:=`(joinCall, paste("JOIN", name, "ON", "c.cell_id = ", name, ".cell_id", collapse = "")), by = pk)`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─rangeMapper::rmap_save_subset(con, dst = "ss1", species_richness = "species_richness > 10") at test-5_get.R:6:1 2. └─rangeMapper::rmap_save_subset(con, dst = "ss1", species_richness = "species_richness > 10") 3. ├─...[] 4. └─data.table:::`[.data.table`(...) [ FAIL 5 | WARN 0 | SKIP 0 | PASS 35 ] Error: ! Test failures. Warning message: call dbDisconnect() when finished working with a connection Execution halted Flavor: r-devel-windows-x86_64

Version: 2.0.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'Case_studies_Valcu_et_al_2012.Rmd' using rmarkdown Quitting from Case_studies_Valcu_et_al_2012.Rmd:115-125 [unnamed-chunk-6] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 5/5 in VECTOR_ELT --- Backtrace: ▆ 1. ├─rangeMapper::rmap_save_subset(...) 2. └─rangeMapper::rmap_save_subset(...) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Case_studies_Valcu_et_al_2012.Rmd' failed with diagnostics: attempt access index 5/5 in VECTOR_ELT --- failed re-building 'Case_studies_Valcu_et_al_2012.Rmd' --- re-building 'rangeMapper.Rmd' using rmarkdown Quitting from rangeMapper.Rmd:71-73 [unnamed-chunk-6] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 5/5 in VECTOR_ELT --- Backtrace: ▆ 1. ├─rangeMapper::rmap_save_subset(con, "sset1", species_richness = "species_richness > 10") 2. └─rangeMapper::rmap_save_subset(con, "sset1", species_richness = "species_richness > 10") 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'rangeMapper.Rmd' failed with diagnostics: attempt access index 5/5 in VECTOR_ELT --- failed re-building 'rangeMapper.Rmd' SUMMARY: processing the following files failed: 'Case_studies_Valcu_et_al_2012.Rmd' 'rangeMapper.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.