Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(errorlocate)
  Loading required package: validate
  
  Attaching package: 'validate'
  
  The following object is masked from 'package:testthat':
  
      compare
  
  > 
  > test_check("errorlocate")
  -- Skip (test-locate_errors.R:66:5): locate_errors: handles Inf weights --------
  Reason: Enhancement
  
  -- ERROR (test-locate_errors.R:161:5): locate_errors: handles a contradiction in
  Error: 'what' must be a function or character string
  Backtrace:
       x
    1. +-testthat::expect_warning(el <- locate_errors(d, rules)) test-locate_errors.R:161:4
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-errorlocate::locate_errors(d, rules)
    7. \-errorlocate::locate_errors(d, rules)
    8.   \-errorlocate:::.local(data, x, ..., timeout = timeout)
    9.     +-errorlocate::locate_errors(...)
   10.     \-errorlocate::locate_errors(...)
   11.       \-errorlocate:::.local(data, x, ..., timeout = timeout)
   12.         \-x$locate(data = data, weight = weight, ..., timeout = timeout)
   13.           \-errorlocate:::log_derived_data(data, log_transform)
   14.             \-base::do.call(log_fn, list(d))
  
  -- ERROR (test-locate_errors.R:174:5): locate_errors: handles small log transfor
  Error: 'what' must be a function or character string
  Backtrace:
      x
   1. +-errorlocate::locate_errors(d, rules) test-locate_errors.R:174:4
   2. \-errorlocate::locate_errors(d, rules)
   3.   \-errorlocate:::.local(data, x, ..., timeout = timeout)
   4.     +-errorlocate::locate_errors(...)
   5.     \-errorlocate::locate_errors(...)
   6.       \-errorlocate:::.local(data, x, ..., timeout = timeout)
   7.         \-x$locate(data = data, weight = weight, ..., timeout = timeout)
   8.           \-errorlocate:::log_derived_data(data, log_transform)
   9.             \-base::do.call(log_fn, list(d))
  
  -- Skipped tests  --------------------------------------------------------------
  * Enhancement (1)
  
  == testthat results  ===========================================================
  ERROR (test-locate_errors.R:161:5): locate_errors: handles a contradiction in log constraints 
  ERROR (test-locate_errors.R:174:5): locate_errors: handles small log transformed variables 
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 154 ]
  Error: Test failures
  Execution halted