Running 'plot.R' [1s/1s]
  Running 'set_units.R' [1s/1s]
  Running 'testthat.R' [5s/6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(units)
  udunits system database from /usr/share/xml/udunits
  > 
  > test_check("units")
  -- 1. Error: set_units works with symbols in character data, and resolves names 
  In '°C', '°C' is not recognized by udunits.
  
  See a table of valid unit symbols and names with valid_udunits().
  Custom user-defined units can be added with install_symbolic_unit().
  
  See a table of valid unit prefixes with valid_udunits_prefixes().
  Prefixes will automatically work with any user-defined unit.
  1: expect_equal(set_units(1:2, deg, mode = "standard"), set_units(1:2, "degree_C", mode = "standard")) at testthat/test_misc.R:89
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: set_units(1:2, deg, mode = "standard")
  5: set_units.numeric(1:2, deg, mode = "standard")
  6: as_units(value, ...)
  7: as_units.character(value, ...)
  8: as_units.call(expr, check_is_valid = check_is_valid)
  9: stop(.msg_units_not_recognized(vars[!valid], x), call. = FALSE)
  
  # 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: 416 | SKIPPED: 5 | WARNINGS: 13 | FAILED: 1 ]
  1. Error: set_units works with symbols in character data, and resolves names (@test_misc.R#89) 
  
  Error: testthat unit tests failed
  Execution halted