Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(checkmate)
  > library(testthat)
  > library(MBNMAdose)
  
  Attaching package: 'MBNMAdose'
  
  The following object is masked from 'package:base':
  
      rank
  
  > library(igraph)
  
  Attaching package: 'igraph'
  
  The following object is masked from 'package:testthat':
  
      compare
  
  The following objects are masked from 'package:stats':
  
      decompose, spectrum
  
  The following object is masked from 'package:base':
  
      union
  
  > 
  > testthat::test_check("MBNMAdose")
  -- 1. Failure: mbnma.validate.data functions correctly (@test_prepare.functions.
  `mbnma.validate.data(df.err)` threw an error with unexpected message.
  Expected match: "single study arm"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(mbnma.validate.data(df.err), regexp = "single study arm")
    6. MBNMAdose:::mbnma.validate.data(df.err)
    7. dplyr::arrange
    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: mbnma.validate.data functions correctly (@test_prepare.functions.
  `mbnma.validate.data(df.err)` threw an error with unexpected message.
  Expected match: "All values for `dose`"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(mbnma.validate.data(df.err), regexp = "All values for `dose`")
    6. MBNMAdose:::mbnma.validate.data(df.err)
    7. dplyr::arrange
    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: mbnma.validate.data functions correctly (@test_prepare.functions.
  `mbnma.validate.data(df.err)` threw an error with unexpected message.
  Expected match: "Required variable names are"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(mbnma.validate.data(df.err), regexp = "Required variable names are")
    6. MBNMAdose:::mbnma.validate.data(df.err)
    7. dplyr::arrange
    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: mbnma.validate.data functions correctly (@test_prepare.functions.
  `mbnma.validate.data(df.err)` threw an error with unexpected message.
  Expected match: "NA values in:"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(mbnma.validate.data(df.err), regexp = "NA values in:")
    6. MBNMAdose:::mbnma.validate.data(df.err)
    7. dplyr::arrange
    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: mbnma.validate.data functions correctly (@test_prepare.functions.
  `mbnma.validate.data(df.err)` threw an error with unexpected message.
  Expected match: "Class codes are different"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(mbnma.validate.data(df.err), regexp = "Class codes are different")
    6. MBNMAdose:::mbnma.validate.data(df.err)
    7. dplyr::arrange
    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. Error: mbnma.validate.data functions correctly (@test_prepare.functions.R#
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(mbnma.validate.data(df.class))
    9. MBNMAdose:::mbnma.validate.data(df.class)
   10. dplyr::arrange
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  -- 7. Error: add_index functions correctly (@test_prepare.functions.R#48)  -----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. MBNMAdose::add_index(df.list[[df]])
   2. dplyr::arrange
   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. Error: mbnma.network functions correctly (@test_prepare.functions.R#69)  -
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_message(mbnma.network(df1))
    6. MBNMAdose::mbnma.network(df1)
    7. MBNMAdose:::mbnma.validate.data(data.ab)
    8. dplyr::arrange
    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)
  
  -- 9. Error: mbnma.comparions functions correctly (@test_prepare.functions.R#92)
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. MBNMAdose::mbnma.network(datalist[[i]])
   2. MBNMAdose:::mbnma.validate.data(data.ab)
   3. dplyr::arrange
   4. base::getExportedValue(pkg, name)
   5. base::asNamespace(ns)
   6. base::getNamespace(ns)
   7. base::loadNamespace(name)
   8. base::library.dynam(lib, package, package.lib)
  
  -- 10. Error: drop.disconnected functions correctly (@test_prepare.functions.R#1
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. MBNMAdose::mbnma.network(df1)
   2. MBNMAdose:::mbnma.validate.data(data.ab)
   3. dplyr::arrange
   4. base::getExportedValue(pkg, name)
   5. base::asNamespace(ns)
   6. base::getNamespace(ns)
   7. base::loadNamespace(name)
   8. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 38 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 10 ]
  1.  Failure: mbnma.validate.data functions correctly (@test_prepare.functions.R#20) 
  2.  Failure: mbnma.validate.data functions correctly (@test_prepare.functions.R#24) 
  3.  Failure: mbnma.validate.data functions correctly (@test_prepare.functions.R#27) 
  4.  Failure: mbnma.validate.data functions correctly (@test_prepare.functions.R#31) 
  5.  Failure: mbnma.validate.data functions correctly (@test_prepare.functions.R#35) 
  6.  Error: mbnma.validate.data functions correctly (@test_prepare.functions.R#37) 
  7.  Error: add_index functions correctly (@test_prepare.functions.R#48) 
  8.  Error: mbnma.network functions correctly (@test_prepare.functions.R#69) 
  9.  Error: mbnma.comparions functions correctly (@test_prepare.functions.R#92) 
  10. Error: drop.disconnected functions correctly (@test_prepare.functions.R#112) 
  
  Error: testthat unit tests failed
  Execution halted