Last updated on 2024-12-22 10:50:31 CET.
Package | ERROR | OK |
---|---|---|
familial | 2 | 11 |
grpsel | 13 |
Current CRAN status: ERROR: 2, OK: 11
Version: 1.0.7
Check: examples
Result: ERROR
Running examples in ‘familial-Ex.R’ failed
The error most likely occurred in:
> ### Name: center.test
> ### Title: Center test
> ### Aliases: center.test
>
> ### ** Examples
>
> set.seed(123)
>
> test <- center.test(MASS::galaxies, mu = 21000, nboot = 100)
> print(test)
-----------------------------------------------
familial test of centers with huber family
-----------------------------------------------
mu = 21000
posterior probabilities:
H0 H1
0.59 0.41
optimal decision: indeterminate
> plot(test)
Error in validObject(.Object) :
invalid class “FncBand” object: superclass "mMatrix" not defined in the environment of the object's class
Calls: plot ... initialize -> initialize -> initMatrix -> validObject
Execution halted
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 1.0.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [39s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(familial)
>
> test_check("familial")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-center-test.R:27:3'): plot function returns a plot ─────────────
Error in `validObject(.Object)`: invalid class "FncBand" object: superclass "mMatrix" not defined in the environment of the object's class
Backtrace:
▆
1. ├─testthat::expect_s3_class(plot(test), "ggplot") at test-center-test.R:27:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::plot(test)
5. └─familial:::plot.center.test(test)
6. └─base::lapply(band, bands)
7. └─familial (local) FUN(X[[i]], ...)
8. ├─base::data.frame(...)
9. └─DepthProc::fncGetBand(DepthProc::fncDepth(boot.wide), level)
10. └─methods::new("FncBand", bands, index = obj@index, level = band)
11. ├─methods::initialize(value, ...)
12. └─methods::initialize(value, ...)
13. └─methods (local) initMatrix(.Object, ...)
14. └─methods::validObject(.Object)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 1.0.7
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘vignette.Rmd’ using rmarkdown
Quitting from lines 56-57 [unnamed-chunk-3] (vignette.Rmd)
Error: processing vignette 'vignette.Rmd' failed with diagnostics:
invalid class "FncBand" object: superclass "mMatrix" not defined in the environment of the object's class
--- failed re-building ‘vignette.Rmd’
SUMMARY: processing the following file failed:
‘vignette.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 1.0.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [76s/119s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(familial)
>
> test_check("familial")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-center-test.R:27:3'): plot function returns a plot ─────────────
Error in `validObject(.Object)`: invalid class "FncBand" object: superclass "mMatrix" not defined in the environment of the object's class
Backtrace:
▆
1. ├─testthat::expect_s3_class(plot(test), "ggplot") at test-center-test.R:27:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::plot(test)
5. └─familial:::plot.center.test(test)
6. └─base::lapply(band, bands)
7. └─familial (local) FUN(X[[i]], ...)
8. ├─base::data.frame(...)
9. └─DepthProc::fncGetBand(DepthProc::fncDepth(boot.wide), level)
10. └─methods::new("FncBand", bands, index = obj@index, level = band)
11. ├─methods::initialize(value, ...)
12. └─methods::initialize(value, ...)
13. └─methods (local) initMatrix(.Object, ...)
14. └─methods::validObject(.Object)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-x86_64
Current CRAN status: OK: 13