CRAN Package Check Results for Maintainer ‘Alexander Coppock <acoppock at gmail.com>’

Last updated on 2026-03-07 04:50:21 CET.

Package ERROR OK
DeclareDesign 1 13
randomizr 14
ri2 14
vayr 14

Package DeclareDesign

Current CRAN status: ERROR: 1, OK: 13

Version: 1.1.0
Check: tests
Result: ERROR Running 'testthat.R' [86s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(DeclareDesign) Loading required package: randomizr Loading required package: fabricatr Loading required package: estimatr > > library(AER) Loading required package: car Loading required package: carData 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: sandwich Loading required package: survival > library(betareg) > library(biglm) Loading required package: DBI > library(coin) Attaching package: 'coin' The following object is masked from 'package:testthat': expectation > library(future.apply) Loading required package: future Attaching package: 'future' The following object is masked from 'package:survival': cluster The following object is masked from 'package:lmtest': reset > library(gam) Loading required package: splines Loading required package: foreach Loaded gam 1.22-7 > library(Matching) Loading required package: MASS ## ## Matching (Version 4.10-15, Build Date: 2024-10-14) ## See https://www.jsekhon.com for additional documentation. ## Please cite software as: ## Jasjeet S. Sekhon. 2011. ``Multivariate and Propensity Score Matching ## Software with Automated Balance Optimization: The Matching package for R.'' ## Journal of Statistical Software, 42(7): 1-52. ## > library(reshape2) > library(sf) Linking to GEOS 3.13.1, GDAL 3.11.4, PROJ 9.7.0; sf_use_s2() is TRUE > > test_check("DeclareDesign") Saving _problems/test-bootstrap-diagnosands-50.R Error : No estimates or inquiries were declared, so design cannot be simulated. [ FAIL 1 | WARN 0 | SKIP 7 | PASS 646 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-reshape-diagnosis.R:123:3' • test requires updated DesignLbrary (6): 'test-design-library.R:7:3', 'test-design-library.R:37:3', 'test-design-library.R:46:3', 'test-design-library.R:136:3', 'test-simulate-design.R:121:3', 'test-simulate-design.R:137:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-bootstrap-diagnosands.R:50:3'): Bootstrap ses close ────────── Expected `d$diagnosands_df$`se(mean_estimand)`[1] < 0.4` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 0 | SKIP 7 | PASS 646 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

Package randomizr

Current CRAN status: OK: 14

Package ri2

Current CRAN status: OK: 14

Package vayr

Current CRAN status: OK: 14