Running ‘testthat.R’ [181s/267s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ivgets)
  Loading required package: gets
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  Loading required package: parallel
  Loading required package: ivreg
  > 
  > test_check("ivgets")
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 596 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (4)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-isativ.R:193'): isat.ivreg() works correctly ─────────────────
  `m1` (`actual`) not identical to `s1` (`expected`).
  
  `dimnames(actual$selection$aux$args$user.estimator$z)[[1]]` is NULL
  `dimnames(expected$selection$aux$args$user.estimator$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$a$time.started vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$a$time.started
  - "Thu Oct 13 22:03:47 2022"
  + "Thu Oct 13 22:03:27 2022"
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$a$time.finished vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$a$time.finished
  - "Thu Oct 13 22:03:47 2022"
  + "Thu Oct 13 22:03:27 2022"
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$a$date vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$a$date
  - "Thu Oct 13 22:03:47 2022"
  + "Thu Oct 13 22:03:27 2022"
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$a$aux$user.estimator$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$a$aux$user.estimator$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$a$aux$args$user.estimator$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$a$aux$args$user.estimator$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `attr(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$d, 'row.names')` is an integer vector (1, 2, 3, 4, 5, ...)
  `attr(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$d, 'row.names')` is a character vector ('1', '2', '3', '4', '5', ...)
  
  names(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$data) vs names(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$data)
  - "z2"
  + "y"
  - "z3"
  + "cons"
  - "x2"
  + "x1"
  - "cons"
  + "x2"
  - "x1"
  + "z2"
  - "y"
  + "z3"
  
  `attr(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$data, 'terms')` is absent
  `attr(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$data, 'terms')` is an S3 object of class <terms/formula>, a call
  
  `attr(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$fin$model, 'row.names')` is an integer vector (1, 2, 3, 4, 5, ...)
  `attr(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$fin$model, 'row.names')` is a character vector ('1', '2', '3', '4', '5', ...)
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$time.started vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$time.started
  - "Thu Oct 13 22:03:47 2022"
  + "Thu Oct 13 22:03:27 2022"
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$time.finished vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$time.finished
  - "Thu Oct 13 22:03:47 2022"
  + "Thu Oct 13 22:03:27 2022"
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$date vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$date
  - "Thu Oct 13 22:03:47 2022"
  + "Thu Oct 13 22:03:27 2022"
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$aux$user.estimator$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$aux$user.estimator$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$aux$args$user.estimator$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$aux$args$user.estimator$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `attr(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$final$model, 'row.names')` is an integer vector (1, 2, 3, 4, 5, ...)
  `attr(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$final$model, 'row.names')` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$setup$x)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$setup$x)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$setup$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$setup$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$userest$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$userest$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$x)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$x)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  ── Failure ('test-isativ_nosnap.R:184'): isat.ivreg() works correctly ──────────
  `m1` (`actual`) not identical to `s1` (`expected`).
  
  `dimnames(actual$selection$aux$args$user.estimator$z)[[1]]` is NULL
  `dimnames(expected$selection$aux$args$user.estimator$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$a$time.started vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$a$time.started
  - "Thu Oct 13 22:07:03 2022"
  + "Thu Oct 13 22:06:41 2022"
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$a$time.finished vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$a$time.finished
  - "Thu Oct 13 22:07:03 2022"
  + "Thu Oct 13 22:06:41 2022"
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$a$date vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$a$date
  - "Thu Oct 13 22:07:03 2022"
  + "Thu Oct 13 22:06:41 2022"
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$a$aux$user.estimator$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$a$aux$user.estimator$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$a$aux$args$user.estimator$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$a$aux$args$user.estimator$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `attr(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$d, 'row.names')` is an integer vector (1, 2, 3, 4, 5, ...)
  `attr(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$d, 'row.names')` is a character vector ('1', '2', '3', '4', '5', ...)
  
  names(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$data) vs names(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$data)
  - "z2"
  + "y"
  - "z3"
  + "cons"
  - "x2"
  + "x1"
  - "cons"
  + "x2"
  - "x1"
  + "z2"
  - "y"
  + "z3"
  
  `attr(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$data, 'terms')` is absent
  `attr(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$data, 'terms')` is an S3 object of class <terms/formula>, a call
  
  `attr(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$fin$model, 'row.names')` is an integer vector (1, 2, 3, 4, 5, ...)
  `attr(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$fin$model, 'row.names')` is a character vector ('1', '2', '3', '4', '5', ...)
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$time.started vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$time.started
  - "Thu Oct 13 22:07:03 2022"
  + "Thu Oct 13 22:06:41 2022"
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$time.finished vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$time.finished
  - "Thu Oct 13 22:07:03 2022"
  + "Thu Oct 13 22:06:41 2022"
  
  attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$date vs attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$date
  - "Thu Oct 13 22:07:03 2022"
  + "Thu Oct 13 22:06:41 2022"
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$aux$user.estimator$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$aux$user.estimator$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$aux$args$user.estimator$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$selection$aux$args$user.estimator$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `attr(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$out$final$model, 'row.names')` is an integer vector (1, 2, 3, 4, 5, ...)
  `attr(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$out$final$model, 'row.names')` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$setup$x)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$setup$x)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$setup$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$setup$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$userest$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$userest$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$x)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$x)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  `dimnames(attr(actual$selection$aux$args$user.estimator$formula, '.Environment')$z)[[1]]` is NULL
  `dimnames(attr(expected$selection$aux$args$user.estimator$formula, '.Environment')$z)[[1]]` is a character vector ('1', '2', '3', '4', '5', ...)
  
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 596 ]
  Error: Test failures
  Execution halted