Running 'testthat.R' [30s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(photosynthesis)
  Loading required package: ggplot2
  Loading required package: minpack.lm
  Loading required package: units
  udunits database from D:/temp/RtmpAbxlsN/RLIBS_181c70938e7/units/share/udunits/udunits2.xml
  > 
  > test_check("photosynthesis")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%[ FAIL 6 | WARN 0 | SKIP 0 | PASS 149 ]
  
  == Failed tests ================================================================
  -- Failure (test-unitless.R:56:3): unitless values match unit-ed values --------
  `Ad1` not equal to `Ad2`.
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  target is units, current is numeric
  -- Failure (test-unitless.R:60:3): unitless values match unit-ed values --------
  `As1` not equal to `As2`.
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  target is units, current is numeric
  -- Failure (test-unitless.R:108:3): unitless values match unit-ed values -------
  `J1` not equal to `J2`.
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  target is units, current is numeric
  -- Failure (test-unitless.R:112:3): unitless values match unit-ed values -------
  `Wc1` not equal to `Wc2`.
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  target is units, current is numeric
  -- Failure (test-unitless.R:116:3): unitless values match unit-ed values -------
  `Wr1` not equal to `Wr2`.
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  target is units, current is numeric
  -- Failure (test-unitless.R:120:3): unitless values match unit-ed values -------
  `Wt1` not equal to `Wt2`.
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  target is units, current is numeric
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 149 ]
  Error: Test failures
  Execution halted