Running 'testthat.R' [105s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rbmi)
  > 
  > test_check("rbmi")
  [ FAIL 21 | WARN 0 | SKIP 12 | PASS 529 ]
  
  == Skipped tests ===============================================================
  * is_full_test() is not TRUE (12)
  
  == Failed tests ================================================================
  -- Error ('test-delta.R:249'): extract_imputed_dfs + delta ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi:::get_sim_data(50, sigma) at test-delta.R:249:4
    2. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    3. +-dplyr::mutate(., id = as.factor(id))
    4. +-dplyr::mutate(...)
    5. +-dplyr::left_join(., covars, by = "id")
    6. +-dplyr::arrange(., id, visit)
    7. +-dplyr::mutate(., visit = factor(visit))
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-draws.R:63'): approxbayes --------------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi (local) get_data(80) at test-draws.R:63:4
    2. | +-... %>% ... at test-draws.R:12:4
    3. | \-rbmi:::get_sim_data(n, sigma, trt = 8)
    4. |   \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    5. +-dplyr::mutate(...)
    6. +-dplyr::select(., -is_miss)
    7. +-dplyr::mutate(...)
    8. +-dplyr::mutate(., is_miss = rbinom(n(), 1, 0.5))
    9. +-dplyr::mutate(., id = as.factor(id))
   10. +-dplyr::mutate(...)
   11. +-dplyr::left_join(., covars, by = "id")
   12. +-dplyr::arrange(., id, visit)
   13. +-dplyr::mutate(., visit = factor(visit))
   14. \-base::loadNamespace(x)
   15.   +-base::namespaceImportFrom(...)
   16.   | \-base::asNamespace(ns)
   17.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   18.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-draws.R:78'): condmean - bootstrap -----------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi (local) get_data(70) at test-draws.R:78:4
    2. | +-... %>% ... at test-draws.R:12:4
    3. | \-rbmi:::get_sim_data(n, sigma, trt = 8)
    4. |   \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    5. +-dplyr::mutate(...)
    6. +-dplyr::select(., -is_miss)
    7. +-dplyr::mutate(...)
    8. +-dplyr::mutate(., is_miss = rbinom(n(), 1, 0.5))
    9. +-dplyr::mutate(., id = as.factor(id))
   10. +-dplyr::mutate(...)
   11. +-dplyr::left_join(., covars, by = "id")
   12. +-dplyr::arrange(., id, visit)
   13. +-dplyr::mutate(., visit = factor(visit))
   14. \-base::loadNamespace(x)
   15.   +-base::namespaceImportFrom(...)
   16.   | \-base::asNamespace(ns)
   17.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   18.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-draws.R:141'): bayes -------------------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi (local) get_data(140) at test-draws.R:141:4
    2. | +-... %>% ... at test-draws.R:12:4
    3. | \-rbmi:::get_sim_data(n, sigma, trt = 8)
    4. |   \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    5. +-dplyr::mutate(...)
    6. +-dplyr::select(., -is_miss)
    7. +-dplyr::mutate(...)
    8. +-dplyr::mutate(., is_miss = rbinom(n(), 1, 0.5))
    9. +-dplyr::mutate(., id = as.factor(id))
   10. +-dplyr::mutate(...)
   11. +-dplyr::left_join(., covars, by = "id")
   12. +-dplyr::arrange(., id, visit)
   13. +-dplyr::mutate(., visit = factor(visit))
   14. \-base::loadNamespace(x)
   15.   +-base::namespaceImportFrom(...)
   16.   | \-base::asNamespace(ns)
   17.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   18.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-draws.R:167'): nmar data is removed as expected ----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi:::get_sim_data(120, mysig) at test-draws.R:167:4
    2. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    3. +-dplyr::mutate(., id = as.factor(id))
    4. +-dplyr::mutate(...)
    5. +-dplyr::left_join(., covars, by = "id")
    6. +-dplyr::arrange(., id, visit)
    7. +-dplyr::mutate(., visit = factor(visit))
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-draws.R:241'): Failure is handled properly ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-... %>% select(-is_miss) at test-draws.R:241:4
    2. +-dplyr::select(., -is_miss)
    3. +-dplyr::mutate(...)
    4. +-dplyr::mutate(., is_miss = rbinom(n(), 1, 0.5))
    5. +-rbmi:::get_sim_data(bign, sigma, trt = 8)
    6. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    7. +-dplyr::mutate(., id = as.factor(id))
    8. +-dplyr::mutate(...)
    9. +-dplyr::left_join(., covars, by = "id")
   10. +-dplyr::arrange(., id, visit)
   11. +-dplyr::mutate(., visit = factor(visit))
   12. \-base::loadNamespace(x)
   13.   +-base::namespaceImportFrom(...)
   14.   | \-base::asNamespace(ns)
   15.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   16.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-draws.R:444'): draws is calling get_mmrm_sample properly -------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-... %>% select(-is_miss) at test-draws.R:444:4
    2. +-dplyr::select(., -is_miss)
    3. +-dplyr::mutate(...)
    4. +-dplyr::mutate(., is_miss = rbinom(n(), 1, 0.5))
    5. +-rbmi:::get_sim_data(bign, sigma, trt = 8)
    6. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    7. +-dplyr::mutate(., id = as.factor(id))
    8. +-dplyr::mutate(...)
    9. +-dplyr::left_join(., covars, by = "id")
   10. +-dplyr::arrange(., id, visit)
   11. +-dplyr::mutate(., visit = factor(visit))
   12. \-base::loadNamespace(x)
   13.   +-base::namespaceImportFrom(...)
   14.   | \-base::asNamespace(ns)
   15.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   16.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-draws.R:556'): draws.bmlmi works as expected -------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-... %>% select(-is_miss) at test-draws.R:556:4
    2. +-dplyr::select(., -is_miss)
    3. +-dplyr::mutate(...)
    4. +-dplyr::mutate(., is_miss = rbinom(n(), 1, 0.5))
    5. +-rbmi:::get_sim_data(bign, sigma, trt = 8)
    6. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    7. +-dplyr::mutate(., id = as.factor(id))
    8. +-dplyr::mutate(...)
    9. +-dplyr::left_join(., covars, by = "id")
   10. +-dplyr::arrange(., id, visit)
   11. +-dplyr::mutate(., visit = factor(visit))
   12. \-base::loadNamespace(x)
   13.   +-base::namespaceImportFrom(...)
   14.   | \-base::asNamespace(ns)
   15.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   16.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-draws.R:631'): quiet supress progress messages -----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-... %>% select(-is_miss) at test-draws.R:631:4
    2. +-dplyr::select(., -is_miss)
    3. +-dplyr::mutate(...)
    4. +-dplyr::mutate(., is_miss = rbinom(n(), 1, 0.5))
    5. +-rbmi:::get_sim_data(bign, sigma, trt = 8)
    6. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    7. +-dplyr::mutate(., id = as.factor(id))
    8. +-dplyr::mutate(...)
    9. +-dplyr::left_join(., covars, by = "id")
   10. +-dplyr::arrange(., id, visit)
   11. +-dplyr::mutate(., visit = factor(visit))
   12. \-base::loadNamespace(x)
   13.   +-base::namespaceImportFrom(...)
   14.   | \-base::asNamespace(ns)
   15.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   16.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-fullusage.R:865'): Three arms trial runs smoothly and gives expected results --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi:::get_sim_data(bign, sigma, trt = 8) at test-fullusage.R:865:4
    2. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    3. +-dplyr::mutate(., id = as.factor(id))
    4. +-dplyr::mutate(...)
    5. +-dplyr::left_join(., covars, by = "id")
    6. +-dplyr::arrange(., id, visit)
    7. +-dplyr::mutate(., visit = factor(visit))
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-longData.R:267'): Stratification works as expected -------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi (local) get_data(50) at test-longData.R:267:4
    2. | +-... %>% ... at test-longData.R:93:4
    3. | \-rbmi:::get_sim_data(n, sigma, trt = 8)
    4. |   \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    5. +-dplyr::mutate(...)
    6. +-dplyr::select(., -is_miss)
    7. +-dplyr::mutate(...)
    8. +-dplyr::mutate(., is_miss = rbinom(n(), 1, 0.5))
    9. +-dplyr::mutate(., id = as.factor(id))
   10. +-dplyr::mutate(...)
   11. +-dplyr::left_join(., covars, by = "id")
   12. +-dplyr::arrange(., id, visit)
   13. +-dplyr::mutate(., visit = factor(visit))
   14. \-base::loadNamespace(x)
   15.   +-base::namespaceImportFrom(...)
   16.   | \-base::asNamespace(ns)
   17.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   18.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-longData.R:304'): Group is a stratification variable by default --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi (local) get_data(60) at test-longData.R:304:4
    2. | +-... %>% ... at test-longData.R:93:4
    3. | \-rbmi:::get_sim_data(n, sigma, trt = 8)
    4. |   \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    5. +-dplyr::mutate(...)
    6. +-dplyr::select(., -is_miss)
    7. +-dplyr::mutate(...)
    8. +-dplyr::mutate(., is_miss = rbinom(n(), 1, 0.5))
    9. +-dplyr::mutate(., id = as.factor(id))
   10. +-dplyr::mutate(...)
   11. +-dplyr::left_join(., covars, by = "id")
   12. +-dplyr::arrange(., id, visit)
   13. +-dplyr::mutate(., visit = factor(visit))
   14. \-base::loadNamespace(x)
   15.   +-base::namespaceImportFrom(...)
   16.   | \-base::asNamespace(ns)
   17.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   18.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mcmc.R:88'): Verbose supression works --------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi:::get_sim_data(50, sigma) at test-mcmc.R:88:4
    2. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    3. +-dplyr::mutate(., id = as.factor(id))
    4. +-dplyr::mutate(...)
    5. +-dplyr::left_join(., covars, by = "id")
    6. +-dplyr::arrange(., id, visit)
    7. +-dplyr::mutate(., visit = factor(visit))
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mcmc.R:455'): fit_mcmc returns error if mmrm on original sample fails --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi (local) get_mcmc_sim_dat(100, mcoefs, sigma) at test-mcmc.R:455:4
    2. | \-... %>% dplyr::mutate(id = as.factor(id)) at test-mcmc.R:17:4
    3. +-dplyr::mutate(., id = as.factor(id))
    4. +-dplyr::mutate(...)
    5. +-dplyr::left_join(., covars, by = "id")
    6. +-dplyr::arrange(., id, visit)
    7. +-dplyr::mutate(., visit = factor(visit))
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mcmc.R:611'): invalid seed throws an error ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi:::get_sim_data(50, sigma) at test-mcmc.R:611:4
    2. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    3. +-dplyr::mutate(., id = as.factor(id))
    4. +-dplyr::mutate(...)
    5. +-dplyr::left_join(., covars, by = "id")
    6. +-dplyr::arrange(., id, visit)
    7. +-dplyr::mutate(., visit = factor(visit))
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mmrm.R:164'): (code run outside of `test_that()`) --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-get_sim_data(n = 40, sigma) %>% ... at test-mmrm.R:164:0
    2. +-dplyr::mutate(...)
    3. +-rbmi:::get_sim_data(n = 40, sigma)
    4. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    5. +-dplyr::mutate(., id = as.factor(id))
    6. +-dplyr::mutate(...)
    7. +-dplyr::left_join(., covars, by = "id")
    8. +-dplyr::arrange(., id, visit)
    9. +-dplyr::mutate(., visit = factor(visit))
   10. \-base::loadNamespace(x)
   11.   +-base::namespaceImportFrom(...)
   12.   | \-base::asNamespace(ns)
   13.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   14.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-parallel.R:110'): Basic parallisation works as expected --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-... %>% select(-is_miss) at test-parallel.R:110:4
    2. +-dplyr::select(., -is_miss)
    3. +-dplyr::mutate(...)
    4. +-dplyr::mutate(., is_miss = rbinom(n(), 1, 0.5))
    5. +-rbmi:::get_sim_data(bign, sigma, trt = 8)
    6. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    7. +-dplyr::mutate(., id = as.factor(id))
    8. +-dplyr::mutate(...)
    9. +-dplyr::left_join(., covars, by = "id")
   10. +-dplyr::arrange(., id, visit)
   11. +-dplyr::mutate(., visit = factor(visit))
   12. \-base::loadNamespace(x)
   13.   +-base::namespaceImportFrom(...)
   14.   | \-base::asNamespace(ns)
   15.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   16.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-print.R:1'): (code run outside of `test_that()`) ---------------
  Error: package or namespace load failed for 'tidyr' in library.dynam(lib, package, package.lib):
   DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::suppressPackageStartupMessages(...) at test-print.R:1:0
   2. | \-base::withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage"))
   3. \-base::library(tidyr) at test-print.R:3:4
   4.   \-base::tryCatch(...)
   5.     \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   6.       \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7.         \-value[[3L]](cond)
  -- Error ('test-reproducibility.R:92'): bayes - seed argument works without set.seed --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-get_sim_data(200, sigma, trt = 8) %>% ... at test-reproducibility.R:92:4
    2. +-dplyr::mutate(...)
    3. +-rbmi:::get_sim_data(200, sigma, trt = 8)
    4. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    5. +-dplyr::mutate(., id = as.factor(id))
    6. +-dplyr::mutate(...)
    7. +-dplyr::left_join(., covars, by = "id")
    8. +-dplyr::arrange(., id, visit)
    9. +-dplyr::mutate(., visit = factor(visit))
   10. \-base::loadNamespace(x)
   11.   +-base::namespaceImportFrom(...)
   12.   | \-base::asNamespace(ns)
   13.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   14.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-scaling.R:13'): scaler -----------------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rbmi:::get_sim_data(1000, mysig) at test-scaling.R:13:4
    2. | \-... %>% dplyr::mutate(id = as.factor(id)) at d:\RCompile\CRANpkg\local\4.1\rbmi.Rcheck\tests_i386\testthat\helper-misc.R:44:4
    3. +-dplyr::mutate(., id = as.factor(id))
    4. +-dplyr::mutate(...)
    5. +-dplyr::left_join(., covars, by = "id")
    6. +-dplyr::arrange(., id, visit)
    7. +-dplyr::mutate(., visit = factor(visit))
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulate_data.R:2'): (code run outside of `test_that()`) -------
  Error: package or namespace load failed for 'tidyr' in library.dynam(lib, package, package.lib):
   DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::library(tidyr) at test-simulate_data.R:2:0
   2.   \-base::tryCatch(...)
   3.     \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         \-value[[3L]](cond)
  
  [ FAIL 21 | WARN 0 | SKIP 12 | PASS 529 ]
  Error: Test failures
  Execution halted