Running 'testthat.R' [274s/313s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(bayesnec)
  Loading required package: brms
  Loading required package: Rcpp
  Loading 'brms' package (version 2.16.1). Useful instructions
  can be found by typing help('brms'). A more detailed introduction
  to the package is available through vignette('brms_overview').
  
  Attaching package: 'brms'
  
  The following object is masked from 'package:stats':
  
      ar
  
  Loading required package: ggplot2
  > 
  > test_check("bayesnec")
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  All models failed the rhat_cutoff of 1
  Dropping the model(s) nec3param, ecxexp as they are not valid in the case of a logit link.
  Dropping the model(s) nec3param, ecxexp as they are not valid in the case of a logit link.
  Dropping the model(s) nec3param, ecxexp as they are not valid in the case of a log link.
  Dropping the model(s) nec3param, ecxexp as they are not valid in the case of a logit link.
  Dropping the model(s) nec3param, ecxexp as they are not valid in the case of a logit link.
  Dropping the model(s) neclin, neclinhorme, ecxlin as they are not valid in the case of a beta with identity link.
  Dropping the model(s) neclin, neclinhorme, ecxlin as they are not valid in the case of a binomial with identity link.
  Dropping the model neclin, neclinhorme, ecxlin, nechormepwr01 as they are not valid in the case of a poisson with identity link.
  Dropping the model neclin, neclinhorme, ecxlin, nechormepwr01 as they are not valid in the case of a negbinomial with identity link.
  Dropping the model neclin, neclinhorme, ecxlin, nechormepwr01 as they are not valid in the case of a Gamma with identity link.
  Dropping the model(s) nec3param, ecxexp as they are not valid in the case of Gaussian y data.
  Probability density plots saved to file pqtG8Nb14F5cP715U.pdf
  == Failed tests ================================================================
  -- Failure (test-expand_classes.R:120:3): new loo_controls are incorporated ----
  `.` (`actual`) not equal to "pseudobma" (`expected`).
  
  `actual` is an S3 object of class <simpleMessage/message/condition>, a list
  `expected` is a character vector ('pseudobma')
  Backtrace:
      x
   1. +-`%>%`(...) test-expand_classes.R:120:2
   2. +-base::suppressWarnings(.)
   3. | \-base::withCallingHandlers(...)
   4. \-testthat::expect_equal(., "pseudobma")
  -- Failure (test-expand_classes.R:126:3): new loo_controls are incorporated ----
  `.` (`actual`) not equal to "stacking" (`expected`).
  
  `actual` is an S3 object of class <simpleMessage/message/condition>, a list
  `expected` is a character vector ('stacking')
  Backtrace:
      x
   1. +-`%>%`(...) test-expand_classes.R:126:2
   2. +-base::suppressWarnings(.)
   3. | \-base::withCallingHandlers(...)
   4. \-testthat::expect_equal(., "stacking")
  -- Failure (test-nec.R:27:3): works for bayesmanecfit --------------------------
  names(nec1) (`actual`) not equal to c("50%", "2.5%", "97.5%") (`expected`).
  
  `actual`:   "message" "call" "trace"
  `expected`: "50%"     "2.5%" "97.5%"
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 380 ]
  Error: Test failures
  Execution halted