CRAN Package Check Results for Package rdss

Last updated on 2024-04-30 09:54:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.10 9.68 137.70 147.38 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.10 7.70 102.94 110.64 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.10 186.76 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.10 187.60 NOTE
r-devel-windows-x86_64 1.0.10 12.00 116.00 128.00 ERROR
r-patched-linux-x86_64 1.0.10 6.07 134.11 140.18 ERROR
r-release-linux-x86_64 1.0.10 6.00 130.58 136.58 ERROR
r-release-macos-arm64 1.0.10 56.00 OK
r-release-macos-x86_64 1.0.10 176.00 OK
r-release-windows-x86_64 1.0.10 12.00 114.00 126.00 ERROR
r-oldrel-macos-arm64 1.0.10 64.00 OK
r-oldrel-macos-x86_64 1.0.10 156.00 OK
r-oldrel-windows-x86_64 1.0.10 16.00 139.00 155.00 ERROR

Check Details

Version: 1.0.10
Check: examples
Result: ERROR Running examples in ‘rdss-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64

Version: 1.0.10
Check: tests
Result: ERROR Running ‘testthat.R’ [17s/20s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rdss) > > test_check("rdss") Loading required package: Rcpp This is rstanarm version 2.32.1 - See https://mc-stan.org/rstanarm/articles/priors for changes to default priors! - Default priors may change, so it's safest to specify priors, even if equivalent to the defaults. - For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()) Loading required package: randomizr Loading required package: fabricatr Loading required package: estimatr Attaching package: 'dplyr' The following object is masked from 'package:DeclareDesign': vars The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Loading required package: sandwich Loading required package: lmtest Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric Loading required package: ggplot2 Attaching package: 'ggplot2' The following object is masked from 'package:DeclareDesign': vars Loading required package: survey Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart cjoint: AMCE Estimator for Conjoint Experiments Version: 2.1.1 Authors: Soubhik Barari, Elissa Berwick, Jens Hainmueller, Daniel Hopkins, Sean Liu, Anton Strezhnev, Teppei Yamamoto Loading required package: metadat Loading required package: numDeriv Loading the 'metafor' package (version 4.6-0). For an introduction to the package please type: help(metafor) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • interference cannot be loaded (1): 'test-experiments-over-networks.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-bayesian-regression.R:22:3'): tidy_stan works ──────────────── `simulate_design(declaration_9.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-bayesian-regression.R:22:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_9.3, sims = 1) ── Failure ('test-causal-forests.R:59:3'): causal forest helpers work ────────── `simulate_design(declaration_19.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-causal-forests.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.1, sims = 1) ── Failure ('test-conjoint-experiments.R:51:3'): conjoint helpers work ───────── `simulate_design(declaration_17.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-conjoint-experiments.R:51:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_17.5, sims = 1) ── Failure ('test-difference-in-differences.R:59:3'): lag_by_group and did_multiplegt_tidy work ── `suppressWarnings(simulate_design(declaration_16.3, sims = 1))` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-difference-in-differences.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─base::suppressWarnings(simulate_design(declaration_16.3, sims = 1)) 8. │ └─base::withCallingHandlers(...) 9. └─DeclareDesign::simulate_design(declaration_16.3, sims = 1) ── Failure ('test-meta-analysis.R:37:3'): rma helpers work ───────────────────── `simulate_design(declaration_19.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-meta-analysis.R:37:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.3, sims = 1) ── Failure ('test-multilevel-regression-poststratification.R:52:3'): post_stratification_helper works ── `simulate_design(declaration_15.4, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-multilevel-regression-poststratification.R:52:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_15.4, sims = 1) ── Failure ('test-process-tracing.R:32:3'): process_tracing_estimator works ──── `simulate_design(declaration_16.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-process-tracing.R:32:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.1, sims = 1) ── Failure ('test-regression-discontinuity.R:36:3'): tidy.rdrobust and rdrobust_helper work ── `simulate_design(declaration_16.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-regression-discontinuity.R:36:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.5, sims = 1) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.10
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/17s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rdss) > > test_check("rdss") Loading required package: Rcpp This is rstanarm version 2.32.1 - See https://mc-stan.org/rstanarm/articles/priors for changes to default priors! - Default priors may change, so it's safest to specify priors, even if equivalent to the defaults. - For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()) Loading required package: randomizr Loading required package: fabricatr Loading required package: estimatr Attaching package: 'dplyr' The following object is masked from 'package:DeclareDesign': vars The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Loading required package: sandwich Loading required package: lmtest Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric Loading required package: ggplot2 Attaching package: 'ggplot2' The following object is masked from 'package:DeclareDesign': vars Loading required package: survey Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart cjoint: AMCE Estimator for Conjoint Experiments Version: 2.1.1 Authors: Soubhik Barari, Elissa Berwick, Jens Hainmueller, Daniel Hopkins, Sean Liu, Anton Strezhnev, Teppei Yamamoto Loading required package: metadat Loading required package: numDeriv Loading the 'metafor' package (version 4.6-0). For an introduction to the package please type: help(metafor) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • interference cannot be loaded (1): 'test-experiments-over-networks.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-bayesian-regression.R:22:3'): tidy_stan works ──────────────── `simulate_design(declaration_9.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-bayesian-regression.R:22:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_9.3, sims = 1) ── Failure ('test-causal-forests.R:59:3'): causal forest helpers work ────────── `simulate_design(declaration_19.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-causal-forests.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.1, sims = 1) ── Failure ('test-conjoint-experiments.R:51:3'): conjoint helpers work ───────── `simulate_design(declaration_17.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-conjoint-experiments.R:51:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_17.5, sims = 1) ── Failure ('test-difference-in-differences.R:59:3'): lag_by_group and did_multiplegt_tidy work ── `suppressWarnings(simulate_design(declaration_16.3, sims = 1))` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-difference-in-differences.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─base::suppressWarnings(simulate_design(declaration_16.3, sims = 1)) 8. │ └─base::withCallingHandlers(...) 9. └─DeclareDesign::simulate_design(declaration_16.3, sims = 1) ── Failure ('test-meta-analysis.R:37:3'): rma helpers work ───────────────────── `simulate_design(declaration_19.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-meta-analysis.R:37:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.3, sims = 1) ── Failure ('test-multilevel-regression-poststratification.R:52:3'): post_stratification_helper works ── `simulate_design(declaration_15.4, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-multilevel-regression-poststratification.R:52:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_15.4, sims = 1) ── Failure ('test-process-tracing.R:32:3'): process_tracing_estimator works ──── `simulate_design(declaration_16.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-process-tracing.R:32:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.1, sims = 1) ── Failure ('test-regression-discontinuity.R:36:3'): tidy.rdrobust and rdrobust_helper work ── `simulate_design(declaration_16.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-regression-discontinuity.R:36:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.5, sims = 1) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.10
Check: data for non-ASCII characters
Result: NOTE Note: found 5 marked UTF-8 strings Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.10
Check: tests
Result: ERROR Running ‘testthat.R’ [21s/25s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rdss) > > test_check("rdss") Loading required package: Rcpp This is rstanarm version 2.32.1 - See https://mc-stan.org/rstanarm/articles/priors for changes to default priors! - Default priors may change, so it's safest to specify priors, even if equivalent to the defaults. - For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()) Loading required package: randomizr Loading required package: fabricatr Loading required package: estimatr Attaching package: 'dplyr' The following object is masked from 'package:DeclareDesign': vars The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Loading required package: sandwich Loading required package: lmtest Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric Loading required package: ggplot2 Attaching package: 'ggplot2' The following object is masked from 'package:DeclareDesign': vars Loading required package: survey Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart cjoint: AMCE Estimator for Conjoint Experiments Version: 2.1.1 Authors: Soubhik Barari, Elissa Berwick, Jens Hainmueller, Daniel Hopkins, Sean Liu, Anton Strezhnev, Teppei Yamamoto Loading required package: metadat Loading required package: numDeriv Loading the 'metafor' package (version 4.6-0). For an introduction to the package please type: help(metafor) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • interference cannot be loaded (1): 'test-experiments-over-networks.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-bayesian-regression.R:22:3'): tidy_stan works ──────────────── `simulate_design(declaration_9.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-bayesian-regression.R:22:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_9.3, sims = 1) ── Failure ('test-causal-forests.R:59:3'): causal forest helpers work ────────── `simulate_design(declaration_19.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-causal-forests.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.1, sims = 1) ── Failure ('test-conjoint-experiments.R:51:3'): conjoint helpers work ───────── `simulate_design(declaration_17.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-conjoint-experiments.R:51:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_17.5, sims = 1) ── Failure ('test-difference-in-differences.R:59:3'): lag_by_group and did_multiplegt_tidy work ── `suppressWarnings(simulate_design(declaration_16.3, sims = 1))` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-difference-in-differences.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─base::suppressWarnings(simulate_design(declaration_16.3, sims = 1)) 8. │ └─base::withCallingHandlers(...) 9. └─DeclareDesign::simulate_design(declaration_16.3, sims = 1) ── Failure ('test-meta-analysis.R:37:3'): rma helpers work ───────────────────── `simulate_design(declaration_19.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-meta-analysis.R:37:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.3, sims = 1) ── Failure ('test-multilevel-regression-poststratification.R:52:3'): post_stratification_helper works ── `simulate_design(declaration_15.4, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-multilevel-regression-poststratification.R:52:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_15.4, sims = 1) ── Failure ('test-process-tracing.R:32:3'): process_tracing_estimator works ──── `simulate_design(declaration_16.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-process-tracing.R:32:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.1, sims = 1) ── Failure ('test-regression-discontinuity.R:36:3'): tidy.rdrobust and rdrobust_helper work ── `simulate_design(declaration_16.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-regression-discontinuity.R:36:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.5, sims = 1) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.10
Check: examples
Result: 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 Flavor: r-devel-windows-x86_64

