Last updated on 2026-03-21 21:53:07 CET.
| Package | ERROR | OK |
|---|---|---|
| dci | 1 | 13 |
Current CRAN status: ERROR: 1, OK: 13
Version: 1.0.3
Check: examples
Result: ERROR
Running examples in 'dci-Ex.R' failed
The error most likely occurred in:
> ### Name: enforce_dendritic
> ### Title: Enforce dendritic river topology
> ### Aliases: enforce_dendritic
>
> ### ** Examples
>
> # Import rivers
> rivers_in <- import_rivers(yamaska_rivers, quiet = TRUE)
>
> # Correct errors automatically
> rivers_cor <- enforce_dendritic(rivers_in, correct = TRUE)
Iteration 1:
36 divergences corrected.
4 complex confluences found.
Iteration 2:
No divergences detected.
No complex confluences found.
>
> # Return highlighted topological errors for manual correction
> rivers_uncor <- enforce_dendritic(rivers_in, correct = FALSE)
27 divergences have been found.
7 complex confluences found.
>
> # For large river networks it may be better to specify a smaller number of
> # correction sweeps.
> rivers_cor <- enforce_dendritic(rivers_in, correct = TRUE, max_iter = 3)
Iteration 1:
36 divergences corrected.
4 complex confluences found.
Flavor: r-devel-windows-x86_64