Running 'plot.R' [1s]
  Running 'set_units.R' [1s]
  Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(units)
  udunits system database from D:/temp/RtmpWmdKIo/RLIBS_2a6a4279632d8/units/share/udunits
  > 
  > test_check("units")
  -- 1. Error: we can compute powers +/- 1/n for integer n (@test_arith.R#125)  --
  non-conformable arrays
  1: expect_equal(as.numeric(set_units(1:10, m^-3)^(-1/3)), (1:10)^(-1/3)) at testthat/test_arith.R:125
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: Ops.units(set_units(1:10, m^-3), (-1/3))
  
  # A tibble: 3 x 1
            a
        [m/s]
  1 1.0000000
  2 0.5000000
  3 0.3333333
  Object of class units:
   num [1:3] 1 0.5 0.333
   - attr(*, "units")=List of 2
    ..$ numerator  : chr "m"
    ..$ denominator: chr "s"
    ..- attr(*, "class")= chr "symbolic_units"
  Mixed units: mg (3), mm (3) 
  1e+06 [mm], 2e+06 [mm], 3e+06 [mm], 4000 [mg], 5000 [mg], 6000 [mg] 
  # A tibble: 6 x 1
                m
    <mixed_units>
  1    1e+06 [mm]
  2    2e+06 [mm]
  3    3e+06 [mm]
  4     4000 [mg]
  5     5000 [mg]
  6     6000 [mg]
  Object of class mixed_units:
  List of 6
   $ :Object of class units:
   num 1e+06
    ..- attr(*, "units")=List of 2
    .. ..$ numerator  : chr "mm"
    .. ..$ denominator: chr(0) 
    .. ..- attr(*, "class")= chr "symbolic_units"
   $ :Object of class units:
   num 2e+06
    ..- attr(*, "units")=List of 2
    .. ..$ numerator  : chr "mm"
    .. ..$ denominator: chr(0) 
    .. ..- attr(*, "class")= chr "symbolic_units"
   $ :Object of class units:
   num 3e+06
    ..- attr(*, "units")=List of 2
    .. ..$ numerator  : chr "mm"
    .. ..$ denominator: chr(0) 
    .. ..- attr(*, "class")= chr "symbolic_units"
   $ :Object of class units:
   num 4000
    ..- attr(*, "units")=List of 2
    .. ..$ numerator  : chr "mg"
    .. ..$ denominator: chr(0) 
    .. ..- attr(*, "class")= chr "symbolic_units"
   $ :Object of class units:
   num 5000
    ..- attr(*, "units")=List of 2
    .. ..$ numerator  : chr "mg"
    .. ..$ denominator: chr(0) 
    .. ..- attr(*, "class")= chr "symbolic_units"
   $ :Object of class units:
   num 6000
    ..- attr(*, "units")=List of 2
    .. ..$ numerator  : chr "mg"
    .. ..$ denominator: chr(0) 
    .. ..- attr(*, "class")= chr "symbolic_units"
  == testthat results  ===========================================================
  OK: 375 SKIPPED: 7 FAILED: 1
  1. Error: we can compute powers +/- 1/n for integer n (@test_arith.R#125) 
  
  Error: testthat unit tests failed
  Execution halted