Running ‘testthat.R’ [15s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(sjtable2df)
  > 
  > test_check("sjtable2df")
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 19 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-mtab2df.R:48:5'): correct functioning of mtab2df: glm ──────────
  Error in `structure(.Data = base::quote(NULL))`: attempt to set an attribute on NULL
  Backtrace:
       ▆
    1. └─testthat::expect_snapshot_value(...) at test-mtab2df.R:48:5
    2.   ├─testthat:::check_roundtrip(...)
    3.   │ └─testthat:::waldo_compare(...)
    4.   │   └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
    5.   │     └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts)
    6.   │       └─rlang::is_missing(y)
    7.   └─testthat (local) load(save(x))
    8.     └─jsonlite::unserializeJSON(x)
    9.       └─jsonlite:::unpack(parseJSON(txt))
   10.         └─base::lapply(obj$attributes, unpack)
   11.           └─jsonlite (local) FUN(X[[i]], ...)
   12.             ├─base::do.call("structure", newdata, quote = TRUE)
   13.             └─base::structure(.Data = base::quote(NULL))
  ── Error ('test-mtab2df.R:136:5'): correct functioning of mtab2df: glmer ───────
  Error in `structure(.Data = base::quote(NULL))`: attempt to set an attribute on NULL
  Backtrace:
       ▆
    1. └─testthat::expect_snapshot_value(...) at test-mtab2df.R:136:5
    2.   ├─testthat:::check_roundtrip(...)
    3.   │ └─testthat:::waldo_compare(...)
    4.   │   └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
    5.   │     └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts)
    6.   │       └─rlang::is_missing(y)
    7.   └─testthat (local) load(save(x))
    8.     └─jsonlite::unserializeJSON(x)
    9.       └─jsonlite:::unpack(parseJSON(txt))
   10.         └─base::lapply(obj$attributes, unpack)
   11.           └─jsonlite (local) FUN(X[[i]], ...)
   12.             ├─base::do.call("structure", newdata, quote = TRUE)
   13.             └─base::structure(.Data = base::quote(NULL))
  ── Error ('test-xtab2df.R:36:5'): correct functioning of 2x2 xtab2df, with stats ──
  Error in `structure(.Data = base::quote(NULL))`: attempt to set an attribute on NULL
  Backtrace:
       ▆
    1. └─testthat::expect_snapshot_value(...) at test-xtab2df.R:36:5
    2.   ├─testthat:::check_roundtrip(...)
    3.   │ └─testthat:::waldo_compare(...)
    4.   │   └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
    5.   │     └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts)
    6.   │       └─rlang::is_missing(y)
    7.   └─testthat (local) load(save(x))
    8.     └─jsonlite::unserializeJSON(x)
    9.       └─jsonlite:::unpack(parseJSON(txt))
   10.         └─base::lapply(obj$attributes, unpack)
   11.           └─jsonlite (local) FUN(X[[i]], ...)
   12.             ├─base::do.call("structure", newdata, quote = TRUE)
   13.             └─base::structure(.Data = base::quote(NULL))
  ── Error ('test-xtab2df.R:206:5'): correct functioning of 2x2 xtab2df, without stats ──
  Error in `structure(.Data = base::quote(NULL))`: attempt to set an attribute on NULL
  Backtrace:
       ▆
    1. └─testthat::expect_snapshot_value(...) at test-xtab2df.R:206:5
    2.   ├─testthat:::check_roundtrip(...)
    3.   │ └─testthat:::waldo_compare(...)
    4.   │   └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
    5.   │     └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts)
    6.   │       └─rlang::is_missing(y)
    7.   └─testthat (local) load(save(x))
    8.     └─jsonlite::unserializeJSON(x)
    9.       └─jsonlite:::unpack(parseJSON(txt))
   10.         └─base::lapply(obj$attributes, unpack)
   11.           └─jsonlite (local) FUN(X[[i]], ...)
   12.             ├─base::do.call("structure", newdata, quote = TRUE)
   13.             └─base::structure(.Data = base::quote(NULL))
  ── Error ('test-xtab2df.R:253:5'): correct functioning of 3x4 xtab2df, with stats ──
  Error in `structure(.Data = base::quote(NULL))`: attempt to set an attribute on NULL
  Backtrace:
       ▆
    1. └─testthat::expect_snapshot_value(...) at test-xtab2df.R:253:5
    2.   ├─testthat:::check_roundtrip(...)
    3.   │ └─testthat:::waldo_compare(...)
    4.   │   └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
    5.   │     └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts)
    6.   │       └─rlang::is_missing(y)
    7.   └─testthat (local) load(save(x))
    8.     └─jsonlite::unserializeJSON(x)
    9.       └─jsonlite:::unpack(parseJSON(txt))
   10.         └─base::lapply(obj$attributes, unpack)
   11.           └─jsonlite (local) FUN(X[[i]], ...)
   12.             ├─base::do.call("structure", newdata, quote = TRUE)
   13.             └─base::structure(.Data = base::quote(NULL))
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 19 ]
  Error: Test failures
  Execution halted