Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mtdesign)
  > 
  > test_check("mtdesign")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 73 ]
  
  == Failed tests ================================================================
  -- Error ('test-augmentGrid.R:2'): augmentGrid works ---------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-mtdesign::createGrid(p0 = 0.1, p1 = 0.5, alpha = 0.05, beta = 0.2) at test-augmentGrid.R:2:2
   2. | \-tibble::tibble() %>% tidyr::expand(nTotal, nStage1)
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-createGrid.R:2'): createGrid works -----------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-mtdesign::createGrid(p0 = 0.1, p1 = 0.5, alpha = 0.05, beta = 0.2) at test-createGrid.R:2:2
   2. | \-tibble::tibble() %>% tidyr::expand(nTotal, nStage1)
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-obtainDesign.R:5'): obtainDesign works -------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-mtdesign::obtainDesign(...) at test-obtainDesign.R:5:2
   2. | +-base::do.call(...)
   3. | \-mtdesign::createGrid(...)
   4. |   \-tibble::tibble() %>% tidyr::expand(nTotal, nStage1)
   5. \-base::loadNamespace(x)
   6.   +-base::namespaceImportFrom(...)
   7.   | \-base::asNamespace(ns)
   8.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   9.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-powerPlot.R:2'): multiplication works --------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-mtdesign::obtainDesign(p0 = 0.1, p1 = 0.5, alpha = 0.1, beta = 0.1) at test-powerPlot.R:2:2
   2. | +-base::do.call(...)
   3. | \-mtdesign::createGrid(p0 = 0.1, p1 = 0.5, alpha = 0.1, beta = 0.1)
   4. |   \-tibble::tibble() %>% tidyr::expand(nTotal, nStage1)
   5. \-base::loadNamespace(x)
   6.   +-base::namespaceImportFrom(...)
   7.   | \-base::asNamespace(ns)
   8.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   9.     \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 73 ]
  Error: Test failures
  Execution halted