Last updated on 2025-12-21 07:49:17 CET.
| Package | ERROR | OK |
|---|---|---|
| segregation | 4 | 9 |
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