Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(lazytrade)
  > 
  > test_check("lazytrade")
  -- 1. Error: (unknown) (@test-aml_collect_data.R#2)  ---------------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 2. Error: (unknown) (@test-aml_test_model.R#2)  -----------------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 3. Error: (unknown) (@test-create_transposed_data.R#2)  ---------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 4. Error: (unknown) (@test-get_profit_factorDF.R#4)  ------------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 5. Error: (unknown) (@test-opt_aggregate_results.R#2)  ----------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 6. Error: (unknown) (@test-profit_factor.R#3)  ------------------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  == testthat results  ===========================================================
  [ OK: 11 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
  1. Error: (unknown) (@test-aml_collect_data.R#2) 
  2. Error: (unknown) (@test-aml_test_model.R#2) 
  3. Error: (unknown) (@test-create_transposed_data.R#2) 
  4. Error: (unknown) (@test-get_profit_factorDF.R#4) 
  5. Error: (unknown) (@test-opt_aggregate_results.R#2) 
  6. Error: (unknown) (@test-profit_factor.R#3) 
  
  Error: testthat unit tests failed
  Execution halted