Version: 1.0.10
Check: tests
Result: ERROR Running 'testthat.R' [11s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rdss) > > test_check("rdss") Loading required package: Rcpp This is rstanarm version 2.32.1 - See https://mc-stan.org/rstanarm/articles/priors for changes to default priors! - Default priors may change, so it's safest to specify priors, even if equivalent to the defaults. - For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()) Loading required package: randomizr Loading required package: fabricatr Loading required package: estimatr Attaching package: 'dplyr' The following object is masked from 'package:DeclareDesign': vars The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Loading required package: sandwich Loading required package: lmtest Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric Loading required package: ggplot2 Attaching package: 'ggplot2' The following object is masked from 'package:DeclareDesign': vars Loading required package: survey Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart cjoint: AMCE Estimator for Conjoint Experiments Version: 2.1.1 Authors: Soubhik Barari, Elissa Berwick, Jens Hainmueller, Daniel Hopkins, Sean Liu, Anton Strezhnev, Teppei Yamamoto Loading required package: metadat Loading required package: numDeriv Loading the 'metafor' package (version 4.6-0). For an introduction to the package please type: help(metafor) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • interference cannot be loaded (1): 'test-experiments-over-networks.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-bayesian-regression.R:22:3'): tidy_stan works ──────────────── `simulate_design(declaration_9.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-bayesian-regression.R:22:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_9.3, sims = 1) ── Failure ('test-causal-forests.R:59:3'): causal forest helpers work ────────── `simulate_design(declaration_19.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-causal-forests.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.1, sims = 1) ── Failure ('test-conjoint-experiments.R:51:3'): conjoint helpers work ───────── `simulate_design(declaration_17.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-conjoint-experiments.R:51:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_17.5, sims = 1) ── Failure ('test-difference-in-differences.R:59:3'): lag_by_group and did_multiplegt_tidy work ── `suppressWarnings(simulate_design(declaration_16.3, sims = 1))` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-difference-in-differences.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─base::suppressWarnings(simulate_design(declaration_16.3, sims = 1)) 8. │ └─base::withCallingHandlers(...) 9. └─DeclareDesign::simulate_design(declaration_16.3, sims = 1) ── Failure ('test-meta-analysis.R:37:3'): rma helpers work ───────────────────── `simulate_design(declaration_19.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-meta-analysis.R:37:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.3, sims = 1) ── Failure ('test-multilevel-regression-poststratification.R:52:3'): post_stratification_helper works ── `simulate_design(declaration_15.4, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-multilevel-regression-poststratification.R:52:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_15.4, sims = 1) ── Failure ('test-process-tracing.R:32:3'): process_tracing_estimator works ──── `simulate_design(declaration_16.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-process-tracing.R:32:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.1, sims = 1) ── Failure ('test-regression-discontinuity.R:36:3'): tidy.rdrobust and rdrobust_helper work ── `simulate_design(declaration_16.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-regression-discontinuity.R:36:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.5, sims = 1) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] Error: Test failures Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 1.0.10
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/18s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rdss) > > test_check("rdss") Loading required package: Rcpp This is rstanarm version 2.32.1 - See https://mc-stan.org/rstanarm/articles/priors for changes to default priors! - Default priors may change, so it's safest to specify priors, even if equivalent to the defaults. - For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()) Loading required package: randomizr Loading required package: fabricatr Loading required package: estimatr Attaching package: 'dplyr' The following object is masked from 'package:DeclareDesign': vars The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Loading required package: sandwich Loading required package: lmtest Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric Loading required package: ggplot2 Attaching package: 'ggplot2' The following object is masked from 'package:DeclareDesign': vars Loading required package: survey Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart cjoint: AMCE Estimator for Conjoint Experiments Version: 2.1.1 Authors: Soubhik Barari, Elissa Berwick, Jens Hainmueller, Daniel Hopkins, Sean Liu, Anton Strezhnev, Teppei Yamamoto Loading required package: metadat Loading required package: numDeriv Loading the 'metafor' package (version 4.6-0). For an introduction to the package please type: help(metafor) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • interference cannot be loaded (1): 'test-experiments-over-networks.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-bayesian-regression.R:22:3'): tidy_stan works ──────────────── `simulate_design(declaration_9.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-bayesian-regression.R:22:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_9.3, sims = 1) ── Failure ('test-causal-forests.R:59:3'): causal forest helpers work ────────── `simulate_design(declaration_19.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-causal-forests.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.1, sims = 1) ── Failure ('test-conjoint-experiments.R:51:3'): conjoint helpers work ───────── `simulate_design(declaration_17.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-conjoint-experiments.R:51:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_17.5, sims = 1) ── Failure ('test-difference-in-differences.R:59:3'): lag_by_group and did_multiplegt_tidy work ── `suppressWarnings(simulate_design(declaration_16.3, sims = 1))` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-difference-in-differences.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─base::suppressWarnings(simulate_design(declaration_16.3, sims = 1)) 8. │ └─base::withCallingHandlers(...) 9. └─DeclareDesign::simulate_design(declaration_16.3, sims = 1) ── Failure ('test-meta-analysis.R:37:3'): rma helpers work ───────────────────── `simulate_design(declaration_19.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-meta-analysis.R:37:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.3, sims = 1) ── Failure ('test-multilevel-regression-poststratification.R:52:3'): post_stratification_helper works ── `simulate_design(declaration_15.4, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-multilevel-regression-poststratification.R:52:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_15.4, sims = 1) ── Failure ('test-process-tracing.R:32:3'): process_tracing_estimator works ──── `simulate_design(declaration_16.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-process-tracing.R:32:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.1, sims = 1) ── Failure ('test-regression-discontinuity.R:36:3'): tidy.rdrobust and rdrobust_helper work ── `simulate_design(declaration_16.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-regression-discontinuity.R:36:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.5, sims = 1) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 1.0.10
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘rstanarm’ Flavor: r-release-linux-x86_64

Version: 1.0.10
Check: tests
Result: ERROR Running ‘testthat.R’ [14s/16s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rdss) > > test_check("rdss") Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Loading required package: randomizr Loading required package: fabricatr Loading required package: estimatr Attaching package: 'DeclareDesign' The following object is masked from 'package:dplyr': vars Loading required package: sandwich Loading required package: lmtest Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric Loading required package: ggplot2 Attaching package: 'ggplot2' The following object is masked from 'package:DeclareDesign': vars Loading required package: survey Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart cjoint: AMCE Estimator for Conjoint Experiments Version: 2.1.1 Authors: Soubhik Barari, Elissa Berwick, Jens Hainmueller, Daniel Hopkins, Sean Liu, Anton Strezhnev, Teppei Yamamoto Loading required package: metadat Loading required package: numDeriv Loading the 'metafor' package (version 4.6-0). For an introduction to the package please type: help(metafor) Loading required package: Rcpp [ FAIL 7 | WARN 0 | SKIP 2 | PASS 0 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • interference cannot be loaded (1): 'test-experiments-over-networks.R:5:3' • rstanarm cannot be loaded (1): 'test-bayesian-regression.R:4:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-causal-forests.R:59:3'): causal forest helpers work ────────── `simulate_design(declaration_19.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-causal-forests.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.1, sims = 1) ── Failure ('test-conjoint-experiments.R:51:3'): conjoint helpers work ───────── `simulate_design(declaration_17.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-conjoint-experiments.R:51:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_17.5, sims = 1) ── Failure ('test-difference-in-differences.R:59:3'): lag_by_group and did_multiplegt_tidy work ── `suppressWarnings(simulate_design(declaration_16.3, sims = 1))` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-difference-in-differences.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─base::suppressWarnings(simulate_design(declaration_16.3, sims = 1)) 8. │ └─base::withCallingHandlers(...) 9. └─DeclareDesign::simulate_design(declaration_16.3, sims = 1) ── Failure ('test-meta-analysis.R:37:3'): rma helpers work ───────────────────── `simulate_design(declaration_19.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-meta-analysis.R:37:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.3, sims = 1) ── Failure ('test-multilevel-regression-poststratification.R:52:3'): post_stratification_helper works ── `simulate_design(declaration_15.4, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-multilevel-regression-poststratification.R:52:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_15.4, sims = 1) ── Failure ('test-process-tracing.R:32:3'): process_tracing_estimator works ──── `simulate_design(declaration_16.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-process-tracing.R:32:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.1, sims = 1) ── Failure ('test-regression-discontinuity.R:36:3'): tidy.rdrobust and rdrobust_helper work ── `simulate_design(declaration_16.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-regression-discontinuity.R:36:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.5, sims = 1) [ FAIL 7 | WARN 0 | SKIP 2 | PASS 0 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 1.0.10
Check: tests
Result: ERROR Running 'testthat.R' [15s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rdss) > > test_check("rdss") Loading required package: Rcpp This is rstanarm version 2.32.1 - See https://mc-stan.org/rstanarm/articles/priors for changes to default priors! - Default priors may change, so it's safest to specify priors, even if equivalent to the defaults. - For execution on a local, multicore CPU with excess RAM we recommend calling options(mc.cores = parallel::detectCores()) Loading required package: randomizr Loading required package: fabricatr Loading required package: estimatr Attaching package: 'dplyr' The following object is masked from 'package:DeclareDesign': vars The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Loading required package: sandwich Loading required package: lmtest Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric Loading required package: ggplot2 Attaching package: 'ggplot2' The following object is masked from 'package:DeclareDesign': vars Loading required package: survey Loading required package: grid Loading required package: Matrix Loading required package: survival Attaching package: 'survey' The following object is masked from 'package:graphics': dotchart cjoint: AMCE Estimator for Conjoint Experiments Version: 2.1.1 Authors: Soubhik Barari, Elissa Berwick, Jens Hainmueller, Daniel Hopkins, Sean Liu, Anton Strezhnev, Teppei Yamamoto Loading required package: metadat Loading required package: numDeriv Loading the 'metafor' package (version 4.6-0). For an introduction to the package please type: help(metafor) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • interference cannot be loaded (1): 'test-experiments-over-networks.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-bayesian-regression.R:22:3'): tidy_stan works ──────────────── `simulate_design(declaration_9.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-bayesian-regression.R:22:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_9.3, sims = 1) ── Failure ('test-causal-forests.R:59:3'): causal forest helpers work ────────── `simulate_design(declaration_19.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-causal-forests.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.1, sims = 1) ── Failure ('test-conjoint-experiments.R:51:3'): conjoint helpers work ───────── `simulate_design(declaration_17.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-conjoint-experiments.R:51:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_17.5, sims = 1) ── Failure ('test-difference-in-differences.R:59:3'): lag_by_group and did_multiplegt_tidy work ── `suppressWarnings(simulate_design(declaration_16.3, sims = 1))` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-difference-in-differences.R:59:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─base::suppressWarnings(simulate_design(declaration_16.3, sims = 1)) 8. │ └─base::withCallingHandlers(...) 9. └─DeclareDesign::simulate_design(declaration_16.3, sims = 1) ── Failure ('test-meta-analysis.R:37:3'): rma helpers work ───────────────────── `simulate_design(declaration_19.3, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-meta-analysis.R:37:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_19.3, sims = 1) ── Failure ('test-multilevel-regression-poststratification.R:52:3'): post_stratification_helper works ── `simulate_design(declaration_15.4, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-multilevel-regression-poststratification.R:52:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_15.4, sims = 1) ── Failure ('test-process-tracing.R:32:3'): process_tracing_estimator works ──── `simulate_design(declaration_16.1, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-process-tracing.R:32:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.1, sims = 1) ── Failure ('test-regression-discontinuity.R:36:3'): tidy.rdrobust and rdrobust_helper work ── `simulate_design(declaration_16.5, sims = 1)` threw an unexpected error. Message: The future or future.apply packages are not installed. The future.seed argument must be set to FALSE. Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-regression-discontinuity.R:36:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─DeclareDesign::simulate_design(declaration_16.5, sims = 1) [ FAIL 8 | WARN 0 | SKIP 1 | PASS 0 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64