Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(idefix)
  Loading required package: shiny
  > 
  > test_check("idefix")
  -- 1. Failure: Errors for creating initial design in CEA function (@testCEA.R#12
  `CEA(...)` threw an error with unexpected message.
  Expected match: "The sum of the number of columns in the components of 'par.draws' should equal the number of columns of design matrix \\(including alternative specific constants\\)"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. idefix::CEA(...)
    7. dplyr::recode
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 2. Failure: Errors for creating initial design in CEA function (@testCEA.R#15
  `CEA(...)` threw an error with unexpected message.
  Expected match: "'start.des' should be a list"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. idefix::CEA(...)
    7. dplyr::recode
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 3. Failure: Errors for creating initial design in CEA function (@testCEA.R#16
  `CEA(...)` threw an error with unexpected message.
  Expected match: "'start.des' should contain matrices as components"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. idefix::CEA(...)
    7. dplyr::recode
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 4. Failure: Errors for creating initial design in CEA function (@testCEA.R#17
  `CEA(...)` threw an error with unexpected message.
  Expected match: "start designs have different dimensions"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. idefix::CEA(...)
    7. dplyr::recode
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 5. Failure: Errors for creating initial design in CEA function (@testCEA.R#17
  `CEA(...)` threw an error with unexpected message.
  Expected match: "number of rows of start design\\(s\\) does not match with 'n.alts' \\* 'n.sets'"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. idefix::CEA(...)
    7. dplyr::recode
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 6. Failure: Errors for creating initial design in CEA function (@testCEA.R#18
  `CEA(...)` threw an error with unexpected message.
  Expected match: "number of columns of start design\\(s\\) does not match with the number of columns in the design matrix"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. idefix::CEA(...)
    7. dplyr::recode
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 7. Error: Errors in Modfed function (@testModfed.R#3)  ----------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. idefix::Profiles(lvls = c(3, 3, 3), coding = c("D", "D", "D"))
   2. dplyr::recode
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 8. Failure: Errors for creating initial design in CEA function (@testSeqCEA.R
  `SeqCEA(...)` threw an error with unexpected message.
  Expected match: "number of columns of 'prior.covar' does not equal the number of columns of design matrix \\(including alternative specific constants\\)"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. idefix::SeqCEA(...)
    7. dplyr::recode
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 9. Failure: Errors for creating initial design in CEA function (@testSeqCEA.R
  `SeqCEA(...)` threw an error with unexpected message.
  Expected match: "number of columns in 'par.draws' does not match the number of columns in 'des'"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. idefix::SeqCEA(...)
    7. dplyr::recode
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 35 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 9 ]
  1. Failure: Errors for creating initial design in CEA function (@testCEA.R#129) 
  2. Failure: Errors for creating initial design in CEA function (@testCEA.R#158) 
  3. Failure: Errors for creating initial design in CEA function (@testCEA.R#164) 
  4. Failure: Errors for creating initial design in CEA function (@testCEA.R#170) 
  5. Failure: Errors for creating initial design in CEA function (@testCEA.R#177) 
  6. Failure: Errors for creating initial design in CEA function (@testCEA.R#184) 
  7. Error: Errors in Modfed function (@testModfed.R#3) 
  8. Failure: Errors for creating initial design in CEA function (@testSeqCEA.R#124) 
  9. Failure: Errors for creating initial design in CEA function (@testSeqCEA.R#132) 
  
  Error: testthat unit tests failed
  Execution halted