Running ‘testthat.R’ [374s/461s]
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.17.0). 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 vQZL12s4G8p1Dcf6.pdf
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 402 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-define_prior.R:83:3): check proper output structure ───────────
  p_b$bound[p_b$nlpar == "top"] == "" is not TRUE
  
  `actual`:       
  `expected`: TRUE
  ── Failure (test-define_prior.R:84:3): check proper output structure ───────────
  p_b$bound[p_b$nlpar == "bot"] == "" is not TRUE
  
  `actual`:       
  `expected`: TRUE
  ── Failure (test-define_prior.R:87:3): check proper output structure ───────────
  p_c$bound[p_c$nlpar == "top"] == "" is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure (test-define_prior.R:88:3): check proper output structure ───────────
  p_c$bound[p_c$nlpar == "bot"] == "" is not FALSE
  
  `actual`:        
  `expected`: FALSE
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 402 ]
  Error: Test failures
  Execution halted