Last updated on 2024-05-04 09:50:23 CEST.
Package | ERROR | OK |
---|---|---|
cregg | 12 | |
csvy | 12 | |
federalregister | 12 | |
GK2011 | 12 | |
imguR | 12 | |
prediction | 5 | 8 |
RPublica | 12 | |
sparktex | 12 |
Current CRAN status: OK: 12
Current CRAN status: OK: 12
Current CRAN status: OK: 12
Current CRAN status: OK: 12
Current CRAN status: OK: 12
Current CRAN status: ERROR: 5, OK: 8
Version: 0.3.17
Check: tests
Result: ERROR
Running ‘testthat-prediction.R’ [33s/64s]
Running the tests in ‘tests/testthat-prediction.R’ failed.
Complete output:
> library("testthat")
> library("prediction")
> test_check("prediction")
cyl x
4 26.38
6 20.63
8 14.88
(Intercept) tensionM tensionH
36.38889 -10.00000 -14.72222
[ FAIL 4 | WARN 2 | SKIP 0 | PASS 190 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('tests-methods.R:40:9'): Test prediction() for 'glimQL' ──────────────
Error in `model[["call"]]`: this S4 class is not subsettable
Backtrace:
▆
1. ├─prediction::prediction(m) at tests-methods.R:40:9
2. └─prediction:::prediction.glimQL(m)
3. ├─prediction::find_data(model, parent.frame())
4. └─prediction:::find_data.default(model, parent.frame())
── Error ('tests-methods.R:130:9'): Test prediction() for 'naiveBayes' ─────────
Error in `match.arg(type)`: 'arg' should be one of "class", "raw"
Backtrace:
▆
1. ├─prediction::prediction(m) at tests-methods.R:130:9
2. └─prediction:::prediction.default(m)
3. ├─stats::predict(...)
4. └─e1071:::predict.naiveBayes(...)
5. └─base::match.arg(type)
── Error ('tests-methods.R:275:9'): Test prediction() for 'lda' ────────────────
Error in `data.frame(..., check.rows = FALSE, check.names = FALSE, fix.empty.names = FALSE,
stringsAsFactors = FALSE)`: arguments imply differing number of rows: 75, 0
Backtrace:
▆
1. ├─prediction::prediction(m, data = train) at tests-methods.R:275:9
2. └─prediction:::prediction.default(m, data = train)
3. └─prediction:::make_data_frame(data, fitted = tmp[["fit"]], se.fitted = tmp[["se.fit"]])
4. └─base::data.frame(...)
── Error ('tests-methods.R:306:9'): Test prediction() for 'qda' ────────────────
Error in `data.frame(..., check.rows = FALSE, check.names = FALSE, fix.empty.names = FALSE,
stringsAsFactors = FALSE)`: arguments imply differing number of rows: 75, 0
Backtrace:
▆
1. ├─prediction::prediction(m, data = train) at tests-methods.R:306:9
2. └─prediction:::prediction.default(m, data = train)
3. └─prediction:::make_data_frame(data, fitted = tmp[["fit"]], se.fitted = tmp[["se.fit"]])
4. └─base::data.frame(...)
[ FAIL 4 | WARN 2 | SKIP 0 | PASS 190 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.3.17
Check: tests
Result: ERROR
Running ‘testthat-prediction.R’ [8s/10s]
Running the tests in ‘tests/testthat-prediction.R’ failed.
Last 13 lines of output:
3. └─prediction:::make_data_frame(data, fitted = tmp[["fit"]], se.fitted = tmp[["se.fit"]])
4. └─base::data.frame(...)
── Error ('tests-methods.R:306:9'): Test prediction() for 'qda' ────────────────
Error in `data.frame(..., check.rows = FALSE, check.names = FALSE, fix.empty.names = FALSE,
stringsAsFactors = FALSE)`: arguments imply differing number of rows: 75, 0
Backtrace:
▆
1. ├─prediction::prediction(m, data = train) at tests-methods.R:306:9
2. └─prediction:::prediction.default(m, data = train)
3. └─prediction:::make_data_frame(data, fitted = tmp[["fit"]], se.fitted = tmp[["se.fit"]])
4. └─base::data.frame(...)
[ FAIL 4 | WARN 2 | SKIP 0 | PASS 190 ]
Error: Test failures
Execution halted
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64
Version: 0.3.17
Check: tests
Result: ERROR
Running ‘testthat-prediction.R’ [14s/30s]
Running the tests in ‘tests/testthat-prediction.R’ failed.
Last 13 lines of output:
3. └─prediction:::make_data_frame(data, fitted = tmp[["fit"]], se.fitted = tmp[["se.fit"]])
4. └─base::data.frame(...)
── Error ('tests-methods.R:306:9'): Test prediction() for 'qda' ────────────────
Error in `data.frame(..., check.rows = FALSE, check.names = FALSE, fix.empty.names = FALSE,
stringsAsFactors = FALSE)`: arguments imply differing number of rows: 75, 0
Backtrace:
▆
1. ├─prediction::prediction(m, data = train) at tests-methods.R:306:9
2. └─prediction:::prediction.default(m, data = train)
3. └─prediction:::make_data_frame(data, fitted = tmp[["fit"]], se.fitted = tmp[["se.fit"]])
4. └─base::data.frame(...)
[ FAIL 4 | WARN 2 | SKIP 0 | PASS 190 ]
Error: Test failures
Execution halted
Flavor: r-release-macos-x86_64
Version: 0.3.17
Check: tests
Result: ERROR
Running ‘testthat-prediction.R’ [14s/27s]
Running the tests in ‘tests/testthat-prediction.R’ failed.
Last 13 lines of output:
3. └─prediction:::make_data_frame(data, fitted = tmp[["fit"]], se.fitted = tmp[["se.fit"]])
4. └─base::data.frame(...)
── Error ('tests-methods.R:306:9'): Test prediction() for 'qda' ────────────────
Error in `data.frame(..., check.rows = FALSE, check.names = FALSE, fix.empty.names = FALSE,
stringsAsFactors = FALSE)`: arguments imply differing number of rows: 75, 0
Backtrace:
▆
1. ├─prediction::prediction(m, data = train) at tests-methods.R:306:9
2. └─prediction:::prediction.default(m, data = train)
3. └─prediction:::make_data_frame(data, fitted = tmp[["fit"]], se.fitted = tmp[["se.fit"]])
4. └─base::data.frame(...)
[ FAIL 4 | WARN 2 | SKIP 0 | PASS 190 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-x86_64
Current CRAN status: OK: 12
Current CRAN status: OK: 12