Last updated on 2026-04-17 14:51:31 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-fedora-clang | 0.1.0 | 84.59 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 4.00 | 106.13 | 110.13 | OK | |
| r-devel-windows-x86_64 | 0.1.0 | 6.00 | 104.00 | 110.00 | OK | |
| r-release-macos-x86_64 | 0.1.0 | 2.00 | 114.00 | 116.00 | OK | |
| r-oldrel-macos-x86_64 | 0.1.0 | 2.00 | 126.00 | 128.00 | ERROR |
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in ‘glm4-Ex.R’ failed
The error most likely occurred in:
> ### Name: influence.glm4
> ### Title: Regression Diagnostics
> ### Aliases: influence.glm4
> ### Keywords: internal
>
> ### ** Examples
>
> ## Analysis of the life-cycle savings data
> ## given in Belsley, Kuh and Welsch.
> summary(lm.SR <- lm(sr ~ pop15 + pop75 + dpi + ddpi,
+ data = LifeCycleSavings),
+ correlation = TRUE)
Call:
lm(formula = sr ~ pop15 + pop75 + dpi + ddpi, data = LifeCycleSavings)
Residuals:
Min 1Q Median 3Q Max
-8.2422 -2.6857 -0.2488 2.4280 9.7509
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 28.5660865 7.3545161 3.884 0.000334 ***
pop15 -0.4611931 0.1446422 -3.189 0.002603 **
pop75 -1.6914977 1.0835989 -1.561 0.125530
dpi -0.0003369 0.0009311 -0.362 0.719173
ddpi 0.4096949 0.1961971 2.088 0.042471 *
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 3.803 on 45 degrees of freedom
Multiple R-squared: 0.3385, Adjusted R-squared: 0.2797
F-statistic: 5.756 on 4 and 45 DF, p-value: 0.0007904
Correlation of Coefficients:
(Intercept) pop15 pop75 dpi
pop15 -0.98
pop75 -0.81 0.77
dpi -0.17 0.18 -0.37
ddpi -0.19 0.10 -0.05 0.26
> utils::str(lmI <- lm.influence(lm.SR))
List of 4
$ hat : Named num [1:50] 0.0677 0.1204 0.0875 0.0895 0.0696 ...
..- attr(*, "names")= chr [1:50] "Australia" "Austria" "Belgium" "Bolivia" ...
$ coefficients: num [1:50, 1:5] 0.0916 -0.0747 -0.4752 0.0429 0.6604 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : chr [1:50] "Australia" "Austria" "Belgium" "Bolivia" ...
.. ..$ : chr [1:5] "(Intercept)" "pop15" "pop75" "dpi" ...
$ sigma : Named num [1:50] 3.84 3.84 3.83 3.84 3.81 ...
..- attr(*, "names")= chr [1:50] "Australia" "Austria" "Belgium" "Bolivia" ...
$ wt.res : Named num [1:50] 0.864 0.616 2.219 -0.698 3.553 ...
..- attr(*, "names")= chr [1:50] "Australia" "Austria" "Belgium" "Bolivia" ...
>
> qRes <- qr(lm.SR) # == lm.SR $ qr
> qrI <- qr.influence(qRes, residuals(lm.SR))
Error in qr.influence(qRes, residuals(lm.SR)) :
could not find function "qr.influence"
Execution halted
Flavor: r-oldrel-macos-x86_64