* using log directory ‘/srv/hornik/tmp/CRAN/rdss.Rcheck’ * using R Under development (unstable) (2024-07-15 r86902) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (1+b1) Debian flang-new version 18.1.8 (1+b1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘rdss/DESCRIPTION’ ... OK * this is package ‘rdss’ version ‘1.0.12’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/5s] NOTE Maintainer: ‘Graeme Blair ’ New submission Package was archived on CRAN Possibly misspelled words in DESCRIPTION: Coppock (9:55) CRAN repository db overrides: X-CRAN-Comment: Archived on 2024-04-30 as issues were not corrected in time. * 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 ‘rdss’ can be installed ... [3s/3s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/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 ... [7s/7s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [5s/4s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [11s/9s] ERROR Running ‘testthat.R’ [11s/9s] 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 SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 7.2e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.72 seconds. Chain 1: Adjust your expectations accordingly! Chain 1: Chain 1: Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 1: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 1: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 1: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 1: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 1: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 1: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 1: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 1: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 1: Iteration: 2000 / 2000 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.018 seconds (Warm-up) Chain 1: 0.021 seconds (Sampling) Chain 1: 0.039 seconds (Total) Chain 1: SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2). Chain 2: Chain 2: Gradient evaluation took 1e-05 seconds Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.1 seconds. Chain 2: Adjust your expectations accordingly! Chain 2: Chain 2: Chain 2: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 2: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 2: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 2: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 2: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 2: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 2: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 2: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 2: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 2: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 2: Iteration: 2000 / 2000 [100%] (Sampling) Chain 2: Chain 2: Elapsed Time: 0.019 seconds (Warm-up) Chain 2: 0.017 seconds (Sampling) Chain 2: 0.036 seconds (Total) Chain 2: SAMPLING FOR MODEL 'continuous' NOW (CHAIN 3). Chain 3: Chain 3: Gradient evaluation took 8e-06 seconds Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 0.08 seconds. Chain 3: Adjust your expectations accordingly! Chain 3: Chain 3: Chain 3: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 3: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 3: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 3: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 3: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 3: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 3: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 3: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 3: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 3: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 3: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 3: Iteration: 2000 / 2000 [100%] (Sampling) Chain 3: Chain 3: Elapsed Time: 0.019 seconds (Warm-up) Chain 3: 0.017 seconds (Sampling) Chain 3: 0.036 seconds (Total) Chain 3: SAMPLING FOR MODEL 'continuous' NOW (CHAIN 4). Chain 4: Chain 4: Gradient evaluation took 8e-06 seconds Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 0.08 seconds. Chain 4: Adjust your expectations accordingly! Chain 4: Chain 4: Chain 4: Iteration: 1 / 2000 [ 0%] (Warmup) Chain 4: Iteration: 200 / 2000 [ 10%] (Warmup) Chain 4: Iteration: 400 / 2000 [ 20%] (Warmup) Chain 4: Iteration: 600 / 2000 [ 30%] (Warmup) Chain 4: Iteration: 800 / 2000 [ 40%] (Warmup) Chain 4: Iteration: 1000 / 2000 [ 50%] (Warmup) Chain 4: Iteration: 1001 / 2000 [ 50%] (Sampling) Chain 4: Iteration: 1200 / 2000 [ 60%] (Sampling) Chain 4: Iteration: 1400 / 2000 [ 70%] (Sampling) Chain 4: Iteration: 1600 / 2000 [ 80%] (Sampling) Chain 4: Iteration: 1800 / 2000 [ 90%] (Sampling) Chain 4: Iteration: 2000 / 2000 [100%] (Sampling) Chain 4: Chain 4: Elapsed Time: 0.02 seconds (Warm-up) Chain 4: 0.027 seconds (Sampling) Chain 4: 0.047 seconds (Total) Chain 4: Loading required namespace: broom.mixed 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 1 | WARN 0 | SKIP 1 | PASS 7 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • interference cannot be loaded (1): 'test-experiments-over-networks.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-difference-in-differences.R:59:3'): lag_by_group and did_multiplegt_tidy work ── `suppressWarnings(...)` threw an unexpected error. Message: Error in step 6 (chaisemartin): Error in DIDmultiplegt::did_multiplegt(df = data, ...): argument "mode" is missing, with no default 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(...) 8. │ └─base::withCallingHandlers(...) 9. └─DeclareDesign::simulate_design(declaration_16.3, sims = 1, future.seed = FALSE) 10. └─base::mapply(...) 11. └─DeclareDesign (local) ``(design = dots[[1L]][[1L]], sims = dots[[2L]][[1L]], future.seed = dots[[3L]][[1L]]) 12. └─DeclareDesign:::future_lapply(...) 13. └─base::lapply(...) 14. └─DeclareDesign (local) FUN(X[[i]], ...) 15. ├─DeclareDesign:::run_design_internal(design) 16. └─DeclareDesign:::run_design_internal.design(design) 17. └─DeclareDesign:::next_step(step, current_df, i) 18. └─base::tryCatch(...) 19. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 20. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 21. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 7 ] Error: Test failures Execution halted * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE