Running 'testthat.R' [45s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(jtools)
  > 
  > 
  > test_check("jtools")
  Failed with error:  'there is no package called 'brms''
  Failed with error:  'there is no package called 'rstanarm''
  -- ERROR (test-export-summs.R:47:3): Export doesn't fail with lm ---------------
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(export_summs(fit, fit2, fitw), "huxtable") test-export-summs.R:47:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(fit, fit2, fitw)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:51:3): Export accepts named list input -----------
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:51:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(...)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:56:3): Export uses statistics = 'all' argument ---
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:56:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(fit, fit2, fitw, statistics = "all")
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:65:3): Export accepts summ args with lm ----------
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:65:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(fit, fit2, fitw, scale = T, robust = T)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:70:3): Export accepts huxreg args with lm --------
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:70:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(fit, fit2, fitw, align = ",")
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:75:3): Export accepts huxreg and summ args with lm
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:75:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(...)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:81:3): Export doesn't fail with glm --------------
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(export_summs(pmod), "huxtable") test-export-summs.R:81:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(pmod)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:85:3): Export accepts summ args with glm ---------
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:85:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(pmod, scale = T, robust = T)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:90:3): Export accepts huxreg args with glm -------
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(export_summs(pmod, align = ","), "huxtable") test-export-summs.R:90:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(pmod, align = ",")
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:95:3): Export accepts huxreg and summ args with gl
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:95:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(pmod, align = ",", robust = T)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:101:5): Export doesn't fail with svyglm ----------
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:101:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(regmodel, statistics = c(N = "nobs"))
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:105:5): Export accepts summ args with svyglm -----
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(export_summs(regmodel, scale = T), "huxtable") test-export-summs.R:105:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(regmodel, scale = T)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:109:5): Export accepts huxreg args with svyglm ---
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:109:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(regmodel, align = ",", statistics = c(N = "nobs"))
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:114:5): Export accepts huxreg and summ args with s
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:114:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(regmodel, align = ",", scale = T)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:121:5): Export doesn't fail with merMod ----------
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(export_summs(mv), "huxtable") test-export-summs.R:121:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(mv)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:125:5): Export accepts summ args with merMod -----
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(export_summs(mv, scale = T), "huxtable") test-export-summs.R:125:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(mv, scale = T)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:130:5): Export accepts huxreg args with merMod ---
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(export_summs(mv, align = ","), "huxtable") test-export-summs.R:130:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(mv, align = ",")
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:135:5): Export accepts huxreg and summ args with m
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:135:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(mv, align = ",", scale = T)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:140:5): Export can do confidence intervals (merMod
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:140:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(mv, error_format = "95% CI [{conf.low}, {conf.high}]")
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:146:3): Export can do confidence intervals (lm) --
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:146:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(fit, fitw, error_format = "CI [{conf.low}, {conf.high}]")
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:152:3): Export can do confidence intervals (glm) -
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:152:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(pmod, error_format = "CI [{conf.low}, {conf.high}]")
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:159:5): Export can do confidence intervals (svyglm
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:159:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(regmodel, error_format = "CI [{conf.low}, {conf.high}]")
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:166:3): Export can take manual coefficient names -
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-export-summs.R:166:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-jtools::export_summs(...)
    5.   +-base::do.call(what = huxtable::huxreg, args = hux_args)
    6.   \-(function (..., error_format = "({std.error})", error_pos = c("below", ...
    7.     \-base::lapply(seq_along(models), tidy_fn)
    8.       \-huxtable:::FUN(X[[i]], ...)
    9.         \-huxtable:::my_tidy(n, ci_level = ci_level)
   10.           +-base::do.call(tidy, args)
   11.           +-(function (x, ...) ...
   12.           \-jtools:::tidy.summ(...)
   13.             \-jtools:::update_summ(...)
   14.               +-base::formals(getFromNamespace(class(summ), "jtools"))
   15.               \-utils::getFromNamespace(class(summ), "jtools")
   16.                 \-base::get(x, envir = ns, inherits = FALSE)
  
  -- ERROR (test-export-summs.R:286:3): plot.distributions works -----------------
  Error: first argument has length > 1
  Backtrace:
       x
    1. +-testthat::expect_silent(...) test-export-summs.R:286:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat:::.capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-base::print(...)
   10. \-jtools::plot_summs(...)
   11.   +-base::do.call("plot_coefs", args = args)
   12.   \-jtools::plot_coefs(...)
   13.     \-jtools:::make_tidies(...)
   14.       +-base::do.call(generics::tidy, args = all_args)
   15.       +-(function (x, ...) ...
   16.       \-jtools:::tidy.summ(...)
   17.         \-jtools:::update_summ(...)
   18.           +-base::formals(getFromNamespace(class(summ), "jtools"))
   19.           \-utils::getFromNamespace(class(summ), "jtools")
   20.             \-base::get(x, envir = ns, inherits = FALSE)
  
  Failed with error:  'there is no package called 'brms''
  == testthat results  ===========================================================
  ERROR (test-export-summs.R:47:3): Export doesn't fail with lm
  ERROR (test-export-summs.R:51:3): Export accepts named list input
  ERROR (test-export-summs.R:56:3): Export uses statistics = 'all' argument
  ERROR (test-export-summs.R:65:3): Export accepts summ args with lm
  ERROR (test-export-summs.R:70:3): Export accepts huxreg args with lm
  ERROR (test-export-summs.R:75:3): Export accepts huxreg and summ args with lm
  ERROR (test-export-summs.R:81:3): Export doesn't fail with glm
  ERROR (test-export-summs.R:85:3): Export accepts summ args with glm
  ERROR (test-export-summs.R:90:3): Export accepts huxreg args with glm
  ERROR (test-export-summs.R:95:3): Export accepts huxreg and summ args with glm
  ERROR (test-export-summs.R:101:5): Export doesn't fail with svyglm
  ERROR (test-export-summs.R:105:5): Export accepts summ args with svyglm
  ERROR (test-export-summs.R:109:5): Export accepts huxreg args with svyglm
  ERROR (test-export-summs.R:114:5): Export accepts huxreg and summ args with svyglm
  ERROR (test-export-summs.R:121:5): Export doesn't fail with merMod
  ERROR (test-export-summs.R:125:5): Export accepts summ args with merMod
  ERROR (test-export-summs.R:130:5): Export accepts huxreg args with merMod
  ERROR (test-export-summs.R:135:5): Export accepts huxreg and summ args with merMod
  ERROR (test-export-summs.R:140:5): Export can do confidence intervals (merMod)
  ERROR (test-export-summs.R:146:3): Export can do confidence intervals (lm)
  ERROR (test-export-summs.R:152:3): Export can do confidence intervals (glm)
  ERROR (test-export-summs.R:159:5): Export can do confidence intervals (svyglm)
  ERROR (test-export-summs.R:166:3): Export can take manual coefficient names
  ERROR (test-export-summs.R:286:3): plot.distributions works
  
  [ FAIL 24 | WARN 0 | SKIP 0 | PASS 309 ]
  Error: Test failures
  Execution halted