Last updated on 2025-12-26 17:49:22 CET.
| Package | ERROR | OK |
|---|---|---|
| didec | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in 'didec-Ex.R' failed
The error most likely occurred in:
> ### Name: VarClustPartition
> ### Title: Hierarchical variable clustering.
> ### Aliases: VarClustPartition
>
> ### ** Examples
>
> library(didec)
> n <- 50
> X1 <- rnorm(n,0,1)
> X2 <- X1
> X3 <- rnorm(n,0,1)
> X4 <- X3 + X2
> X <- data.frame(X1=X1,X2=X2,X3=X3,X4=X4)
> vcp <- VarClustPartition(X,
+ dist.method = c("PD"),
+ part.method = c("optimal"),
+ criterion = c("Silhouette"),
+ plot = TRUE)
Error in `[.data.table`(df_X, , `:=`(rnn, .randomNN(id)), by = "group") :
attempt access index 2/2 in VECTOR_ELT
Calls: VarClustPartition ... codec -> .estimateT -> .estimateQ -> [ -> [.data.table
Execution halted
Flavor: r-devel-windows-x86_64