Running 'testthat.R' [44s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(epe4md)
  > 
  > test_check("epe4md")
  Starting 2 test processes
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 7 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-epe4md_casos_payback.R:27:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-epe4md_calcula.R:5:3'): epe4md_calcula works ───────────────────
  Error: object 'guide_level' is not exported by 'namespace:distributional'
  Backtrace:
       ▆
    1. ├─testthat::expect_snapshot_value(...) at test-epe4md_calcula.R:5:3
    2. │ ├─testthat:::with_is_snapshotting(force(x))
    3. │ └─base::force(x)
    4. ├─... %>% epe4md_sumariza_resultados()
    5. ├─epe4md::epe4md_sumariza_resultados(.)
    6. │ └─... %>% ...
    7. ├─dplyr::mutate(., pot_acum = cumsum(pot_ano), geracao_mwmed = geracao_gwh/8.76)
    8. ├─dplyr::ungroup(.)
    9. ├─dplyr::summarise(., pot_ano = sum(pot_mes_mw/1000), geracao_gwh = sum(energia_mwh/1000))
   10. ├─dplyr::group_by(., ano)
   11. ├─epe4md::epe4md_calcula(...)
   12. │ └─epe4md::epe4md_proj_mensal(...)
   13. │   └─... %>% fabletools::components()
   14. └─base::loadNamespace(x)
   15.   └─base::namespaceImportFrom(...)
   16.     └─base::importIntoEnv(impenv, impnames, ns, impvars)
  ── Error ('test-epe4md_calcula.R:84:3'): epe4md_calcula filtro_renda certo ─────
  Error: object 'guide_level' is not exported by 'namespace:distributional'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-epe4md_calcula.R:84:3
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─epe4md::epe4md_calcula(...)
   10. │ └─epe4md::epe4md_proj_mensal(...)
   11. │   └─... %>% fabletools::components()
   12. └─base::loadNamespace(x)
   13.   └─base::namespaceImportFrom(...)
   14.     └─base::importIntoEnv(impenv, impnames, ns, impvars)
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 7 ]
  Error: Test failures
  Execution halted