Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [207s/262s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # tests/testthat.R
  > 
  > library(testthat)
  > library(ffaframework) 
  > test_check("ffaframework")
  [ FAIL 6 | WARN 6 | SKIP 24 | PASS 950 ]
  
  ══ Skipped tests (24) ══════════════════════════════════════════════════════════
  • On CRAN (9): 'test-select-zstatistic.R:36:2',
    'test-select-zstatistic.R:69:2', 'test-select-zstatistic.R:102:2',
    'test-select-zstatistic.R:135:2', 'test-select-zstatistic.R:168:2',
    'test-uncertainty-bootstrap.R:24:2', 'test-uncertainty-bootstrap.R:104:2',
    'test-uncertainty-rfgpl.R:47:2', 'test-uncertainty-rfpl.R:113:2'
  • Skip on R CMD check (15): 'test-plots.R:3:2', 'test-plots.R:30:2',
    'test-plots.R:50:2', 'test-plots.R:77:2', 'test-plots.R:104:2',
    'test-plots.R:124:2', 'test-plots.R:142:2', 'test-plots.R:161:2',
    'test-plots.R:175:2', 'test-plots.R:190:2', 'test-plots.R:209:2',
    'test-plots.R:235:2', 'test-plots.R:256:2', 'test-plots.R:295:2',
    'test-plots.R:313:2'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-framework-eda.R:5:2'): framework-eda.R works on KOOTENAI RIVER (08NH021) with no splits ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─ffaframework::framework_eda(df$max, df$year) at test-framework-eda.R:5:9
   2.   └─ffaframework:::framework_report(...)
   3.     └─rmarkdown::render(...)
   4.       └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
   5.         └─xfun::write_utf8(res, output)
   6.           └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   7.             └─base::file(con, "w")
  ── Error ('test-framework-eda.R:20:2'): framework-eda.R works on KOOTENAI RIVER (08NH021) with splits ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─ffaframework::framework_eda(df$max, df$year, ns_splits = 1972) at test-framework-eda.R:20:9
   2.   └─ffaframework:::framework_report(...)
   3.     └─rmarkdown::render(...)
   4.       └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
   5.         └─xfun::write_utf8(res, output)
   6.           └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   7.             └─base::file(con, "w")
  ── Error ('test-framework-ffa.R:5:2'): framework-ffa works on KOOTENAI RIVER (08NH021) with no splits/structures ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─ffaframework::framework_ffa(df$max, df$year) at test-framework-ffa.R:5:9
   2.   └─ffaframework:::framework_report(...)
   3.     └─rmarkdown::render(...)
   4.       └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
   5.         └─xfun::write_utf8(res, output)
   6.           └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   7.             └─base::file(con, "w")
  ── Error ('test-framework-ffa.R:20:2'): framework-ffa works on KOOTENAI RIVER (08NH021) with splits/structures ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─ffaframework::framework_ffa(...) at test-framework-ffa.R:20:9
   2.   └─ffaframework:::framework_report(...)
   3.     └─rmarkdown::render(...)
   4.       └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
   5.         └─xfun::write_utf8(res, output)
   6.           └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   7.             └─base::file(con, "w")
  ── Error ('test-framework-full.R:4:2'): framework-full works on KOOTENAI RIVER (08NH021) with no splits/structures ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─ffaframework::framework_full(df$max, df$year) at test-framework-full.R:4:9
   2.   └─ffaframework:::framework_report(...)
   3.     └─rmarkdown::render(...)
   4.       └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
   5.         └─xfun::write_utf8(res, output)
   6.           └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   7.             └─base::file(con, "w")
  ── Error ('test-framework-full.R:24:2'): framework-full works on KOOTENAI RIVER (08NH021) with splits/structures ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─ffaframework::framework_full(...) at test-framework-full.R:24:9
   2.   └─ffaframework:::framework_report(...)
   3.     └─rmarkdown::render(...)
   4.       └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
   5.         └─xfun::write_utf8(res, output)
   6.           └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   7.             └─base::file(con, "w")
  
  [ FAIL 6 | WARN 6 | SKIP 24 | PASS 950 ]
  Error: Test failures
  Execution halted