CRAN Package Check Results for Package ivreg

Last updated on 2026-02-04 19:55:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6-5 3.99 68.00 71.99 NOTE
r-devel-linux-x86_64-debian-gcc 0.6-5 2.89 50.45 53.34 NOTE
r-devel-linux-x86_64-fedora-clang 0.6-5 7.00 115.04 122.04 ERROR
r-devel-linux-x86_64-fedora-gcc 0.6-5 6.00 125.46 131.46 ERROR
r-devel-windows-x86_64 0.6-5 8.00 85.00 93.00 OK
r-patched-linux-x86_64 0.6-5 4.34 64.11 68.45 OK
r-release-linux-x86_64 0.6-5 3.91 63.13 67.04 OK
r-release-macos-arm64 0.6-5 OK
r-release-macos-x86_64 0.6-5 3.00 69.00 72.00 OK
r-release-windows-x86_64 0.6-5 7.00 81.00 88.00 OK
r-oldrel-macos-arm64 0.6-5 OK
r-oldrel-macos-x86_64 0.6-5 3.00 75.00 78.00 OK
r-oldrel-windows-x86_64 0.6-5 8.00 103.00 111.00 OK

Check Details

Version: 0.6-5
Check: relative paths in package URLs
Result: NOTE Found the following (possibly) invalid URL: URL: ../doc/Diagnostics-for-2SLS-Regression.pdf From: man/ivregDiagnostics.Rd Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.6-5
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > library("ivreg") > > test_check("ivreg") Saving _problems/test-case-deletion-31.R Saving _problems/test-case-deletion-43.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-case-deletion.R:31:3'): deletion statistics computed correctly with na.exclude ── Error in `match.arg(type, c("variance", "robustness"))`: 'arg' should be one of "variance", "robustness" Backtrace: ▆ 1. ├─testthat::expect_true(all(is.na(dffits(m.miss)[c(1, 4, 10)]))) at test-case-deletion.R:31:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─stats::dffits(m.miss) 5. └─stats::weighted.residuals(model) 6. ├─stats::weights(obj, type = "working") 7. └─ivreg:::weights.ivreg(obj, type = "working") 8. └─base::match.arg(type, c("variance", "robustness")) ── Error ('test-case-deletion.R:43:3'): rownames of deletion statistics preserved with na.omit ── Error in `match.arg(type, c("variance", "robustness"))`: 'arg' should be one of "variance", "robustness" Backtrace: ▆ 1. ├─testthat::expect_equal(names(dffits(m.miss.2)), nms) at test-case-deletion.R:43:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─stats::dffits(m.miss.2) 5. └─stats::weighted.residuals(model) 6. ├─stats::weights(obj, type = "working") 7. └─ivreg:::weights.ivreg(obj, type = "working") 8. └─base::match.arg(type, c("variance", "robustness")) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 50 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.6-5
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/12s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > library("ivreg") > > test_check("ivreg") Saving _problems/test-case-deletion-31.R Saving _problems/test-case-deletion-43.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-case-deletion.R:31:3'): deletion statistics computed correctly with na.exclude ── Error in `match.arg(type, c("variance", "robustness"))`: 'arg' should be one of "variance", "robustness" Backtrace: ▆ 1. ├─testthat::expect_true(all(is.na(dffits(m.miss)[c(1, 4, 10)]))) at test-case-deletion.R:31:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─stats::dffits(m.miss) 5. └─stats::weighted.residuals(model) 6. ├─stats::weights(obj, type = "working") 7. └─ivreg:::weights.ivreg(obj, type = "working") 8. └─base::match.arg(type, c("variance", "robustness")) ── Error ('test-case-deletion.R:43:3'): rownames of deletion statistics preserved with na.omit ── Error in `match.arg(type, c("variance", "robustness"))`: 'arg' should be one of "variance", "robustness" Backtrace: ▆ 1. ├─testthat::expect_equal(names(dffits(m.miss.2)), nms) at test-case-deletion.R:43:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─stats::dffits(m.miss.2) 5. └─stats::weighted.residuals(model) 6. ├─stats::weights(obj, type = "working") 7. └─ivreg:::weights.ivreg(obj, type = "working") 8. └─base::match.arg(type, c("variance", "robustness")) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 50 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc