Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(starschemar)
  > 
  > test_check("starschemar")
  -- 1. Error: character_dimension works (@test-character_dimension.R#4)  --------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar::star_schema(mrs_age_test, dm_mrs_age)
   2. starschemar:::new_star_schema(tibble::as_tibble(ft), sd)
   3. dplyr::summarise_all
   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)
  
  -- 2. Error: character_dimensions works (@test-character_dimensions.R#4)  ------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar::star_schema(mrs_age_test, dm_mrs_age)
   2. starschemar:::new_star_schema(tibble::as_tibble(ft), sd)
   3. dplyr::summarise_all
   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: constellation works (@test-constellation.R#4)  --------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar::constellation(...)
    2. starschemar:::conform_all_dimensions(ct)
    3. starschemar:::conform_dimensions(ct, name = d)
    4. starschemar:::union_of_dimensions(dl, name = name, type = "conformed")
    6. dplyr::summarise_all
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: dereference_dimension works (@test-dereference_dimension.R#4)  ----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar:::dereference_dimension(...)
    2. starschemar:::dereference_dimension.fact_table(...)
    4. starschemar:::reference_dimension.fact_table(...)
    5. starschemar:::prepare_join(dimension[, -1])
    7. base::apply(...)
    8. starschemar:::FUN(newX[, i], ...)
    9. tidyr::replace_na
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   16. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   17. base::library.dynam(lib, package, package.lib)
  
  -- 5. Error: group_table works (@test-group_table.R#4)  ------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar:::group_table(st_mrs_age_test$fact$mrs_age[, -c(1:3)])
   2. starschemar:::group_table.fact_table(...)
   3. dplyr::group_by
   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)
  
  -- 6. Error: incremental_refresh_star_schema works (@test-incremental_refresh.R#
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar::incremental_refresh_star_schema(st, stw, existing = "ignore")
    2. starschemar:::incremental_refresh_star_schema.star_schema(...)
    4. starschemar:::incremental_refresh_dimension.dimension_table(...)
    5. dplyr::right_join
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 7. Error: incremental_refresh_constellation works (@test-incremental_refresh_
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar::incremental_refresh_constellation(ct_mrs_test, st_mrs_age_w_test)
    2. starschemar:::incremental_refresh_constellation.constellation(...)
    4. starschemar:::incremental_refresh_star_schema.star_schema(...)
    6. starschemar:::incremental_refresh_dimension.dimension_table(...)
    7. dplyr::right_join
    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)
  
  -- 8. Error: incremental_refresh_dimension works (@test-incremental_refresh_dime
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar:::incremental_refresh_dimension(...)
   2. starschemar:::incremental_refresh_dimension.dimension_table(...)
   3. dplyr::right_join
   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)
  
  -- 9. Error: incremental_refresh_fact works (@test-incremental_refresh_fact.R#16
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar:::incremental_refresh_fact(facts1, facts2, existing = "ignore")
   2. starschemar:::incremental_refresh_fact.fact_table(...)
   3. dplyr::intersect
   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: is_dimension_in_updates works (@test-is_dimension_in_updates.R#4) 
  package or namespace load failed for 'tidyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(tidyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 11. Error: match_records works (@test-match_records.R#4)  -------------------
  package or namespace load failed for 'tidyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(tidyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 12. Error: modify_conformed_dimension_records works (@test-modify_conformed_d
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar::modify_conformed_dimension_records(...)
    2. starschemar:::modify_conformed_dimension_records.constellation(...)
    3. starschemar:::update_dimensions(ct$dimension, updates)
    5. starschemar:::update_dimension.dimension_table(...)
    6. starschemar:::prepare_join(dim_txt[, -1])
    8. base::apply(...)
    9. starschemar:::FUN(newX[, i], ...)
   10. tidyr::replace_na
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   17. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   18. base::library.dynam(lib, package, package.lib)
  
  -- 13. Error: modify_dimension_records works (@test-modify_dimension_records.R#4
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar::modify_dimension_records(st_mrs_age_test, updates_st_mrs_age_test)
    2. starschemar:::modify_dimension_records.star_schema(...)
    3. starschemar:::update_dimensions(dimensions, updates)
    5. starschemar:::update_dimension.dimension_table(...)
    6. starschemar:::prepare_join(dim_txt[, -1])
    8. base::apply(...)
    9. starschemar:::FUN(newX[, i], ...)
   10. tidyr::replace_na
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   17. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   18. base::library.dynam(lib, package, package.lib)
  
  -- 14. Error: new_dimension_table works (@test-new_dimension_table.R#4)  -------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar:::new_dimension_table(...)
   2. dplyr::arrange_all
   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)
  
  -- 15. Error: prepare_join works (@test-prepare_join.R#4)  ---------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar:::prepare_join(mrs_age_test)
    3. base::apply(...)
    4. starschemar:::FUN(newX[, i], ...)
    5. tidyr::replace_na
    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)
  
  -- 16. Error: reference_dimension works (@test-reference_dimension.R#4)  -------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar:::dereference_dimension(...)
    2. starschemar:::dereference_dimension.fact_table(...)
    4. starschemar:::reference_dimension.fact_table(...)
    5. starschemar:::prepare_join(dimension[, -1])
    7. base::apply(...)
    8. starschemar:::FUN(newX[, i], ...)
    9. tidyr::replace_na
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   16. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   17. base::library.dynam(lib, package, package.lib)
  
  -- 17. Error: replace_dimension_in_facts works (@test-replace_dimension_in_facts
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar:::replace_dimension_in_facts(...)
    2. starschemar:::replace_dimension_in_facts.star_schema(...)
    3. starschemar:::replace_role_dimension_in_facts(...)
    5. starschemar:::dereference_dimension.fact_table(...)
    7. starschemar:::reference_dimension.fact_table(...)
    8. starschemar:::prepare_join(dimension[, -1])
   10. base::apply(...)
   11. starschemar:::FUN(newX[, i], ...)
   12. tidyr::replace_na
   13. base::getExportedValue(pkg, name)
   14. base::asNamespace(ns)
   15. base::getNamespace(ns)
   16. base::loadNamespace(name)
   19. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   20. base::library.dynam(lib, package, package.lib)
  
  -- 18. Error: role_playing_dimension works (@test-role_playing_dimension.R#4)  -
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar::star_schema(mrs_age_test, dm_mrs_age)
   2. starschemar:::new_star_schema(tibble::as_tibble(ft), sd)
   3. dplyr::summarise_all
   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)
  
  -- 19. Error: snake_case works (@test-snake_case.R#4)  -------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar::star_schema(mrs_age_test, dm_mrs_age)
   2. starschemar:::new_star_schema(tibble::as_tibble(ft), sd)
   3. dplyr::summarise_all
   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)
  
  -- 20. Error: snake_case_dimension works (@test-snake_case_dimension.R#4)  -----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar::star_schema(mrs_age_test, dm_mrs_age)
   2. starschemar:::new_star_schema(tibble::as_tibble(ft), sd)
   3. dplyr::summarise_all
   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)
  
  -- 21. Error: snake_case_fact works (@test-snake_case_fact.R#4)  ---------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar::star_schema(mrs_cause_test, dm_mrs_cause)
   2. starschemar:::new_star_schema(tibble::as_tibble(ft), sd)
   3. dplyr::summarise_all
   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)
  
  -- 22. Error: star_schema works (@test-star_schema.R#4)  -----------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar::star_schema(mrs_age_test, dm_mrs_age)
   2. starschemar:::new_star_schema(tibble::as_tibble(ft), sd)
   3. dplyr::summarise_all
   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)
  
  -- 23. Error: star_schema_as_flat_table works (@test-star_schema_as_flat_table.R
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar::star_schema_as_flat_table(st_mrs_age_test)
    2. starschemar:::star_schema_as_flat_table.star_schema(st_mrs_age_test)
    4. starschemar:::dereference_dimension.fact_table(...)
    6. starschemar:::reference_dimension.fact_table(...)
    7. dplyr::inner_join
    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)
  
  -- 24. Error: union_of_dimensions works (@test-union_of_dimensions.R#4)  -------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. starschemar:::union_of_dimensions(...)
   3. dplyr::summarise_all
   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)
  
  -- 25. Error: update_dimension works (@test-update_dimension.R#4)  -------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar:::update_dimension(...)
    2. starschemar:::update_dimension.dimension_table(...)
    3. starschemar:::prepare_join(dim_txt[, -1])
    5. base::apply(...)
    6. starschemar:::FUN(newX[, i], ...)
    7. tidyr::replace_na
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   14. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   15. base::library.dynam(lib, package, package.lib)
  
  -- 26. Error: update_dimensions works (@test-update_dimensions.R#4)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar:::update_dimensions(ct_mrs_test$dimension, updates_st_mrs_age_test)
    3. starschemar:::update_dimension.dimension_table(...)
    4. starschemar:::prepare_join(dim_txt[, -1])
    6. base::apply(...)
    7. starschemar:::FUN(newX[, i], ...)
    8. tidyr::replace_na
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   15. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   16. base::library.dynam(lib, package, package.lib)
  
  -- 27. Error: update_facts_with_dimensions works (@test-update_facts_with_dimens
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. starschemar:::update_dimensions(dimensions, updates_st_mrs_age_test)
    3. starschemar:::update_dimension.dimension_table(...)
    4. starschemar:::prepare_join(dim_txt[, -1])
    6. base::apply(...)
    7. starschemar:::FUN(newX[, i], ...)
    8. tidyr::replace_na
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   15. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   16. base::library.dynam(lib, package, package.lib)
  
  -- 28. Error: update_record works (@test-update_record.R#4)  -------------------
  package or namespace load failed for 'tidyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(tidyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 29. Error: update_selection works (@test-update_selection.R#4)  -------------
  package or namespace load failed for 'tidyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(tidyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 30. Error: update_selection_general works (@test-update_selection_general.R#4
  package or namespace load failed for 'tidyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(tidyr)
   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: 49 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 30 ]
  1. Error: character_dimension works (@test-character_dimension.R#4) 
  2. Error: character_dimensions works (@test-character_dimensions.R#4) 
  3. Error: constellation works (@test-constellation.R#4) 
  4. Error: dereference_dimension works (@test-dereference_dimension.R#4) 
  5. Error: group_table works (@test-group_table.R#4) 
  6. Error: incremental_refresh_star_schema works (@test-incremental_refresh.R#16) 
  7. Error: incremental_refresh_constellation works (@test-incremental_refresh_constellation.R#4) 
  8. Error: incremental_refresh_dimension works (@test-incremental_refresh_dimension.R#6) 
  9. Error: incremental_refresh_fact works (@test-incremental_refresh_fact.R#16) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted