Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(photosynthesis)
  Loading required package: units
  udunits system database from D:/temp/RtmpIX6Avu/RLIBS_1a0287ed851be/units/share/udunits
  > 
  > test_check("photosynthesis")
  -- 1. Error: baked parameters do not equal unbaked unless Temp = 25 (@test-bake.
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::as.data.frame(.)
    8. dplyr::select(., tidyselect::ends_with("25"))
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: photosynthesis output has correct dimensions when tealeaves = FALSE
  `future_map_dfr()` requires dplyr
  Backtrace:
    1. photosynthesis::photosynthesis(...)
    2. photosynthesis:::find_As(...)
    3. base::as.list(.)
    3. purrr::transpose(.)
   10. furrr::future_map_dfr(...)
  
  -- 3. Error: photosynthesis output has correct dimensions when tealeaves = TRUE 
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. photosynthesis::photosynthesis(...)
    2. tealeaves::tleaves(...)
    3. pars %<>% purrr::map_if(~inherits(.x, "units"), drop_units)
   11. tealeaves:::make_parameter_sets(.)
    5. pars %<>% names()
    5. glue::glue("{x} = pars${x}", x = .)
    5. stringr::str_c(., collapse = ", ")
    5. glue::glue("tidyr::crossing({x})", x = .)
    5. base::parse(text = .)
    5. base::eval(.)
   12. purrr::transpose(.)
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::loadNamespace(name)
   28. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   29. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: unitless values match unit-ed values (@test-unitless.R#59)  -------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. photosynthesis::A_supply(C_chl, pars1, unitless = FALSE)
    2. photosynthesis:::.get_gtc(pars, unitless)
    3. photosynthesis:::.get_gbc(pars, "lower", unitless)
    4. tealeaves:::.get_gbw(pars$T_leaf, surface, pars, unitless)
    4. units::set_units(., m/s)
    4. gunit::convert_conductance(...)
   11. dplyr::pull(., .data$`umol/m^2/s/Pa`)
   12. base::getExportedValue(pkg, name)
   13. base::asNamespace(ns)
   14. base::getNamespace(ns)
   15. base::loadNamespace(name)
   16. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 72 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: baked parameters do not equal unbaked unless Temp = 25 (@test-bake.R#14) 
  2. Error: photosynthesis output has correct dimensions when tealeaves = FALSE (@test-photosynthesis-crossing.R#19) 
  3. Error: photosynthesis output has correct dimensions when tealeaves = TRUE (@test-photosynthesis-crossing.R#44) 
  4. Error: unitless values match unit-ed values (@test-unitless.R#59) 
  
  Error: testthat unit tests failed
  Execution halted