Running ‘test-all.R’ [13s/16s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > # Copyright 2015-2019 Venelin Mitov
  > #
  > # This file is part of POUMM.
  > #
  > # POUMM is free software: you can redistribute it and/or modify
  > # it under the terms of the GNU General Public License as published by
  > # the Free Software Foundation, either version 3 of the License, or
  > # (at your option) any later version.
  > #
  > # POUMM is distributed in the hope that it will be useful,
  > # but WITHOUT ANY WARRANTY; without even the implied warranty of
  > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  > # GNU General Public License for more details.
  > #
  > # You should have received a copy of the GNU General Public License
  > # along with POUMM  If not, see <http://www.gnu.org/licenses/>.
  > 
  > library(testthat)
  > 
  > test_check("POUMM")
  Loading required package: POUMM
  Loading required package: Rcpp
    generate 10000 samples 
    generate 10000 samples 
    generate 10000 samples 
  Saving _problems/test-fit-53.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 29 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-fit.R:53:5'): fit passes without errors ────────────────────────
  Error in ``[.data.table`(data, , `:=`(HPDUpperFiltered, min(max(value), unique(HPDUpper))), list(stat = factor(stat), chain = factor(chain)))`: attempt access index 12/12 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-fit.R:53:5
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─base::plot(fit1, interactive = FALSE, doPlot = FALSE)
    7. └─POUMM:::plot.POUMM(fit1, interactive = FALSE, doPlot = FALSE)
    8.   ├─base::plot(...)
    9.   └─POUMM:::plot.summary.POUMM(...)
   10.     ├─...[]
   11.     └─data.table:::`[.data.table`(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 29 ]
  Error:
  ! Test failures.
  Execution halted