Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(epubr)
  > 
  > test_check("epubr")
  -- 1. Error: epub and epub_meta read as expected (@test-epub.R#20)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epubr::epub_meta(file)
   2. dplyr::bind_rows
   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)
  
  -- 2. Error: epub_head returns as expected (@test-epub.R#79)  ------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epubr::epub_head(file)
   2. epubr::epub(x)
   3. dplyr::bind_rows
   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)
  
  -- 3. Error: epub_cat returns as expected (@test-epub.R#87)  -------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epubr::epub(file)
   2. dplyr::bind_rows
   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)
  
  -- 4. Error: (unknown) (@test-restructure.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: 12 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: epub and epub_meta read as expected (@test-epub.R#20) 
  2. Error: epub_head returns as expected (@test-epub.R#79) 
  3. Error: epub_cat returns as expected (@test-epub.R#87) 
  4. Error: (unknown) (@test-restructure.R#3) 
  
  Error: testthat unit tests failed
  Execution halted