Running 'testthat.R' [5s/6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(biscale)
  > 
  > test_check("biscale")
  -- 1. Failure: correctly specified functions execute without error (@test_bi_leg
  `bi_legend(pal = "Brown", dim = 2, xlab = "ham", ylab = "bacon")` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "Brown", dim = 2, xlab = "ham", ylab = "bacon")
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 2. Failure: correctly specified functions execute without error (@test_bi_leg
  `bi_legend(pal = "Brown", dim = 3, xlab = "ham", ylab = "bacon")` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "Brown", dim = 3, xlab = "ham", ylab = "bacon")
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 3. Failure: correctly specified functions execute without error (@test_bi_leg
  `bi_legend(pal = "DkBlue", dim = 2, xlab = "ham", ylab = "bacon")` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "DkBlue", dim = 2, xlab = "ham", ylab = "bacon")
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 4. Failure: correctly specified functions execute without error (@test_bi_leg
  `bi_legend(pal = "DkBlue", dim = 3, xlab = "ham", ylab = "bacon")` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "DkBlue", dim = 3, xlab = "ham", ylab = "bacon")
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 5. Failure: correctly specified functions execute without error (@test_bi_leg
  `bi_legend(pal = "DkCyan", dim = 2, xlab = "ham", ylab = "bacon")` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "DkCyan", dim = 2, xlab = "ham", ylab = "bacon")
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 6. Failure: correctly specified functions execute without error (@test_bi_leg
  `bi_legend(pal = "DkCyan", dim = 3, xlab = "ham", ylab = "bacon")` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "DkCyan", dim = 3, xlab = "ham", ylab = "bacon")
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 7. Failure: correctly specified functions execute without error (@test_bi_leg
  `bi_legend(pal = "DkViolet", dim = 2, xlab = "ham", ylab = "bacon")` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "DkViolet", dim = 2, xlab = "ham", ylab = "bacon")
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 8. Failure: correctly specified functions execute without error (@test_bi_leg
  `bi_legend(pal = "DkViolet", dim = 3, xlab = "ham", ylab = "bacon")` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "DkViolet", dim = 3, xlab = "ham", ylab = "bacon")
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 9. Failure: correctly specified functions execute without error (@test_bi_leg
  `bi_legend(pal = "GrPink", dim = 2, xlab = "ham", ylab = "bacon")` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "GrPink", dim = 2, xlab = "ham", ylab = "bacon")
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 10. Failure: correctly specified functions execute without error (@test_bi_le
  `bi_legend(pal = "GrPink", dim = 3, xlab = "ham", ylab = "bacon")` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "GrPink", dim = 3, xlab = "ham", ylab = "bacon")
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 11. Failure: correctly specified functions execute without error (@test_bi_le
  `bi_legend(pal = "Brown", dim = 2, xlab = a, ylab = b)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = "Brown", dim = 2, xlab = a, ylab = b)
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 12. Failure: correctly specified functions execute without error (@test_bi_le
  `bi_legend(pal = custom_pal, dim = 2, xlab = a, ylab = b)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. biscale::bi_legend(pal = custom_pal, dim = 2, xlab = a, ylab = b)
    7. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 13. Error: (unknown) (@test_bi_legend.R#55)  --------------------------------
  'where' must be an environment
  Backtrace:
   1. biscale::bi_legend(pal = "GrPink", dim = 2)
   2. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
   3. ellipsis::check_dots_used()
   5. ellipsis:::exit_handler(action)
   6. base::bquote(...)
  
  -- 14. Failure: correctly specified functions execute without error (@test_bi_pa
  `bi_pal(pal = "GrPink", dim = 3)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(bi_pal(pal = "GrPink", dim = 3), NA)
    6. biscale::bi_pal(pal = "GrPink", dim = 3)
    7. biscale::bi_legend(pal = pal, dim = dim, size = 16)
    8. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
    9. ellipsis::check_dots_used()
   11. ellipsis:::exit_handler(action)
   12. base::bquote(...)
  
  -- 15. Error: (unknown) (@test_bi_pal.R#48)  -----------------------------------
  'where' must be an environment
  Backtrace:
   1. biscale::bi_pal(pal = "GrPink", dim = 2)
   2. biscale::bi_legend(pal = pal, dim = dim, size = 16)
   3. tidyr::separate(x, bi_class, into = c("x", "y"), sep = "-")
   4. ellipsis::check_dots_used()
   6. ellipsis:::exit_handler(action)
   7. base::bquote(...)
  
  == testthat results  ===========================================================
  [ OK: 60 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 15 ]
  1. Failure: correctly specified functions execute without error (@test_bi_legend.R#28) 
  2. Failure: correctly specified functions execute without error (@test_bi_legend.R#29) 
  3. Failure: correctly specified functions execute without error (@test_bi_legend.R#30) 
  4. Failure: correctly specified functions execute without error (@test_bi_legend.R#31) 
  5. Failure: correctly specified functions execute without error (@test_bi_legend.R#32) 
  6. Failure: correctly specified functions execute without error (@test_bi_legend.R#33) 
  7. Failure: correctly specified functions execute without error (@test_bi_legend.R#34) 
  8. Failure: correctly specified functions execute without error (@test_bi_legend.R#35) 
  9. Failure: correctly specified functions execute without error (@test_bi_legend.R#36) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted