- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.8
flang version 21.1.8
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘R6causal/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘R6causal’ version ‘0.8.3’
- package encoding: UTF-8
- 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 ‘R6causal’ can be installed ... [23s/37s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [13s/19s] OK
- checking Rd files ... 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 ... ERROR
Running examples in ‘R6causal-Ex.R’ failed
The error most likely occurred in:
> ### 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 ... [12s/15s] 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 ... [8s/12s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs