Last updated on 2024-06-13 05:59:23 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.7.2 | 5.35 | 95.56 | 100.91 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.7.2 | 3.59 | 33.65 | 37.24 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.7.2 | 129.43 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.7.2 | 148.22 | OK | |||
r-devel-windows-x86_64 | 0.7.2 | 4.00 | 107.00 | 111.00 | OK | |
r-patched-linux-x86_64 | 0.7.2 | 5.31 | 93.88 | 99.19 | OK | |
r-release-linux-x86_64 | 0.7.2 | 4.00 | 94.40 | 98.40 | OK | |
r-release-macos-arm64 | 0.7.2 | 58.00 | OK | |||
r-release-macos-x86_64 | 0.7.2 | 84.00 | OK | |||
r-release-windows-x86_64 | 0.7.2 | 5.00 | 109.00 | 114.00 | OK | |
r-oldrel-macos-arm64 | 0.7.2 | 53.00 | OK | |||
r-oldrel-macos-x86_64 | 0.7.2 | 121.00 | OK | |||
r-oldrel-windows-x86_64 | 0.7.2 | 6.00 | 117.00 | 123.00 | OK |
Version: 0.7.2
Check: package dependencies
Result: NOTE
Packages suggested but not available for checking:
'ggplot2', 'latex2exp', 'haven', 'testthat'
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.7.2
Check: examples
Result: ERROR
Running examples in ‘summclust-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plot.summclust
> ### Title: Plotting method for objects of type 'summclust'
> ### Aliases: plot.summclust
>
> ### ** Examples
>
>
> library(summclust)
> data(mtcars)
> mtcars
mpg cyl disp hp drat wt qsec vs am gear carb
Mazda RX4 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4
Mazda RX4 Wag 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4
Datsun 710 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1
Hornet 4 Drive 21.4 6 258.0 110 3.08 3.215 19.44 1 0 3 1
Hornet Sportabout 18.7 8 360.0 175 3.15 3.440 17.02 0 0 3 2
Valiant 18.1 6 225.0 105 2.76 3.460 20.22 1 0 3 1
Duster 360 14.3 8 360.0 245 3.21 3.570 15.84 0 0 3 4
Merc 240D 24.4 4 146.7 62 3.69 3.190 20.00 1 0 4 2
Merc 230 22.8 4 140.8 95 3.92 3.150 22.90 1 0 4 2
Merc 280 19.2 6 167.6 123 3.92 3.440 18.30 1 0 4 4
Merc 280C 17.8 6 167.6 123 3.92 3.440 18.90 1 0 4 4
Merc 450SE 16.4 8 275.8 180 3.07 4.070 17.40 0 0 3 3
Merc 450SL 17.3 8 275.8 180 3.07 3.730 17.60 0 0 3 3
Merc 450SLC 15.2 8 275.8 180 3.07 3.780 18.00 0 0 3 3
Cadillac Fleetwood 10.4 8 472.0 205 2.93 5.250 17.98 0 0 3 4
Lincoln Continental 10.4 8 460.0 215 3.00 5.424 17.82 0 0 3 4
Chrysler Imperial 14.7 8 440.0 230 3.23 5.345 17.42 0 0 3 4
Fiat 128 32.4 4 78.7 66 4.08 2.200 19.47 1 1 4 1
Honda Civic 30.4 4 75.7 52 4.93 1.615 18.52 1 1 4 2
Toyota Corolla 33.9 4 71.1 65 4.22 1.835 19.90 1 1 4 1
Toyota Corona 21.5 4 120.1 97 3.70 2.465 20.01 1 0 3 1
Dodge Challenger 15.5 8 318.0 150 2.76 3.520 16.87 0 0 3 2
AMC Javelin 15.2 8 304.0 150 3.15 3.435 17.30 0 0 3 2
Camaro Z28 13.3 8 350.0 245 3.73 3.840 15.41 0 0 3 4
Pontiac Firebird 19.2 8 400.0 175 3.08 3.845 17.05 0 0 3 2
Fiat X1-9 27.3 4 79.0 66 4.08 1.935 18.90 1 1 4 1
Porsche 914-2 26.0 4 120.3 91 4.43 2.140 16.70 0 1 5 2
Lotus Europa 30.4 4 95.1 113 3.77 1.513 16.90 1 1 5 2
Ford Pantera L 15.8 8 351.0 264 4.22 3.170 14.50 0 1 5 4
Ferrari Dino 19.7 6 145.0 175 3.62 2.770 15.50 0 1 5 6
Maserati Bora 15.0 8 301.0 335 3.54 3.570 14.60 0 1 5 8
Volvo 142E 21.4 4 121.0 109 4.11 2.780 18.60 1 1 4 2
>
> fit <- lm(mpg ~ cyl + disp + hp, data = mtcars)
> summ <- summclust(fit, params = ~cyl + disp, cluster = ~carb)
> summary(summ)
summclust.lm(obj = fit, cluster = ~carb, params = ~cyl + disp)
Number of observations: 32
Number of clusters: 7
coef tstat se p_val conf_int_l conf_int_u
cyl -1.22741994 -1.911739 0.642043717 0.11413142 -2.87784586 0.423006
disp -0.01883809 -3.291724 0.005722862 0.02167226 -0.03354917 -0.004127
N_G leverage partial-leverage-cyl partial-leverage-disp
Min. 1.0000000 0.1360147 0.00992886 0.04201533
1st Qu. 1.5000000 0.4046543 0.02506788 0.06705869
Median 5.0000000 0.5420656 0.16013661 0.10581316
Mean 5.3333333 0.6666667 0.16666667 0.16666667
3rd Qu. 9.2500000 0.9877363 0.29148830 0.13554687
Max. 10.0000000 1.2847103 0.35448075 0.54675971
coefvar 0.7925434 0.6690668 0.93126711 1.14014534
beta-cyl beta-disp
Min. -1.7076426 -0.02241634
1st Qu. -1.3446228 -0.02076603
Median -1.1657627 -0.02008054
Mean -1.2242583 -0.01919448
3rd Qu. -1.1485551 -0.01743823
Max. -0.7593197 -0.01503747
coefvar 0.2569040 0.14464072
> tidy(summ)
coef tstat se p_val conf_int_l conf_int_u
cyl -1.22741994 -1.911739 0.642043717 0.11413142 -2.87784586 0.423006
disp -0.01883809 -3.291724 0.005722862 0.02167226 -0.03354917 -0.004127
> plot(summ)
Loading required namespace: ggplot2
Failed with error: ‘there is no package called ‘ggplot2’’
Error in `plot()`:
! Please install the 'ggplot2' package to use this function
Backtrace:
▆
1. ├─base::plot(summ)
2. └─summclust:::plot.summclust(summ)
3. └─cli::cli_abort("Please install the 'ggplot2' package to use this function")
4. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.7.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [0s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
Error in library(testthat) : there is no package called 'testthat'
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.7.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘summclust.Rmd’ using rmarkdown
Quitting from lines 30-63 [example] (summclust.Rmd)
Error: processing vignette 'summclust.Rmd' failed with diagnostics:
there is no package called 'haven'
--- failed re-building ‘summclust.Rmd’
SUMMARY: processing the following file failed:
‘summclust.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc