Running 'testthat.R' [13s/15s]
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(lubridate)
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  > library(stringr)
  > library(correlationfunnel)
  == correlationfunnel Tip #2 ====================================================
  Clean your NA's prior to using `binarize()`.
  Missing values and cleaning data are critical to getting great correlations. :)
  > 
  > test_check("correlationfunnel")
  -- 3. Error: (unknown) (@test-binarize.R#45)  ----------------------------------
  Internal error: Trace data is not square.
  Backtrace:
    1. testthat::test_check("correlationfunnel")
    2. testthat:::test_package_dir(...)
    3. testthat::test_dir(...)
    4. testthat:::test_files(...)
   10. base::lapply(...)
   11. testthat:::FUN(X[[i]], ...)
   17. testthat::source_file(...)
   18. testthat:::test_code(NULL, exprs, env)
   27. [ base::eval(...) ] with 1 more call
   29. testthat::test_that(...)
       ...
   40. testthat:::o_apply(...)
   41. base::lapply(objects, function(x) x[[method]](...))
   42. testthat:::FUN(X[[i]], ...)
   43. x[[method]](...)
   47. testthat:::failure_summary(result, self$n_fail)
   50. testthat:::format.expectation(x)
   51. testthat:::format_with_trace(x)
   53. rlang:::format.rlang_trace(...)
   54. rlang:::trace_format_branch(x, max_frames, dir, srcrefs)
   55. rlang:::branch_uncollapse_pipe(trace)
  
  -- 4. Failure: Check correlation (@test-correlate.R#61)  -----------------------
  nrow(marketing_correlated_tbl) not equal to 74.
  1/1 mismatches
  [1] 65 - 74 == -9
  
  == testthat results  ===========================================================
  [ OK: 12 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: Check binarize - numeric (@test-binarize.R#47) 
  2. Error: Check binarize - numeric (@test-binarize.R#45) 
  3. Error: (unknown) (@test-binarize.R#45) 
  4. Failure: Check correlation (@test-correlate.R#61) 
  
  Error: testthat unit tests failed
  Execution halted