Running 'testthat.R' [3s/4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(simstandard)
  > 
  > test_check("simstandard")
  -- 1. Error: correlation model (@testthat.R#8)  --------------------------------
  there is no package called 'tidyr'
  Backtrace:
    1. testthat::expect_equal(...)
    4. simstandard::sim_standardized_matrices(m)
    5. simstandard::fixed2free(m)
    4. lavaan::lavaanify(., fixed.x = FALSE)
    4. dplyr::filter(., .data$lhs != .data$rhs)
    4. dplyr::group_by(., .data$lhs, .data$op)
    4. dplyr::summarise(., rhs = paste(.data$rhs, collapse = " + "))
    4. dplyr::arrange(., dplyr::desc(.data$op))
   11. tidyr::unite(., "l", .data$lhs, .data$op, .data$rhs, sep = " ")
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   19. base:::withOneRestart(expr, restarts[[1L]])
   20. base:::doWithOneRestart(return(expr), restart)
  
  -- 2. Error: composites (@testthat.R#18)  --------------------------------------
  there is no package called 'tidyr'
  Backtrace:
    1. simstandard::sim_standardized_matrices(m)
    2. simstandard::fixed2free(m)
    3. lavaan::lavaanify(., fixed.x = FALSE)
    3. dplyr::filter(., .data$lhs != .data$rhs)
    3. dplyr::group_by(., .data$lhs, .data$op)
    3. dplyr::summarise(., rhs = paste(.data$rhs, collapse = " + "))
    3. dplyr::arrange(., dplyr::desc(.data$op))
   10. tidyr::unite(., "l", .data$lhs, .data$op, .data$rhs, sep = " ")
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   16. base:::withOneRestart(expr, restarts[[1L]])
   17. base:::doWithOneRestart(return(expr), restart)
  
  == testthat results  ===========================================================
  [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: correlation model (@testthat.R#8) 
  2. Error: composites (@testthat.R#18) 
  
  Error: testthat unit tests failed
  Execution halted