- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.7 (1)
Debian flang version 21.1.7 (1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘FOCI/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘FOCI’ version ‘0.1.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [0s/1s] NOTE
Maintainer: ‘Mona Azadkia <monaazadkia@gmail.com>’
The Description field contains
simple measure of conditional dependence" <arXiv:1910.12327>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘FOCI’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s/8s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [0s/1s] ERROR
Running examples in ‘FOCI-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: codec
> ### Title: Estimate the conditional dependence coefficient (CODEC)
> ### Aliases: codec
>
> ### ** Examples
>
> n = 1000
> x <- matrix(runif(n * 2), nrow = n)
> y <- (x[, 1] + x[, 2]) %% 1
> # given x[, 1], y is a function of x[, 2]
> codec(y, x[, 2], x[, 1])
Error in `[.data.table`(df_X, , `:=`(rnn, .randomNN(id)), by = "group") :
attempt access index 2/2 in VECTOR_ELT
Calls: codec ... .estimateConditionalT -> .estimateConditionalS -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [3s/5s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘codec.Rmd’ using rmarkdown
Quitting from codec.Rmd:30-51 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 2/2 in VECTOR_ELT
---
Backtrace:
▆
1. └─FOCI::codec(y, x[, 1])
2. └─FOCI:::.estimateT(Y, Z)
3. └─FOCI:::.estimateQ(Y, X)
4. ├─df_X[, `:=`(rnn, .randomNN(id)), by = "group"]
5. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'codec.Rmd' failed with diagnostics:
attempt access index 2/2 in VECTOR_ELT
--- failed re-building ‘codec.Rmd’
--- re-building ‘foci.Rmd’ using rmarkdown
Quitting from foci.Rmd:24-32 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 2/2 in VECTOR_ELT
---
Backtrace:
▆
1. └─FOCI::foci(Y, X, numCores = 1)
2. └─FOCI:::foci_main(...)
3. └─parallel::mclapply(seq(1, p), estimateQFixedY, mc.cores = numCores)
4. └─base::lapply(X = X, FUN = FUN, ...)
5. └─FOCI (local) FUN(X[[i]], ...)
6. └─FOCI:::.estimateQ(Y, X[, id])
7. ├─df_X[, `:=`(rnn, .randomNN(id)), by = "group"]
8. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'foci.Rmd' failed with diagnostics:
attempt access index 2/2 in VECTOR_ELT
--- failed re-building ‘foci.Rmd’
SUMMARY: processing the following files failed:
‘codec.Rmd’ ‘foci.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE