Last updated on 2024-04-01 08:52:18 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.3 | 3.93 | 561.11 | 565.04 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.3 | 3.99 | 328.57 | 332.56 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.3 | 548.86 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.3 | 500.44 | OK | |||
r-devel-windows-x86_64 | 0.1.3 | 6.00 | 268.00 | 274.00 | OK | |
r-patched-linux-x86_64 | 0.1.3 | 5.67 | 461.42 | 467.09 | OK | |
r-release-linux-x86_64 | 0.1.3 | 5.43 | 407.73 | 413.16 | OK | |
r-release-macos-arm64 | 0.1.3 | 184.00 | OK | |||
r-release-macos-x86_64 | 0.1.3 | 500.00 | OK | |||
r-release-windows-x86_64 | 0.1.3 | 8.00 | 324.00 | 332.00 | OK | |
r-oldrel-macos-arm64 | 0.1.3 | 325.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.3 | 10.00 | 319.00 | 329.00 | OK |
Version: 0.1.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [400s/405s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(scoringTools)
>
> test_check("scoringTools")
Generalized Linear Model of class 'speedglm':
Call: speedglm::speedglm(formula = labels ~ ., data = df_augmente[, -which(names(df_augmente) %in% c("poidsfinal", "classe_SCORE"))][!df_augmente$poidsfinal == 0, ], family = stats::binomial(link = "logit"), weights = df_augmente$poidsfinal[!df_augmente$poidsfinal == 0])
Coefficients:
(Intercept) x.1 x.2
-0.0445 1.9519 -2.0353
Generalized Linear Model of class 'speedglm':
Call: speedglm::speedglm(formula = stats::formula("labels ~ ."), data = Filter(function(x) (length(unique(x)) > 1), cbind(data.frame(sapply(disc$Disc.data, as.factor), stringsAsFactors = TRUE), data_train[, sapply(data_train, is.factor), drop = FALSE])), family = stats::binomial(link = "logit"), weights = NULL, fitted = TRUE)
Coefficients:
(Intercept) X12 X32
1.32 -2.11 -2.29
Generalized Linear Model of class 'speedglm':
Call: speedglm::speedglm(formula = stats::formula("labels ~ ."), data = Filter(function(x) (length(unique(x)) > 1), cbind(data.frame(sapply(disc$Disc.data, as.factor), stringsAsFactors = TRUE), data_train[, sapply(data_train, is.factor), drop = FALSE])), family = stats::binomial(link = "logit"), weights = NULL, fitted = TRUE)
Coefficients:
(Intercept) X12 X32
1.32 -2.11 -2.29
[ FAIL 1 | WARN 25 | SKIP 0 | PASS 945 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-topdown.R:54:9'): topdown method works with speedglm and glm on dataframes with additional factors ──
Error in `solve.default(XTX, XTz, tol = tol.solve)`: system is computationally singular: reciprocal condition number = 1.92222e-17
Backtrace:
▆
1. └─scoringTools::topdown_iter(...) at test-topdown.R:54:9
2. └─scoringTools:::fit_disc(disc[[i]], data_train, type = "speedglm")
3. └─speedglm::speedglm(...)
4. └─speedglm::speedglm.wfit(...)
5. ├─base::solve(XTX, XTz, tol = tol.solve)
6. ├─base::solve(XTX, XTz, tol = tol.solve)
7. └─base::solve.default(XTX, XTz, tol = tol.solve)
[ FAIL 1 | WARN 25 | SKIP 0 | PASS 945 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang