Last updated on 2024-12-23 12:49:50 CET.
Package | ERROR | OK |
---|---|---|
ohsome | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [4s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ohsome)
Data: © OpenStreetMap contributors https://ohsome.org/copyrights
ohsome API version: 1.10.4
Temporal extent: 2007-10-08T00:00:00Z to 2024-12-18T12:00Z
>
> test_check("ohsome")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 112 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ohsome_boundary.R:1:1'): (code run outside of `test_that()`) ───
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called 'mapview'
Backtrace:
▆
1. ├─base::suppressMessages(sf::st_set_crs(mapview::franconia, 4326)) at test-ohsome_boundary.R:1:1
2. │ └─base::withCallingHandlers(...)
3. ├─sf::st_set_crs(mapview::franconia, 4326)
4. └─base::loadNamespace(x)
5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. └─base (local) withOneRestart(expr, restarts[[1L]])
7. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 112 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘ohsome.Rmd’ using rmarkdown
Quitting from lines 52-80 (ohsome.Rmd)
Error: processing vignette 'ohsome.Rmd' failed with diagnostics:
there is no package called 'mapview'
--- failed re-building ‘ohsome.Rmd’
SUMMARY: processing the following file failed:
‘ohsome.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc