* using log directory ‘/data/gannet/ripley/R/packages/tests-noLD/giedata.Rcheck’ * using R Under development (unstable) (2023-07-26 r84752) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-13 (GCC) 13.1.0 GNU Fortran (GCC) 13.1.0 * running under: Fedora Linux 36 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘giedata/DESCRIPTION’ ... OK * this is package ‘giedata’ version ‘0.1.1’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘giedata’ can be installed ... [9s/12s] OK * checking package 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [11s/15s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [8s/10s] [8s/11s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > test_check("giedata") Loading required package: giedata [1] "There has been the following error message: Server error" [2] "There has been the following error message: Bad Gateway" [3] "There has been the following error message: Server error: (502) Bad Gateway" [1] "There has been the following error message: Server error" [2] "There has been the following error message: Bad Gateway" [3] "There has been the following error message: Server error: (502) Bad Gateway" [ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-regular-errors.R:28:3'): warning pops up if date, from and to are set ── Error: The request was unsuccessful, the API returned HTTP error code 502. More information can be found in the API error message printed above. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-regular-errors.R:28:2 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─giedata::get_giedata(...) 7. └─giedata:::getrequest(...) 8. └─giedata:::send_getrequest(url = url, apikey = apikey) ── Error ('test-regular-errors.R:40:3'): warning pops up if date, from and to are set ── Error in `map(.x, .f, ...)`: ℹ In index: 1. Caused by error: ! The request was unsuccessful, the API returned HTTP error code 502. More information can be found in the API error message printed above. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-regular-errors.R:40:2 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─giedata::get_giedata2(...) 7. │ └─purrr::map_dfr(...) 8. │ └─purrr::map(.x, .f, ...) 9. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 10. │ ├─purrr:::with_indexed_errors(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ ├─purrr:::call_with_cleanup(...) 13. │ └─giedata (local) .f(.x[[i]], ...) 14. │ └─giedata::get_giedata(...) 15. │ └─giedata:::getrequest(...) 16. │ └─giedata:::send_getrequest(url = url, apikey = apikey) 17. │ └─base::stop(...) 18. └─base::.handleSimpleError(...) 19. └─purrr (local) h(simpleError(msg, call)) 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ] Error: Test failures Execution halted * checking PDF version of manual ... [7s/11s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/gannet/ripley/R/packages/tests-noLD/giedata.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:41.14, 66.30 + 9.33