- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'rcrisp/DESCRIPTION' ... OK
- this is package 'rcrisp' version '0.1.4'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'rcrisp' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking whether startup messages can be suppressed ... [1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [5s] ERROR
Running examples in 'rcrisp-Ex.R' failed
The error most likely occurred in:
> ### Name: flatten_network
> ### Title: Flatten a network by adding points at apparent intersections.
> ### Aliases: flatten_network
>
> ### ** Examples
>
> bucharest_osm <- get_osm_example_data()
Warning in download.file(url_osm, destfile = temp_file, mode = "wb", quiet = TRUE) :
cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61': HTTP status was '502 Bad Gateway'
Error in download.file(url_osm, destfile = temp_file, mode = "wb", quiet = TRUE) :
cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
Calls: get_osm_example_data -> download.file
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [2s] ERROR
Running 'testthat.R' [2s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(rcrisp)
>
> test_check("rcrisp")
Error in `FUN()`:
! In path: "D:\\RCompile\\CRANpkg\\local\\4.4\\rcrisp.Rcheck\\tests\\testthat\\helper-exampledata.R"
Caused by error in `download.file()`:
! cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
Backtrace:
▆
1. ├─testthat::test_check("rcrisp")
2. │ └─testthat::test_dir(...)
3. │ └─testthat:::test_files(...)
4. │ └─testthat:::test_files_serial(...)
5. │ └─testthat:::test_files_setup_state(...)
6. │ └─testthat::source_test_helpers(".", env)
7. │ └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE)
8. │ └─base::lapply(...)
9. │ └─testthat (local) FUN(X[[i]], ...)
10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
11. │ ├─base::withCallingHandlers(...)
12. │ └─base::eval(exprs, env)
13. │ └─base::eval(exprs, env)
14. │ └─rcrisp::get_osm_example_data() at D:\RCompile\CRANpkg\local\4.4\rcrisp.Rcheck\tests\testthat\helper-exampledata.R:2:1
15. │ └─utils::download.file(...)
16. └─base::.handleSimpleError(...)
17. └─testthat (local) h(simpleError(msg, call))
18. └─rlang::abort(...)
Warning message:
In download.file(url_osm, destfile = temp_file, mode = "wb", quiet = TRUE) :
cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61': HTTP status was '502 Bad Gateway'
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [19s] ERROR
Error(s) in re-building vignettes:
--- re-building 'vig_01-method.Rmd' using rmarkdown
--- finished re-building 'vig_01-method.Rmd'
--- re-building 'vig_02-getting-osm-data.Rmd' using rmarkdown
Quitting from vig_02-getting-osm-data.Rmd:10-21 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `download.file()`:
! cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
---
Backtrace:
▆
1. └─rcrisp::get_osm_example_data()
2. └─utils::download.file(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vig_02-getting-osm-data.Rmd' failed with diagnostics:
cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
--- failed re-building 'vig_02-getting-osm-data.Rmd'
--- re-building 'vig_03-network-preparation.Rmd' using rmarkdown
Quitting from vig_03-network-preparation.Rmd:17-25 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `download.file()`:
! cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
---
Backtrace:
▆
1. └─rcrisp::get_osm_example_data()
2. └─utils::download.file(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vig_03-network-preparation.Rmd' failed with diagnostics:
cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
--- failed re-building 'vig_03-network-preparation.Rmd'
--- re-building 'vig_04-valley-delineation.Rmd' using rmarkdown
Quitting from vig_04-valley-delineation.Rmd:28-41 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `download.file()`:
! cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
---
Backtrace:
▆
1. └─rcrisp::get_osm_example_data()
2. └─utils::download.file(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vig_04-valley-delineation.Rmd' failed with diagnostics:
cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
--- failed re-building 'vig_04-valley-delineation.Rmd'
--- re-building 'vig_05-corridor-delineation.Rmd' using rmarkdown
Quitting from vig_05-corridor-delineation.Rmd:18-24 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `download.file()`:
! cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
---
Backtrace:
▆
1. └─rcrisp::get_osm_example_data()
2. └─utils::download.file(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vig_05-corridor-delineation.Rmd' failed with diagnostics:
cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
--- failed re-building 'vig_05-corridor-delineation.Rmd'
--- re-building 'vig_06-corridor-segmentation.Rmd' using rmarkdown
Quitting from vig_06-corridor-segmentation.Rmd:18-24 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `download.file()`:
! cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
---
Backtrace:
▆
1. └─rcrisp::get_osm_example_data()
2. └─utils::download.file(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vig_06-corridor-segmentation.Rmd' failed with diagnostics:
cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
--- failed re-building 'vig_06-corridor-segmentation.Rmd'
--- re-building 'vig_07-riverspace-delineation.Rmd' using rmarkdown
Quitting from vig_07-riverspace-delineation.Rmd:18-24 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `download.file()`:
! cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
---
Backtrace:
▆
1. └─rcrisp::get_osm_example_data()
2. └─utils::download.file(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vig_07-riverspace-delineation.Rmd' failed with diagnostics:
cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
--- failed re-building 'vig_07-riverspace-delineation.Rmd'
SUMMARY: processing the following files failed:
'vig_02-getting-osm-data.Rmd' 'vig_03-network-preparation.Rmd'
'vig_04-valley-delineation.Rmd' 'vig_05-corridor-delineation.Rmd'
'vig_06-corridor-segmentation.Rmd'
'vig_07-riverspace-delineation.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [11s] OK
- DONE
Status: 3 ERRORs