* using log directory ‘/data/gannet/ripley/R/packages/tests-MKL/restatis.Rcheck’ * using R Under development (unstable) (2026-05-22 r90067) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7) GNU Fortran (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * current time: 2026-05-25 22:47:54 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘restatis/DESCRIPTION’ ... OK * this is package ‘restatis’ version ‘0.4.0’ * 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 ‘restatis’ can be installed ... [12s/39s] 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 ... 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 whether startup messages can be suppressed ... 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 ... [23s/90s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... 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 ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [9s/50s] [9s/52s] ERROR 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(restatis) Default option of 'restatis.use_cache' has been set to TRUE, that means all API calls will be cached. To disable caching altogether use 'options(restatis.use_cache = FALSE)'. See README for more information. > > test_check("restatis") Saving _problems/test_credential_list-31.R Use 'detailed = TRUE' to obtain the complete output. Please be aware that using custom credentials as in 'credential_list' can be a potential security threat. Using restatis::gen_auth_save() stores the credentials safely in a locked file. See package README for further information on this issue. Use 'detailed = TRUE' to obtain the complete output. Please be aware that using custom credentials as in 'credential_list' can be a potential security threat. Using restatis::gen_auth_save() stores the credentials safely in a locked file. See package README for further information on this issue. Use 'detailed = TRUE' to obtain the complete output. Use 'error.ignore = FALSE' to stop the function at the point where no object could be found. Use 'detailed = TRUE' to obtain the complete output. Use 'detailed = TRUE' to obtain the complete output. Use 'detailed = TRUE' to obtain the complete output. Use 'detailed = TRUE' to obtain the complete output. [ FAIL 1 | WARN 0 | SKIP 50 | PASS 62 ] ══ Skipped tests (50) ══════════════════════════════════════════════════════════ • On CRAN (50): 'test_complete_workflows.R:6:3', 'test_complete_workflows.R:39:3', 'test_complete_workflows.R:67:3', 'test_complete_workflows.R:97:3', 'test_complete_workflows.R:121:3', 'test_complete_workflows.R:142:3', 'test_complete_workflows.R:193:3', 'test_complete_workflows.R:223:3', 'test_complete_workflows.R:249:3', 'test_complete_workflows.R:276:3', 'test_complete_workflows.R:303:3', 'test_credential_list.R:55:3', 'test_databases.R:72:3', 'test_databases.R:97:3', 'test_gen_alternative_terms.R:9:5', 'test_gen_api.R:5:3', 'test_gen_auth.R:6:3', 'test_gen_auth.R:17:3', 'test_gen_auth.R:37:3', 'test_gen_auth.R:60:3', 'test_gen_catalogue.R:9:5', 'test_gen_catalogue.R:31:5', 'test_gen_catalogue.R:51:5', 'test_gen_catalogue.R:71:5', 'test_gen_catalogue.R:89:5', 'test_gen_catalogue.R:164:5', 'test_gen_find.R:9:5', 'test_gen_find.R:45:5', 'test_gen_find.R:63:5', 'test_gen_logincheck.R:13:5', 'test_gen_metadata.R:9:5', 'test_gen_metadata.R:44:5', 'test_gen_metadata.R:62:5', 'test_gen_modified_data.R:9:5', 'test_gen_modified_data.R:25:5', 'test_gen_modified_data.R:42:5', 'test_gen_modified_data.R:65:5', 'test_gen_objects2stat.R:9:5', 'test_gen_objects2stat.R:33:5', 'test_gen_objects2stat.R:107:5', 'test_gen_objects2var.R:9:5', 'test_gen_objects2var.R:34:5', 'test_gen_objects2var.R:104:5', 'test_gen_search_vars.R:9:5', 'test_gen_table.R:9:5', 'test_gen_val2var.R:9:5', 'test_gen_val2var.R:29:5', 'test_gen_var2stat.R:9:5', 'test_gen_var2stat.R:36:5', 'test_gen_var2stat.R:92:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_credential_list.R:25:3'): functions error correctly on erroneous credential_list parameter values ── Error: The API call(s) have been tried with GET and POST methods, but were unsuccessful (error message: 'Failed to perform HTTP request.'). Check your specifications or try again later. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_credential_list.R:25:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─restatis::gen_catalogue(...) 8. └─base::lapply(...) 9. └─restatis (local) FUN(X[[i]], ...) 10. └─restatis:::gen_api(...) 11. └─restatis:::.gen_api_core(...) 12. └─base::tryCatch(...) 13. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 14. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 15. └─value[[3L]](cond) 16. └─base::tryCatch(...) 17. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 18. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 19. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 50 | PASS 62 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [42s/161s] OK * checking PDF version of manual ... [11s/45s] OK * checking HTML version of manual ... [6s/14s] 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-MKL/restatis.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 9:38.06, 138.17 + 16.32