Running ‘testthat.R’ [27s/65s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(easyr)
  > 
  > test_check("easyr")
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  Loading required package: 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
  
  easyr::ecopy does not work on unix. 
  easyr::ecopy does not work on unix. 
  easyr::ecopy does not work on unix. 
  No matches found.
  No matches found.
  No matches found.
  No matches found.
  easyr::tonum: NAs were created. Returning the vector unchanged. 
    Problematic values include: [ 5'10 ] 
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_dict.R:5:3): works as expected ──────────────────────────────────
  Error: invalid value 0 for 'digits' argument
  Backtrace:
      █
   1. ├─utils::capture.output(dict(iris, ecopy = TRUE)) test_dict.R:5:2
   2. │ └─base::withVisible(...elt(i))
   3. └─easyr::dict(iris, ecopy = TRUE)
   4.   └─easyr::fmat(idts[[i]])
   5.     └─easyr:::nSigFormatter(...)
   6.       ├─base::format(...)
   7.       └─base::format.default(...)
   8.         └─base::prettyNum(...)
  ── Error (test_fmat.R:5:3): works as expected ──────────────────────────────────
  Error: invalid value 0 for 'digits' argument
  Backtrace:
      █
   1. ├─testthat::expect_equal(fmat(1000, "$", with.unit = TRUE), "$ 1 K") test_fmat.R:5:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─easyr::fmat(1000, "$", with.unit = TRUE)
   5.   └─easyr:::nSigFormatter(...)
   6.     ├─base::format(...)
   7.     └─base::format.default(...)
   8.       └─base::prettyNum(...)
  
  [ FAIL 2 | WARN 49 | SKIP 1 | PASS 273 ]
  Error: Test failures
  Execution halted