- using R version 4.4.0 RC (2024-04-16 r86435 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.2.0
GNU Fortran (GCC) 13.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'rdss/DESCRIPTION' ... OK
- this is package 'rdss' version '1.0.10'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'rdss' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [3s] OK
- checking whether the package can be unloaded cleanly ... [3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] OK
- checking loading without being on the library search path ... [2s] 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 ... [7s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [8s] ERROR
Running examples in 'rdss-Ex.R' failed
The error most likely occurred in:
> ### Name: process_tracing_estimator
> ### Title: Process tracing estimator
> ### Aliases: process_tracing_estimator
>
> ### ** Examples
>
> # Simple example showing ambiguity in attribution
> process_tracing_estimator(
+ causal_model = CausalQueries::make_model("X -> Y"),
+ query = "Y[X=1] > Y[X=0]",
+ data = data.frame(X=1, Y = 1),
+ strategies = "X-Y")
Loading required namespace: CausalQueries
Error in `dplyr::select()`:
! Can't select columns that don't exist.
✖ Column `sd` doesn't exist.
Backtrace:
▆
1. ├─base (local) `<fn>`(x)
2. ├─CausalQueries:::print.model_query(x)
3. │ ├─dplyr::select(x, -sd, -cred.low, -cred.high)
4. │ └─dplyr:::select.data.frame(x, -sd, -cred.low, -cred.high)
5. │ └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
6. │ └─tidyselect:::eval_select_impl(...)
7. │ ├─tidyselect:::with_subscript_errors(...)
8. │ │ └─base::withCallingHandlers(...)
9. │ └─tidyselect:::vars_select_eval(...)
10. │ └─tidyselect:::walk_data_tree(expr, data_mask, context_mask)
11. │ └─tidyselect:::eval_c(expr, data_mask, context_mask)
12. │ └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
13. │ └─tidyselect:::walk_data_tree(new, data_mask, context_mask)
14. │ └─tidyselect:::as_indices_sel_impl(...)
15. │ └─tidyselect:::as_indices_impl(...)
16. │ └─tidyselect:::chr_as_locations(x, vars, call = call, arg = arg)
17. │ └─vctrs::vec_as_location(...)
18. └─vctrs (local) `<fn>`()
19. └─vctrs:::stop_subscript_oob(...)
20. └─vctrs:::stop_subscript(...)
21. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [17s] OK
Running 'testthat.R' [17s]
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [5s] OK
- DONE
Status: 1 ERROR