- using R Under development (unstable) (2025-12-19 r89206)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘R6causal/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘R6causal’ version ‘0.8.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/2s] OK
- 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 serialization versions ... OK
- checking whether package ‘R6causal’ 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/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 ... [6s/9s] OK
- checking Rd files ... [0s/1s] 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 sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/3s] ERROR
Running examples in ‘R6causal-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: generate_condprob
> ### Title: Define structural function by a conditional probability table
> ### Aliases: generate_condprob
>
> ### ** Examples
>
> ycondx <- data.table::data.table(y =rep(c(0,1), each = 3), x=rep(1:3, 2),
+ prob = c(0.2,0.6,0.1,0.8,0.4,0.9))
> x <- data.table::data.table(x = sample(1:3, 20, replace = TRUE),
+ uy = stats::runif(20), uy2 = stats::runif(20))
> generate_condprob(ycondx, x, Umerge_expr = "(uy+uy2)/2")
Error in `[.data.table`(longdt, , `:=`(c("R6causal_temp_lower", "R6causal_temp_upper"), :
attempt access index 9/9 in VECTOR_ELT
Calls: generate_condprob -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [6s/9s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘using_R6causal.Rmd’ using rmarkdown
Quitting from using_R6causal.Rmd:188-195 [simulatebackdoor]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `backdoor_condprob$simulate()`:
! Method simulate() failed when processing variable z . The lower level error message was: Error in `[.data.table`(longdt, , `:=`(c("R6causal_temp_lower", "R6causal_temp_upper"), :
attempt access index 7/7 in VECTOR_ELT
---
Backtrace:
x
1. \-backdoor_condprob$simulate(30)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'using_R6causal.Rmd' failed with diagnostics:
Method simulate() failed when processing variable z . The lower level error message was: Error in `[.data.table`(longdt, , `:=`(c("R6causal_temp_lower", "R6causal_temp_upper"), :
attempt access index 7/7 in VECTOR_ELT
--- failed re-building ‘using_R6causal.Rmd’
SUMMARY: processing the following file failed:
‘using_R6causal.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs