CRAN Package Check Results for Package ivreg

Last updated on 2026-01-30 12:48:42 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6-5 3.14 55.54 58.68 ERROR
r-devel-linux-x86_64-debian-gcc 0.6-5 2.70 41.21 43.91 ERROR
r-devel-linux-x86_64-fedora-clang 0.6-5 7.00 92.00 99.00 ERROR
r-devel-linux-x86_64-fedora-gcc 0.6-5 6.00 104.56 110.56 ERROR
r-devel-windows-x86_64 0.6-5 6.00 83.00 89.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.25 63.48 66.73 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 7.00 103.00 110.00 OK

Additional issues

M1mac

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’ [3s/4s] 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 Saving _problems/test-predict-4.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 49 ] ══ 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, "working") 7. └─ivreg:::weights.ivreg(obj, "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, "working") 7. └─ivreg:::weights.ivreg(obj, "working") 8. └─base::match.arg(type, c("variance", "robustness")) ── Error ('test-predict.R:4:1'): (code run outside of `test_that()`) ─────────── Error in `match.arg(type, c("variance", "robustness"))`: 'arg' should be one of "variance", "robustness" Backtrace: ▆ 1. ├─stats::predict(deq, newdata = new, se.fit = TRUE, interval = "prediction") at test-predict.R:4:1 2. └─ivreg:::predict.ivreg(deq, newdata = new, se.fit = TRUE, interval = "prediction") 3. ├─stats::sigma(object) 4. └─stats:::sigma.default(object) 5. ├─stats::deviance(object, ...) 6. ├─ivreg:::deviance.ivreg(object, ...) 7. ├─base::NextMethod() 8. └─stats:::deviance.lm(object, ...) 9. └─stats::weighted.residuals(object) 10. ├─stats::weights(obj, "working") 11. └─ivreg:::weights.ivreg(obj, "working") 12. └─base::match.arg(type, c("variance", "robustness")) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 49 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.6-5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘Diagnostics-for-2SLS-Regression.Rmd’ using rmarkdown Quitting from Diagnostics-for-2SLS-Regression.Rmd:174-177 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `match.arg()`: ! 'arg' should be one of "variance", "robustness" --- Backtrace: ▆ 1. ├─base::plot(deq) 2. └─ivreg:::plot.ivreg(deq) 3. ├─base::plot(x, ...) 4. ├─ivreg:::plot.ivreg(x, ...) 5. ├─base::NextMethod() 6. └─stats:::plot.lm(x, ...) 7. ├─stats::deviance(x) 8. ├─ivreg:::deviance.ivreg(x) 9. ├─base::NextMethod() 10. └─stats:::deviance.lm(x) 11. └─stats::weighted.residuals(object) 12. ├─stats::weights(obj, "working") 13. └─ivreg:::weights.ivreg(obj, "working") 14. └─base::match.arg(type, c("variance", "robustness")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Diagnostics-for-2SLS-Regression.Rmd' failed with diagnostics: 'arg' should be one of "variance", "robustness" --- failed re-building ‘Diagnostics-for-2SLS-Regression.Rmd’ --- re-building ‘ivreg.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘ivreg.Rmd’ SUMMARY: processing the following file failed: ‘Diagnostics-for-2SLS-Regression.Rmd’ Error: Vignette re-building failed. Execution halted 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’ [2s/2s] 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 Saving _problems/test-predict-4.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 49 ] ══ 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, "working") 7. └─ivreg:::weights.ivreg(obj, "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, "working") 7. └─ivreg:::weights.ivreg(obj, "working") 8. └─base::match.arg(type, c("variance", "robustness")) ── Error ('test-predict.R:4:1'): (code run outside of `test_that()`) ─────────── Error in `match.arg(type, c("variance", "robustness"))`: 'arg' should be one of "variance", "robustness" Backtrace: ▆ 1. ├─stats::predict(deq, newdata = new, se.fit = TRUE, interval = "prediction") at test-predict.R:4:1 2. └─ivreg:::predict.ivreg(deq, newdata = new, se.fit = TRUE, interval = "prediction") 3. ├─stats::sigma(object) 4. └─stats:::sigma.default(object) 5. ├─stats::deviance(object, ...) 6. ├─ivreg:::deviance.ivreg(object, ...) 7. ├─base::NextMethod() 8. └─stats:::deviance.lm(object, ...) 9. └─stats::weighted.residuals(object) 10. ├─stats::weights(obj, "working") 11. └─ivreg:::weights.ivreg(obj, "working") 12. └─base::match.arg(type, c("variance", "robustness")) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 49 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6-5
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/14s] 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 Saving _problems/test-predict-4.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 49 ] ══ 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, "working") 7. └─ivreg:::weights.ivreg(obj, "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, "working") 7. └─ivreg:::weights.ivreg(obj, "working") 8. └─base::match.arg(type, c("variance", "robustness")) ── Error ('test-predict.R:4:1'): (code run outside of `test_that()`) ─────────── Error in `match.arg(type, c("variance", "robustness"))`: 'arg' should be one of "variance", "robustness" Backtrace: ▆ 1. ├─stats::predict(deq, newdata = new, se.fit = TRUE, interval = "prediction") at test-predict.R:4:1 2. └─ivreg:::predict.ivreg(deq, newdata = new, se.fit = TRUE, interval = "prediction") 3. ├─stats::sigma(object) 4. └─stats:::sigma.default(object) 5. ├─stats::deviance(object, ...) 6. ├─ivreg:::deviance.ivreg(object, ...) 7. ├─base::NextMethod() 8. └─stats:::deviance.lm(object, ...) 9. └─stats::weighted.residuals(object) 10. ├─stats::weights(obj, "working") 11. └─ivreg:::weights.ivreg(obj, "working") 12. └─base::match.arg(type, c("variance", "robustness")) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 49 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.6-5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘Diagnostics-for-2SLS-Regression.Rmd’ using rmarkdown Quitting from Diagnostics-for-2SLS-Regression.Rmd:174-177 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `match.arg()`: ! 'arg' should be one of "variance", "robustness" --- Backtrace: ▆ 1. ├─base::plot(deq) 2. └─ivreg:::plot.ivreg(deq) 3. ├─base::plot(x, ...) 4. ├─ivreg:::plot.ivreg(x, ...) 5. ├─base::NextMethod() 6. └─stats:::plot.lm(x, ...) 7. ├─stats::deviance(x) 8. ├─ivreg:::deviance.ivreg(x) 9. ├─base::NextMethod() 10. └─stats:::deviance.lm(x) 11. └─stats::weighted.residuals(object) 12. ├─stats::weights(obj, "working") 13. └─ivreg:::weights.ivreg(obj, "working") 14. └─base::match.arg(type, c("variance", "robustness")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Diagnostics-for-2SLS-Regression.Rmd' failed with diagnostics: 'arg' should be one of "variance", "robustness" --- failed re-building ‘Diagnostics-for-2SLS-Regression.Rmd’ --- re-building ‘ivreg.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘ivreg.Rmd’ SUMMARY: processing the following file failed: ‘Diagnostics-for-2SLS-Regression.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.6-5
Check: tests
Result: ERROR Running ‘testthat.R’ 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 Saving _problems/test-predict-4.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 49 ] ══ 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, "working") 7. └─ivreg:::weights.ivreg(obj, "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, "working") 7. └─ivreg:::weights.ivreg(obj, "working") 8. └─base::match.arg(type, c("variance", "robustness")) ── Error ('test-predict.R:4:1'): (code run outside of `test_that()`) ─────────── Error in `match.arg(type, c("variance", "robustness"))`: 'arg' should be one of "variance", "robustness" Backtrace: ▆ 1. ├─stats::predict(deq, newdata = new, se.fit = TRUE, interval = "prediction") at test-predict.R:4:1 2. └─ivreg:::predict.ivreg(deq, newdata = new, se.fit = TRUE, interval = "prediction") 3. ├─stats::sigma(object) 4. └─stats:::sigma.default(object) 5. ├─stats::deviance(object, ...) 6. ├─ivreg:::deviance.ivreg(object, ...) 7. ├─base::NextMethod() 8. └─stats:::deviance.lm(object, ...) 9. └─stats::weighted.residuals(object) 10. ├─stats::weights(obj, "working") 11. └─ivreg:::weights.ivreg(obj, "working") 12. └─base::match.arg(type, c("variance", "robustness")) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 49 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc