Running 'testthat.R' [35s]
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(ineptR)
  > 
  > test_check("ineptR")
  503 - Service Unavailable
  503 - Service Unavailable
  [ FAIL 6 | WARN 0 | SKIP 1 | PASS 24 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-get_ine_data.R:35:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-get_dim_info.R:3:5'): Problems return NULL, with a message ───
  `get_dim_info("invalid_id")` did not throw the expected message.
  ── Failure ('test-get_dim_info.R:10:5'): Indicator exists and call succeded ────
  get_dim_info("0011823") has type 'NULL', not 'list'.
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-get_dim_info.R:9:2
   2. │ └─base::withCallingHandlers(...)
   3. └─testthat::expect_type(get_dim_info("0011823"), "list") at test-get_dim_info.R:10:4
  ── Failure ('test-get_dim_info.R:11:5'): Indicator exists and call succeded ────
  get_dim_info("0011823") is not an S3 object
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-get_dim_info.R:9:2
   2. │ └─base::withCallingHandlers(...)
   3. └─testthat::expect_s3_class(get_dim_info("0011823"), "data.frame") at test-get_dim_info.R:11:4
  ── Failure ('test-get_dim_info.R:13:5'): Indicator exists and call succeded ────
  all(c("dim_num", "abrv", "versao") %in% names(get_dim_info("0011823"))) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-get_dim_info.R:9:2
   2. │ └─base::withCallingHandlers(...)
   3. └─testthat::expect_true(...) at test-get_dim_info.R:13:4
  ── Failure ('test-get_dim_values.R:9:3'): Indicator exists and call succeded ───
  get_dim_values("0011823") has type 'NULL', not 'list'.
  ── Failure ('test-get_dim_values.R:10:3'): Indicator exists and call succeded ──
  get_dim_values("0011823") is not an S3 object
  
  [ FAIL 6 | WARN 0 | SKIP 1 | PASS 24 ]
  Error: Test failures
  Execution halted