Last updated on 2025-04-12 22:52:40 CEST.
Package | ERROR | OK |
---|---|---|
LandComp | 1 | 13 |
Current CRAN status: ERROR: 1, OK: 13
Version: 0.0.5
Check: tests
Result: ERROR
Running 'testthat.R' [42s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(LandComp)
>
> test_check("LandComp")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-LandComp.R:17:13'): inappropriate x ────────────────────────────
Error in `stop_if_not(length(maxSizeOfObjects) == 1L, is.numeric(maxSizeOfObjects),
!is.na(maxSizeOfObjects), maxSizeOfObjects >= 0)`: 'list' object cannot be coerced to type 'double'
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-LandComp.R:17:13
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─LandComp::LandComp(x = hexagonal_data_logi, aggregation_steps = 0)
7. └─future::plan("future::multisession")
8. └─future (local) plan_set(...)
9. └─future:::plan_init(stack[[1]], debug = debug)
10. └─future:::makeFutureBackend(evaluator, debug = debug)
11. ├─base::do.call(factory, args = args)
12. └─future (local) `<fn>`(...)
13. └─future::ClusterFutureBackend(...)
14. └─future::MultiprocessFutureBackend(...)
15. └─future::FutureBackend(...)
16. └─future:::stop_if_not(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.0.5
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'LandComp.Rmd' using rmarkdown
Quitting from LandComp.Rmd:66-68 [square_example2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `stop_if_not()`:
! 'list' object cannot be coerced to type 'double'
---
Backtrace:
▆
1. └─LandComp::LandComp(...)
2. └─future::plan("future::multisession")
3. └─future (local) plan_set(...)
4. └─future:::plan_init(stack[[1]], debug = debug)
5. └─future:::makeFutureBackend(evaluator, debug = debug)
6. ├─base::do.call(factory, args = args)
7. └─future (local) `<fn>`(...)
8. └─future::ClusterFutureBackend(...)
9. └─future::MultiprocessFutureBackend(...)
10. └─future::FutureBackend(...)
11. └─future:::stop_if_not(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'LandComp.Rmd' failed with diagnostics:
'list' object cannot be coerced to type 'double'
--- failed re-building 'LandComp.Rmd'
SUMMARY: processing the following file failed:
'LandComp.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.