Running 'testthat.R' [25s]
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