* using log directory 'd:/Rcompile/CRANpkg/local/4.5/restatis.Rcheck' * using R version 4.5.3 (2026-03-11 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'restatis' can be installed ... OK * 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 ... [11s] 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 ... [3s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [26s] ERROR Running 'testthat.R' [26s] 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 ... [16s] OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [10s] OK * DONE Status: 1 ERROR