Running 'testthat.R' [9s/12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(dplyr)
  
  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
  
  > library(rlang)
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  > library(ruler)
  > 
  > test_check("ruler")
  -- 1. Error: expose works (@test-expose.R#162)  --------------------------------
  'where' must be an environment
  Backtrace:
    9. ruler::expose(...)
   13. base::lapply(...)
   15. ruler:::expose_single.col_pack(X[[i]], ...)
    4. ruler:::.pack(.)
   11. ruler:::interp_col_pack_out(., .rule_sep = .rule_sep)
    6. tibble::as_tibble(.)
    6. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   13. tidyr::extract(...)
   32. ellipsis::check_dots_used()
   34. ellipsis:::exit_handler(action)
   35. base::bquote(...)
  
  -- 2. Error: expose preserves pack names (@test-expose.R#218)  -----------------
  'where' must be an environment
  Backtrace:
    8. ruler::expose(...)
   12. base::lapply(...)
   14. ruler:::expose_single.col_pack(X[[i]], ...)
    4. ruler:::.pack(.)
   11. ruler:::interp_col_pack_out(., .rule_sep = .rule_sep)
    6. tibble::as_tibble(.)
    6. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   13. tidyr::extract(...)
   31. ellipsis::check_dots_used()
   33. ellipsis:::exit_handler(action)
   34. base::bquote(...)
  
  -- 3. Error: expose accounts for rule separator (@test-expose.R#250)  ----------
  'where' must be an environment
  Backtrace:
    8. ruler::expose(...)
   12. base::lapply(...)
   14. ruler:::expose_single.col_pack(X[[i]], ...)
    4. ruler:::.pack(.)
   11. ruler:::interp_col_pack_out(., .rule_sep = .rule_sep)
    6. tibble::as_tibble(.)
    6. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   13. tidyr::extract(...)
   31. ellipsis::check_dots_used()
   33. ellipsis:::exit_handler(action)
   34. base::bquote(...)
  
  -- 4. Error: expose guesses (@test-expose.R#269)  ------------------------------
  'where' must be an environment
  Backtrace:
    1. ruler:::expect_expose_guesses(input_tbl, input_col_pack)
   10. ruler::expose(., input_rule_pack, .guess = TRUE)
   17. base::lapply(...)
   19. ruler:::expose_single.default(X[[i]], ...)
   23. ruler:::interp_col_pack_out(pack_out, .rule_sep)
    6. tibble::as_tibble(.)
    6. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   13. tidyr::extract(...)
   32. ellipsis::check_dots_used()
   34. ellipsis:::exit_handler(action)
   35. base::bquote(...)
  
  -- 5. Error: expose_single.default guesses group pack (@test-expose.R#286)  ----
  'where' must be an environment
  Backtrace:
    1. ruler:::expect_expose_single_default_works(...)
    2. ruler:::expect_expose_single_works(...)
    7. ruler:::expose_single.default(...)
   11. ruler:::interp_group_pack_out(...)
    5. tibble::as_tibble(.)
    5. dplyr::ungroup(.)
    5. ruler::spread_groups(...)
   13. ruler:::interp_col_pack_out(., .rule_sep = .col_sep)
    9. tibble::as_tibble(.)
    9. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   16. tidyr::extract(...)
   29. ellipsis::check_dots_used()
   31. ellipsis:::exit_handler(action)
   32. base::bquote(...)
  
  -- 6. Error: expose_single.default adds guessed attributes to group pack (@test-
  'where' must be an environment
  Backtrace:
    1. ruler:::expose_single(...)
    2. ruler:::expose_single.default(...)
    6. ruler:::interp_group_pack_out(...)
    4. tibble::as_tibble(.)
    4. dplyr::ungroup(.)
    4. ruler::spread_groups(...)
   12. ruler:::interp_col_pack_out(., .rule_sep = .col_sep)
    8. tibble::as_tibble(.)
    8. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   15. tidyr::extract(...)
   24. ellipsis::check_dots_used()
   26. ellipsis:::exit_handler(action)
   27. base::bquote(...)
  
  -- 7. Error: expose_single.default guesses col pack (@test-expose.R#309)  ------
  'where' must be an environment
  Backtrace:
    1. ruler:::expect_expose_single_default_works(...)
    2. ruler:::expect_expose_single_works(...)
    7. ruler:::expose_single.default(...)
   11. ruler:::interp_col_pack_out(pack_out, .rule_sep)
    5. tibble::as_tibble(.)
    5. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   12. tidyr::extract(...)
   20. ellipsis::check_dots_used()
   22. ellipsis:::exit_handler(action)
   23. base::bquote(...)
  
  -- 8. Error: expose_single.default guesses cell pack (@test-expose.R#335)  -----
  'where' must be an environment
  Backtrace:
    1. ruler:::expect_expose_single_default_works(...)
    2. ruler:::expect_expose_single_works(...)
    7. ruler:::expose_single.default(...)
   11. ruler:::interp_cell_pack_out(pack_out, .rule_sep)
    5. tibble::as_tibble(.)
    5. keyholder::rename_keys(., id = ".id")
    5. keyholder::restore_keys_at(., .vars = "id", .remove = TRUE, .unkey = TRUE)
    5. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   12. tidyr::extract(...)
   20. ellipsis::check_dots_used()
   22. ellipsis:::exit_handler(action)
   23. base::bquote(...)
  
  -- 9. Error: expose_single.group_pack works (@test-expose.R#376)  --------------
  'where' must be an environment
  Backtrace:
    1. ruler:::expect_expose_single_works(...)
    6. ruler:::expose_single.group_pack(...)
    3. ruler:::.pack(.)
   10. ruler:::interp_group_pack_out(...)
    5. tibble::as_tibble(.)
    5. dplyr::ungroup(.)
    5. ruler::spread_groups(...)
   13. ruler:::interp_col_pack_out(., .rule_sep = .col_sep)
    9. tibble::as_tibble(.)
    9. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   16. tidyr::extract(...)
   32. ellipsis::check_dots_used()
   34. ellipsis:::exit_handler(action)
   35. base::bquote(...)
  
  -- 10. Error: expose_single.col_pack works (@test-expose.R#402)  ---------------
  'where' must be an environment
  Backtrace:
    1. ruler:::expect_expose_single_works(...)
    6. ruler:::expose_single.col_pack(...)
    3. ruler:::.pack(.)
   10. ruler:::interp_col_pack_out(., .rule_sep = .rule_sep)
    5. tibble::as_tibble(.)
    5. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   12. tidyr::extract(...)
   23. ellipsis::check_dots_used()
   25. ellipsis:::exit_handler(action)
   26. base::bquote(...)
  
  -- 11. Error: expose_single.cell_pack works (@test-expose.R#453)  --------------
  'where' must be an environment
  Backtrace:
    1. ruler:::expect_expose_single_works(...)
    6. ruler:::expose_single.cell_pack(...)
    3. ruler:::.pack(.)
   10. ruler:::interp_cell_pack_out(., .rule_sep = .rule_sep)
    5. tibble::as_tibble(.)
    5. keyholder::rename_keys(., id = ".id")
    5. keyholder::restore_keys_at(., .vars = "id", .remove = TRUE, .unkey = TRUE)
    5. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   12. tidyr::extract(...)
   23. ellipsis::check_dots_used()
   25. ellipsis:::exit_handler(action)
   26. base::bquote(...)
  
  -- 12. Error: interp_group_pack_out works (@test-expose.R#520)  ----------------
  'where' must be an environment
  Backtrace:
    1. testthat::expect_identical(...)
    4. ruler:::interp_group_pack_out(...)
    3. tibble::as_tibble(.)
    3. dplyr::ungroup(.)
    3. ruler::spread_groups(...)
   11. ruler:::interp_col_pack_out(., .rule_sep = .col_sep)
    7. tibble::as_tibble(.)
    7. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   14. tidyr::extract(...)
   22. ellipsis::check_dots_used()
   24. ellipsis:::exit_handler(action)
   25. base::bquote(...)
  
  -- 13. Error: interp_col_pack_out works (@test-expose.R#565)  ------------------
  'where' must be an environment
  Backtrace:
    1. testthat::expect_identical(...)
    4. ruler:::interp_col_pack_out(input_col_pack_out, inside_punct("\\._\\."))
    3. tibble::as_tibble(.)
    3. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   10. tidyr::extract(...)
   13. ellipsis::check_dots_used()
   15. ellipsis:::exit_handler(action)
   16. base::bquote(...)
  
  -- 14. Error: interp_cell_pack_out works (@test-expose.R#620)  -----------------
  'where' must be an environment
  Backtrace:
    1. testthat::expect_identical(...)
    4. ruler:::interp_cell_pack_out(input_cell_pack_out, inside_punct("\\._\\."))
    3. tibble::as_tibble(.)
    3. keyholder::rename_keys(., id = ".id")
    3. keyholder::restore_keys_at(., .vars = "id", .remove = TRUE, .unkey = TRUE)
    3. tidyr::gather(., key = "var_rule", value = "value", !!!rlang::syms(colnames(.pack_out)))
   10. tidyr::extract(...)
   13. ellipsis::check_dots_used()
   15. ellipsis:::exit_handler(action)
   16. base::bquote(...)
  
  == testthat results  ===========================================================
  [ OK: 251 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 14 ]
  1. Error: expose works (@test-expose.R#162) 
  2. Error: expose preserves pack names (@test-expose.R#218) 
  3. Error: expose accounts for rule separator (@test-expose.R#250) 
  4. Error: expose guesses (@test-expose.R#269) 
  5. Error: expose_single.default guesses group pack (@test-expose.R#286) 
  6. Error: expose_single.default adds guessed attributes to group pack (@test-expose.R#295) 
  7. Error: expose_single.default guesses col pack (@test-expose.R#309) 
  8. Error: expose_single.default guesses cell pack (@test-expose.R#335) 
  9. Error: expose_single.group_pack works (@test-expose.R#376) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted