Running 'testthat.R' [5s/6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > ## use shift-cmd-t in Rstudio to run all tests
  > library(testthat)
  > test_check("radiant.data")
  Loading required package: radiant.data
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  Loading required package: ggplot2
  Loading required package: lubridate
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  Loading required package: tidyr
  
  Attaching package: 'tidyr'
  
  The following object is masked from 'package:magrittr':
  
      extract
  
  The following object is masked from 'package:testthat':
  
      matches
  
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:lubridate':
  
      intersect, setdiff, union
  
  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
  
  
  Attaching package: 'radiant.data'
  
  The following objects are masked from 'package:lubridate':
  
      month, wday
  
  The following object is masked from 'package:ggplot2':
  
      diamonds
  
  The following object is masked from 'package:testthat':
  
      describe
  
  -- 1. Error: explore 8 x 2 (@test_funs.R#91)  ----------------------------------
  'where' must be an environment
  Backtrace:
    1. radiant.data::explore(diamonds, "price:x")
    2. tidyr::gather(tab, "variable", "value", !!-(seq_along(byvar)))
    9. tidyr::extract(., variable, into = c("variable", "fun"), regex = rex)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  -- 2. Error: explore 1 x 2 (@test_funs.R#110)  ---------------------------------
  'where' must be an environment
  Backtrace:
    1. radiant.data::explore(diamonds, "price")
    2. tidyr::gather(tab, "variable", "value", !!-(seq_along(byvar)))
    9. tidyr::extract(., variable, into = c("variable", "fun"), regex = rex)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  -- 3. Error: explore 1 x 1 (@test_funs.R#121)  ---------------------------------
  'where' must be an environment
  Backtrace:
    1. radiant.data::explore(diamonds, "price", fun = "n_obs")
    2. tidyr::gather(tab, "variable", "value", !!-(seq_along(byvar)))
    9. tidyr::extract(., variable, into = c("variable", "fun"), regex = rex)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  -- 4. Error: explore 1 x 1 x 1 (@test_funs.R#126)  -----------------------------
  'where' must be an environment
  Backtrace:
    1. radiant.data::explore(diamonds, "price", byvar = "color", fun = "n_obs")
    2. tidyr::gather(tab, "variable", "value", !!-(seq_along(byvar)))
    9. tidyr::extract(., variable, into = c("variable", "fun"), regex = rex)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  -- 5. Error: explore 1 x 1 x 2 (@test_funs.R#131)  -----------------------------
  'where' must be an environment
  Backtrace:
    1. radiant.data::explore(...)
    2. tidyr::gather(tab, "variable", "value", !!-(seq_along(byvar)))
    9. tidyr::extract(., variable, into = c("variable", "fun"), regex = rex)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  -- 6. Error: explore 2 x 2 x 2 (@test_funs.R#142)  -----------------------------
  'where' must be an environment
  Backtrace:
    1. radiant.data::explore(...)
    2. tidyr::gather(tab, "variable", "value", !!-(seq_along(byvar)))
    9. tidyr::extract(., variable, into = c("variable", "fun"), regex = rex)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  == testthat results  ===========================================================
  [ OK: 26 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
  1. Error: explore 8 x 2 (@test_funs.R#91) 
  2. Error: explore 1 x 2 (@test_funs.R#110) 
  3. Error: explore 1 x 1 (@test_funs.R#121) 
  4. Error: explore 1 x 1 x 1 (@test_funs.R#126) 
  5. Error: explore 1 x 1 x 2 (@test_funs.R#131) 
  6. Error: explore 2 x 2 x 2 (@test_funs.R#142) 
  
  Error: testthat unit tests failed
  Execution halted