CRAN Package Check Results for Package rangeMapper

Last updated on 2025-12-20 01:50:04 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.3 33.77 363.63 397.40 NOTE
r-devel-linux-x86_64-debian-gcc 2.0.3 22.92 215.85 238.77 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.3 62.00 552.84 614.84 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0.3 57.00 524.75 581.75 ERROR
r-devel-windows-x86_64 2.0.3 32.00 277.00 309.00 OK
r-patched-linux-x86_64 2.0.3 34.78 339.10 373.88 OK
r-release-linux-x86_64 2.0.3 34.29 340.02 374.31 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 275.00 307.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 42.00 384.00 426.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: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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.172s elapsed (0.175s 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-linux-x86_64-debian-gcc

Version: 2.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/12s] 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-linux-x86_64-debian-gcc

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-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.896s elapsed (0.513s 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-linux-x86_64-fedora-clang

Version: 2.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [32s/62s] 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-linux-x86_64-fedora-clang

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 Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-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.450s elapsed (0.442s 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-linux-x86_64-fedora-gcc

Version: 2.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [29s/33s] 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-linux-x86_64-fedora-gcc