Running ‘testthat.R’ [44s/76s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > #    Copyright 2015 Province of British Columbia
  > #
  > #    Licensed under the Apache License, Version 2.0 (the "License");
  > #    you may not use this file except in compliance with the License.
  > #    You may obtain a copy of the License at
  > #
  > #       https://www.apache.org/licenses/LICENSE-2.0
  > #
  > #    Unless required by applicable law or agreed to in writing, software
  > #    distributed under the License is distributed on an "AS IS" BASIS,
  > #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  > #    See the License for the specific language governing permissions and
  > #    limitations under the License.
  > 
  > library(testthat)
  > library(ssdtools)
  
  Attaching package: 'ssdtools'
  
  The following objects are masked from 'package:stats':
  
      dgamma, dlnorm, dweibull, pgamma, plnorm, pweibull, qgamma, qlnorm,
      qweibull, rgamma, rlnorm, rweibull
  
  > 
  > test_check("ssdtools")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-fit.R:79:3): fluazinam ──────────────────────────────────────────
  Error in `mledist(censdata, distname, start = arg_startfix$start.arg, fix.arg = arg_startfix$fix.arg, 
      checkstartfix = TRUE, ...)`: data must be a numeric vector of length greater than 1 for non censored data or a dataframe with two columns named left and right and more than one line for censored data
  Backtrace:
      █
   1. └─ssdtools:::ssd_fit_dist(fluazinam, left = "left", right = "right") test-fit.R:79:2
   2.   └─ssdtools:::fit_dist_censored(data, left, right, weight, dist)
   3.     ├─utils::capture.output(...)
   4.     │ └─base::withVisible(...elt(i))
   5.     ├─base::do.call(fitdistrplus::fitdistcens, dist)
   6.     └─(function (censdata, distr, start = NULL, fix.arg = NULL, keepdata = TRUE, ...
   7.       └─fitdistrplus::mledist(...)
  ── Error (test-predict.R:85:3): predict.fitdistscens cis ───────────────────────
  Error: Distribution 'llogis' bootstraps include missing values.
  Backtrace:
       █
    1. ├─stats::predict(...) test-predict.R:85:2
    2. └─ssdtools:::predict.fitdistscens(...)
    3.   ├─ssdtools::ssd_hc(...)
    4.   └─ssdtools:::ssd_hc.fitdistscens(...)
    5.     └─ssdtools:::.ssd_hc_fitdists(...)
    6.       └─base::lapply(...)
    7.         ├─ssdtools:::FUN(X[[i]], ...)
    8.         └─ssdtools:::ssd_hc.fitdistcens(X[[i]], ...)
    9.           └─ssdtools:::.ssd_hc_fitdist(...)
   10.             └─ssdtools:::cis(samples, p = FALSE, level = level, x = percent)
   11.               └─base::lapply(...)
   12.                 └─ssdtools:::FUN(X[[i]], ...)
   13.                   └─chk::err("Distribution '", substr(fun, 2, nchar(fun)), "' bootstraps include missing values.")
   14.                     └─rlang::exec(abort, msg, .subclass = .subclass, !!!args[named])
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 1053 ]
  Error: Test failures
  Execution halted