CRAN Package Check Results for Package estimatr

Last updated on 2022-01-25 05:54:41 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.30.4 92.82 140.43 233.25 OK
r-devel-linux-x86_64-debian-gcc 0.30.4 74.51 113.13 187.64 ERROR
r-devel-linux-x86_64-fedora-clang 0.30.4 332.91 ERROR
r-devel-linux-x86_64-fedora-gcc 0.30.4 324.66 ERROR
r-devel-windows-x86_64-new-UL 0.30.4 171.00 196.00 367.00 ERROR
r-devel-windows-x86_64-new-TK 0.30.4 ERROR
r-patched-linux-x86_64 0.30.4 78.15 137.89 216.04 OK
r-release-linux-x86_64 0.30.4 87.23 136.68 223.91 OK
r-release-macos-arm64 0.30.4 NOTE
r-release-macos-x86_64 0.30.4 NOTE
r-release-windows-ix86+x86_64 0.30.4 203.00 242.00 445.00 OK
r-oldrel-macos-x86_64 0.30.4 NOTE
r-oldrel-windows-ix86+x86_64 0.30.4 204.00 252.00 456.00 OK

Check Details

Version: 0.30.4
Check: tests
Result: ERROR
     Running ‘sleep.R’ [1s/1s]
     Comparing ‘sleep.Rout’ to ‘sleep.Rout.save’ ... OK
     Running ‘testthat.R’ [31s/48s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(estimatr)
     >
     > test_check("estimatr")
     [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1271 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
     • modelsummary non reproducible errors (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-lm-robust.R:75:3): lm robust se ─────────────────────────────────
     Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes,
     ...)`: length(tolerance) == 1L is not TRUE
     Backtrace:
     █
     1. └─estimatr:::test_lm_robust_variance(NULL) test-lm-robust.R:75:2
     2. └─testthat::expect_equivalent(...) test-lm-robust.R:60:4
     3. ├─testthat::compare(act$val, exp$val, ..., check.attributes = FALSE)
     4. └─testthat:::compare.numeric(act$val, exp$val, ..., check.attributes = FALSE)
     5. ├─base::all.equal(...)
     6. └─base::all.equal.numeric(...)
     7. └─base::stopifnot(length(tolerance) == 1L)
    
     [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1271 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.30.4
Check: installed package size
Result: NOTE
     installed size is 24.0Mb
     sub-directories of 1Mb or more:
     libs 23.7Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.30.4
Check: tests
Result: ERROR
     Running ‘sleep.R’
     Comparing ‘sleep.Rout’ to ‘sleep.Rout.save’ ... OK
     Running ‘testthat.R’ [52s/141s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(estimatr)
     >
     > test_check("estimatr")
     [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1271 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
     • modelsummary non reproducible errors (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-lm-robust.R:75:3): lm robust se ─────────────────────────────────
     Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes,
     ...)`: length(tolerance) == 1L is not TRUE
     Backtrace:
     █
     1. └─estimatr:::test_lm_robust_variance(NULL) test-lm-robust.R:75:2
     2. └─testthat::expect_equivalent(...) test-lm-robust.R:60:4
     3. ├─testthat::compare(act$val, exp$val, ..., check.attributes = FALSE)
     4. └─testthat:::compare.numeric(act$val, exp$val, ..., check.attributes = FALSE)
     5. ├─base::all.equal(...)
     6. └─base::all.equal.numeric(...)
     7. └─base::stopifnot(length(tolerance) == 1L)
    
     [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1271 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.30.4
Check: tests
Result: ERROR
     Running ‘sleep.R’ [3s/16s]
     Comparing ‘sleep.Rout’ to ‘sleep.Rout.save’ ... OK
     Running ‘testthat.R’ [54s/169s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(estimatr)
     >
     > test_check("estimatr")
     [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1271 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
     • modelsummary non reproducible errors (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-lm-robust.R:75:3): lm robust se ─────────────────────────────────
     Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes,
     ...)`: length(tolerance) == 1L is not TRUE
     Backtrace:
     █
     1. └─estimatr:::test_lm_robust_variance(NULL) test-lm-robust.R:75:2
     2. └─testthat::expect_equivalent(...) test-lm-robust.R:60:4
     3. ├─testthat::compare(act$val, exp$val, ..., check.attributes = FALSE)
     4. └─testthat:::compare.numeric(act$val, exp$val, ..., check.attributes = FALSE)
     5. ├─base::all.equal(...)
     6. └─base::all.equal.numeric(...)
     7. └─base::stopifnot(length(tolerance) == 1L)
    
     [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1271 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.30.4
Check: tests
Result: ERROR
     Running 'sleep.R' [1s]
     Comparing 'sleep.Rout' to 'sleep.Rout.save' ... OK
     Running 'testthat.R' [41s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(estimatr)
     >
     > test_check("estimatr")
     [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1271 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
     • modelsummary non reproducible errors (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-lm-robust.R:75:3): lm robust se ─────────────────────────────────
     Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes,
     ...)`: length(tolerance) == 1L is not TRUE
     Backtrace:
     █
     1. └─estimatr:::test_lm_robust_variance(NULL) test-lm-robust.R:75:2
     2. └─testthat::expect_equivalent(...) test-lm-robust.R:60:4
     3. ├─testthat::compare(act$val, exp$val, ..., check.attributes = FALSE)
     4. └─testthat:::compare.numeric(act$val, exp$val, ..., check.attributes = FALSE)
     5. ├─base::all.equal(...)
     6. └─base::all.equal.numeric(...)
     7. └─base::stopifnot(length(tolerance) == 1L)
    
     [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1271 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-UL

Version: 0.30.4
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking: 'AER', 'ivpack', 'car'
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.30.4
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: 'car'
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.30.4
Check: examples
Result: ERROR
    Running examples in 'estimatr-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: lh_robust
    > ### Title: Linear Hypothesis for Ordinary Least Squares with Robust
    > ### Standard Errors
    > ### Aliases: lh_robust
    >
    > ### ** Examples
    >
    >
    > library(fabricatr)
    > dat <- fabricate(
    + N = 40,
    + y = rpois(N, lambda = 4),
    + x = rnorm(N),
    + z = rbinom(N, 1, prob = 0.4),
    + clusterID = sample(1:4, 40, replace = TRUE)
    + )
    >
    > # Default variance estimator is HC2 robust standard errors
    > lhro <- lh_robust(y ~ x + z, data = dat, linear_hypothesis = "z + 2x = 0")
    Loading required namespace: car
    Failed with error: 'there is no package called 'car''
    Error in loadNamespace(x) : there is no package called 'car'
    Calls: lh_robust ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
    Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.30.4
Check: tests
Result: ERROR
     Running 'sleep.R'
     Comparing 'sleep.Rout' to 'sleep.Rout.save' ... OK
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(estimatr)
     >
     > test_check("estimatr")
     Failed with error: 'there is no package called 'car''
     Failed with error: 'there is no package called 'car''
     Failed with error: 'there is no package called 'car''
     Failed with error: 'there is no package called 'car''
     Failed with error: 'there is no package called 'car''
     Failed with error: 'there is no package called 'car''
     Failed with error: 'there is no package called 'car''
     Failed with error: 'there is no package called 'car''
     Failed with error: 'there is no package called 'car''
     [ FAIL 13 | WARN 0 | SKIP 8 | PASS 991 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • AER cannot be loaded (4)
     • On CRAN (2)
     • car cannot be loaded (1)
     • modelsummary non reproducible errors (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-iv-robust.R:462:5): IV diagnostics ──────────────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'AER'
     Backtrace:
     █
     1. ├─base::summary(AER::ivreg(f, data = mtcars), diagnostics = TRUE) test-iv-robust.R:462:4
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-lh-robust.R:17:5): lh_robust works with all se types ────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'car'
     Backtrace:
     █
     1. ├─generics::tidy(...) test-lh-robust.R:17:4
     2. ├─estimatr::lh_robust(...)
     3. └─base::loadNamespace(x)
     4. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     5. └─base:::withOneRestart(expr, restarts[[1L]])
     6. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-lh-robust.R:38:5): lh_robust with clusters works for all se_types ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'car'
     Backtrace:
     █
     1. ├─generics::tidy(...) test-lh-robust.R:38:4
     2. ├─estimatr::lh_robust(...)
     3. └─base::loadNamespace(x)
     4. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     5. └─base:::withOneRestart(expr, restarts[[1L]])
     6. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-lh-robust.R:61:3): lh_robust matches lm_robust with fixed effects ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'car'
     Backtrace:
     █
     1. ├─estimatr::lh_robust(...) test-lh-robust.R:61:2
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-lh-robust.R:79:3): lh_robust matches lm_robust with weights ─────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'car'
     Backtrace:
     █
     1. ├─estimatr::lh_robust(Y ~ Z * X, data = dat, weights = w, linear_hypothesis = c("Z + Z:X = 0")) test-lh-robust.R:79:2
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-lh-robust.R:98:3): lh_robust matches lm_robust with subsetted data.frame ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'car'
     Backtrace:
     █
     1. ├─estimatr::lh_robust(Y ~ Z * X, data = dat, subset = B == 1, linear_hypothesis = c("Z + Z:X = 0")) test-lh-robust.R:98:2
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-lh-robust.R:115:3): lh_robust matches lm_robust with subsetted data.frame ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'car'
     Backtrace:
     █
     1. ├─estimatr::lh_robust(Y ~ Z * X, data = dat, subset = B == 1, linear_hypothesis = c("Z + Z:X = 0")) test-lh-robust.R:115:2
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-lm-robust.R:75:3): lm robust se ─────────────────────────────────
     Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes,
     ...)`: length(tolerance) == 1L is not TRUE
     Backtrace:
     █
     1. └─estimatr:::test_lm_robust_variance(NULL) test-lm-robust.R:75:2
     2. └─testthat::expect_equivalent(...) test-lm-robust.R:60:4
     3. ├─testthat::compare(act$val, exp$val, ..., check.attributes = FALSE)
     4. └─testthat:::compare.numeric(act$val, exp$val, ..., check.attributes = FALSE)
     5. ├─base::all.equal(...)
     6. └─base::all.equal.numeric(...)
     7. └─base::stopifnot(length(tolerance) == 1L)
     ── Error (test-s3-methods.R:186:3): tidy, glance, summary, and print work ──────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'car'
     Backtrace:
     █
     1. ├─estimatr::lh_robust(...) test-s3-methods.R:186:2
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-s3-methods.R:391:3): vcov works ─────────────────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'AER'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-s3-methods.R:391:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-s3-methods.R:846:3): predict.iv_robust works with fixed effects ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'AER'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-s3-methods.R:846:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-s3-methods.R:1113:3): conf int for lh_robust works ──────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'car'
     Backtrace:
     █
     1. ├─estimatr::lh_robust(...) test-s3-methods.R:1113:2
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-stata-output.R:97:3): iv_robust matches stata ───────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'AER'
     Backtrace:
     █
     1. └─base::loadNamespace(x) test-stata-output.R:97:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base:::withOneRestart(expr, restarts[[1L]])
     4. └─base:::doWithOneRestart(return(expr), restart)
    
     [ FAIL 13 | WARN 0 | SKIP 8 | PASS 991 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK