Last updated on 2025-12-21 11:50:48 CET.
| Package | ERROR | OK |
|---|---|---|
| didec | 3 | 10 |
Current CRAN status: ERROR: 3, OK: 10
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in ‘didec-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
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-linux-x86_64-fedora-clang