Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(gravitas)
  > 
  > test_check("gravitas")
  -- 1. Error: build_gran expected output minute_hhour (@test-build_gran.R#27)  --
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(build_gran(x, "minute", "hhour"), 8)
    4. gravitas:::build_gran(x, "minute", "hhour")
    5. gravitas:::build_gran(x, lgran_ordr1, ugran)
    8. gravitas:::qhour_hhour(x, ...)
    9. dplyr::if_else
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: build_gran expected output month_semester (@test-build_gran.R#35)  
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(build_gran(x, "month", "semester"), 5)
    4. gravitas:::build_gran(x, "month", "semester")
    5. gravitas:::build_gran(x, lgran, lgran_ordr1)
    8. gravitas:::month_quarter(x, ...)
    9. dplyr::if_else
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: build_gran expected output week_semester (@test-build_gran.R#43)  -
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(build_gran(x, "week", "semester"), 19)
    4. gravitas:::build_gran(x, "week", "semester")
    7. gravitas:::day_semester(x, ...)
    8. dplyr::if_else
    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)
  
  -- 4. Error: build_gran expected output second_hhour (@test-build_gran.R#47)  --
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(build_gran(x, "second", "hhour"), 424)
    4. gravitas:::build_gran(x, "second", "hhour")
    5. gravitas:::build_gran(x, lgran_ordr1, ugran)
    6. gravitas:::build_gran(x, lgran_ordr1, ugran)
    9. gravitas:::qhour_hhour(x, ...)
   10. dplyr::if_else
   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)
  
  -- 5. Error: (unknown) (@test-create_gran.R#8)  --------------------------------
  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: day_fortnight outputs a numeric value (@test-day-order-up.R#13)  --
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(day_fortnight(x), "numeric")
    4. gravitas:::day_fortnight(x)
    5. dplyr::if_else
    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: day_fortnight expected output (@test-day-order-up.R#17)  ----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(day_fortnight(x), 14)
    4. gravitas:::day_fortnight(x)
    5. dplyr::if_else
    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)
  
  -- 8. Error: day_fortnight output length equals input length (@test-day-order-up
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_length(day_fortnight(x), length(x))
    4. gravitas:::day_fortnight(x)
    5. dplyr::if_else
    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)
  
  -- 9. Error: day_semester outputs a numeric value (@test-day-order-up.R#32)  ---
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(day_semester(x), "numeric")
    4. gravitas:::day_semester(x)
    5. dplyr::if_else
    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)
  
  -- 10. Error: day_semester expected output (@test-day-order-up.R#36)  ----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(day_semester(x), 183)
    4. gravitas:::day_semester(x)
    5. dplyr::if_else
    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)
  
  -- 11. Error: day_semester output length equals input length (@test-day-order-up
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_length(day_semester(x), length(x))
    4. gravitas:::day_semester(x)
    5. dplyr::if_else
    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)
  
  -- 12. Error: (unknown) (@test-gran_advice.R#8)  -------------------------------
  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)
  
  -- 13. Error: (unknown) (@test-harmony.R#7)  -----------------------------------
  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)
  
  -- 14. Error: (unknown) (@test-is_harmony.R#8)  --------------------------------
  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)
  
  -- 15. Error: qhour_hhour outputs a numeric value (@test-one-order-up.R#55)  ---
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(qhour_hhour(x), "numeric")
    4. gravitas:::qhour_hhour(x)
    5. dplyr::if_else
    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)
  
  -- 16. Error: qhour_hhour expected output (@test-one-order-up.R#60)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(qhour_hhour(x), 1)
    4. gravitas:::qhour_hhour(x)
    5. dplyr::if_else
    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)
  
  -- 17. Error: qhour_hhour output length equals input length (@test-one-order-up.
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_length(qhour_hhour(x), length(x))
    4. gravitas:::qhour_hhour(x)
    5. dplyr::if_else
    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)
  
  -- 18. Failure: qhour_hhour error with null input (@test-one-order-up.R#69)  ---
  `qhour_hhour()` threw an error with unexpected message.
  Expected match: "argument \"x\" is missing, with no default"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(qhour_hhour(), "argument \"x\" is missing, with no default")
    6. gravitas:::qhour_hhour()
    7. dplyr::if_else
    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)
  
  -- 19. Error: hhour_hour outputs a numeric value (@test-one-order-up.R#77)  ----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(hhour_hour(x), "numeric")
    4. gravitas:::hhour_hour(x)
    5. dplyr::if_else
    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)
  
  -- 20. Error: hhour_hour expected output (@test-one-order-up.R#82)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(hhour_hour(x), 2)
    4. gravitas:::hhour_hour(x)
    5. dplyr::if_else
    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)
  
  -- 21. Error: hhour_hour output length equals input length (@test-one-order-up.R
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_length(hhour_hour(x), length(x))
    4. gravitas:::hhour_hour(x)
    5. dplyr::if_else
    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)
  
  -- 22. Failure: hhour_hour error with null input (@test-one-order-up.R#92)  ----
  `hhour_hour()` threw an error with unexpected message.
  Expected match: "argument \"x\" is missing, with no default"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(hhour_hour(), "argument \"x\" is missing, with no default")
    6. gravitas:::hhour_hour()
    7. dplyr::if_else
    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)
  
  -- 23. Error: week_fortnight outputs a numeric value (@test-one-order-up.R#97)  
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(week_fortnight(x), "numeric")
    4. gravitas:::week_fortnight(x)
    5. dplyr::if_else
    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)
  
  -- 24. Error: week_fortnight expected output (@test-one-order-up.R#102)  -------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(week_fortnight(x), 1)
    4. gravitas:::week_fortnight(x)
    5. dplyr::if_else
    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)
  
  -- 25. Error: week_fortnight output length equals input length (@test-one-order-
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_length(week_fortnight(x), length(x))
    4. gravitas:::week_fortnight(x)
    5. dplyr::if_else
    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)
  
  -- 26. Failure: week_fortnight error with null input (@test-one-order-up.R#111) 
  `week_fortnight()` threw an error with unexpected message.
  Expected match: "argument \"x\" is missing, with no default"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(week_fortnight(), "argument \"x\" is missing, with no default")
    6. gravitas:::week_fortnight()
    7. dplyr::if_else
    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)
  
  -- 27. Error: month_quarter outputs a numeric value (@test-one-order-up.R#116)  
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(month_quarter(x), "numeric")
    4. gravitas:::month_quarter(x)
    5. dplyr::if_else
    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)
  
  -- 28. Error: month_quarter expected output (@test-one-order-up.R#121)  --------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(month_quarter(x), 3)
    4. gravitas:::month_quarter(x)
    5. dplyr::if_else
    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)
  
  -- 29. Error: month_quarter output length equals input length (@test-one-order-u
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_length(month_quarter(x), length(x))
    4. gravitas:::month_quarter(x)
    5. dplyr::if_else
    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)
  
  -- 30. Error: quarter_semester outputs a numeric value (@test-one-order-up.R#136
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(quarter_semester(x), "numeric")
    4. gravitas:::quarter_semester(x)
    5. dplyr::if_else
    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)
  
  -- 31. Error: quarter_semester expected output (@test-one-order-up.R#141)  -----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(quarter_semester(x), 2)
    4. gravitas:::quarter_semester(x)
    5. dplyr::if_else
    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)
  
  -- 32. Error: quarter_semester output length equals input length (@test-one-orde
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_length(quarter_semester(x), length(x))
    4. gravitas:::quarter_semester(x)
    5. dplyr::if_else
    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)
  
  -- 33. Error: (unknown) (@test-prob_plot.R#5)  ---------------------------------
  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)
  
  -- 34. Error: (unknown) (@test-search_gran.R#7)  -------------------------------
  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: 45 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 34 ]
  1. Error: build_gran expected output minute_hhour (@test-build_gran.R#27) 
  2. Error: build_gran expected output month_semester (@test-build_gran.R#35) 
  3. Error: build_gran expected output week_semester (@test-build_gran.R#43) 
  4. Error: build_gran expected output second_hhour (@test-build_gran.R#47) 
  5. Error: (unknown) (@test-create_gran.R#8) 
  6. Error: day_fortnight outputs a numeric value (@test-day-order-up.R#13) 
  7. Error: day_fortnight expected output (@test-day-order-up.R#17) 
  8. Error: day_fortnight output length equals input length (@test-day-order-up.R#21) 
  9. Error: day_semester outputs a numeric value (@test-day-order-up.R#32) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted