CRAN Package Check Results for Maintainer ‘Benjamin Elbers <be2239 at columbia.edu>’

Last updated on 2025-12-22 11:51:04 CET.

Package ERROR OK
segregation 4 9

Package segregation

Current CRAN status: ERROR: 4, OK: 9

Version: 1.1.0
Check: examples
Result: ERROR Running examples in ‘segregation-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mutual_local > ### Title: Calculates local segregation scores based on M > ### Aliases: mutual_local > > ### ** Examples > > # which schools are most segregated? > (localseg <- mutual_local(schools00, "race", "school", + weight = "n", wide = TRUE + )) Error in `[.data.table`(data, , `:=`(n_unit, sum(get(weight))), by = unit_var) : attempt access index 3/3 in VECTOR_ELT Calls: mutual_local ... mutual_local_compute -> add_local -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.1.0
Check: examples
Result: ERROR Running examples in ‘segregation-Ex.R’ failed The error most likely occurred in: > ### Name: mutual_local > ### Title: Calculates local segregation scores based on M > ### Aliases: mutual_local > > ### ** Examples > > # which schools are most segregated? > (localseg <- mutual_local(schools00, "race", "school", + weight = "n", wide = TRUE + )) Error in `[.data.table`(data, , `:=`(n_unit, sum(get(weight))), by = unit_var) : attempt access index 3/3 in VECTOR_ELT Calls: mutual_local ... mutual_local_compute -> add_local -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc