Running ‘testthat.R’ [46s/131s]
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.22.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
  
  Attaching package: 'bayesnec'
  
  The following object is masked from 'package:stats':
  
      step
  
  > 
  > test_check("bayesnec")
  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.
  [ FAIL 4 | WARN 0 | SKIP 37 | PASS 265 ]
  
  ══ Skipped tests (37) ══════════════════════════════════════════════════════════
  • On CRAN (37): 'test-amend.R:3:5', 'test-bayesmanec_methods.R:7:5',
    'test-bayesmanec_methods.R:21:5', 'test-bayesmanec_methods.R:30:5',
    'test-bayesmanec_methods.R:41:5', 'test-bayesmanec_methods.R:53:5',
    'test-bayesmanec_methods.R:66:5', 'test-check_chains.R:3:5',
    'test-check_chains.R:10:5', 'test-check_priors.R:3:5',
    'test-check_priors.R:13:5', 'test-ecx.R:3:5', 'test-ecx.R:28:5',
    'test-ecx.R:41:5', 'test-ecx.R:69:5', 'test-ecx.R:78:5', 'test-ecx.R:87:5',
    'test-ecx.R:96:5', 'test-ecx.R:104:5', 'test-ecx.R:112:5',
    'test-expand_classes.R:6:5', 'test-expand_classes.R:24:5',
    'test-expand_classes.R:43:5', 'test-expand_classes.R:61:5',
    'test-expand_classes.R:80:5', 'test-expand_classes.R:97:5',
    'test-expand_classes.R:109:5', 'test-expand_classes.R:121:5',
    'test-expand_classes.R:136:5', 'test-nsec.R:3:5', 'test-nsec.R:27:5',
    'test-nsec.R:57:5', 'test-nsec.R:66:5', 'test-nsec.R:76:5',
    'test-nsec.R:85:5', 'test-nsec.R:93:5', 'test-nsec.R:101:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-model.frame.R:10:3'): correct classes ────────────────────────
  names(attributes(a)) (`actual`) not identical to c("names", "terms", "row.names", "class", "bnec_pop", "bnec_group") (`expected`).
  
  `actual`:   "names" "class" "row.names" "terms" "bnec_pop" "bnec_group"
  `expected`: "names" "terms" "row.names" "class" "bnec_pop" "bnec_group"
  ── Failure ('test-model.frame.R:20:3'): correct classes ────────────────────────
  names(attributes(b)) (`actual`) not identical to c("names", "terms", "row.names", "class", "bnec_pop", "bnec_group") (`expected`).
  
  `actual`:   "names" "class" "row.names" "terms" "bnec_pop" "bnec_group"
  `expected`: "names" "terms" "row.names" "class" "bnec_pop" "bnec_group"
  ── Failure ('test-model.frame.R:32:3'): correct classes ────────────────────────
  names(attributes(c_)) (`actual`) not identical to c("names", "terms", "row.names", "class", "bnec_pop", "bnec_group") (`expected`).
  
  `actual`:   "names" "class" "row.names" "terms" "bnec_pop" "bnec_group"
  `expected`: "names" "terms" "row.names" "class" "bnec_pop" "bnec_group"
  ── Failure ('test-model.frame.R:44:3'): correct classes ────────────────────────
  names(attributes(d)) (`actual`) not identical to c("names", "terms", "row.names", "class", "bnec_pop", "bnec_group") (`expected`).
  
  `actual`:   "names" "class" "row.names" "terms" "bnec_pop" "bnec_group"
  `expected`: "names" "terms" "row.names" "class" "bnec_pop" "bnec_group"
  
  [ FAIL 4 | WARN 0 | SKIP 37 | PASS 265 ]
  Error: Test failures
  Execution halted