Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(sqlscore)
  > 
  > test_check("sqlscore")
  -- 1. Error: (unknown) (@test-create_statement.R#9)  ---------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. sqlscore:::fqtn(src_tbl, schema = src_schema, catalog = src_catalog)
    2. dbplyr::simulate_dbi
    3. base::getExportedValue(pkg, name)
    4. base::asNamespace(ns)
    5. base::getNamespace(ns)
    6. base::loadNamespace(name)
    9. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   10. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: Basic table names are escaped (@test-fqtn.R#4)  -------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(fqtn("tbl"), dbplyr::sql("\"tbl\""))
    4. sqlscore:::fqtn("tbl")
    5. dbplyr::simulate_dbi
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   12. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: More complicated names are escaped (@test-fqtn.R#10)  -------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(fqtn("foo bar"), dbplyr::sql("\"foo bar\""))
    4. sqlscore:::fqtn("foo bar")
    5. dbplyr::simulate_dbi
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   12. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: (unknown) (@test-select_statement.R#9)  ---------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. sqlscore:::fqtn(src_tbl, schema = src_schema, catalog = src_catalog)
    2. dbplyr::simulate_dbi
    3. base::getExportedValue(pkg, name)
    4. base::asNamespace(ns)
    5. base::getNamespace(ns)
    6. base::loadNamespace(name)
    9. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   10. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 80 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: (unknown) (@test-create_statement.R#9) 
  2. Error: Basic table names are escaped (@test-fqtn.R#4) 
  3. Error: More complicated names are escaped (@test-fqtn.R#10) 
  4. Error: (unknown) (@test-select_statement.R#9) 
  
  Error: testthat unit tests failed
  Execution halted