Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(sweep)
  > 
  > test_check("sweep")
  -- 1. Error: (unknown) (@test_sw_sweep.R#3)  -----------------------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_sw_sweep.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  -- 2. Error: (unknown) (@test_tidiers_StructTS.R#3)  ---------------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_tidiers_StructTS.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  -- 3. Error: (unknown) (@test_tidiers_arima.R#3)  ------------------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_tidiers_arima.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  -- 4. Error: (unknown) (@test_tidiers_bats_tbats.R#3)  -------------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_tidiers_bats_tbats.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  -- 5. Error: (unknown) (@test_tidiers_decomposed_ts.R#3)  ----------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_tidiers_decomposed_ts.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  -- 6. Error: (unknown) (@test_tidiers_ets.R#3)  --------------------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_tidiers_ets.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  -- 7. Error: (unknown) (@test_tidiers_hw.R#3)  ---------------------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_tidiers_hw.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  -- 8. Error: (unknown) (@test_tidiers_lm.R#3)  ---------------------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_tidiers_lm.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  -- 9. Error: (unknown) (@test_tidiers_nnetar.R#3)  -----------------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_tidiers_nnetar.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  -- 10. Error: (unknown) (@test_tidiers_robets.R#3)  ----------------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_tidiers_robets.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  -- 11. Error: (unknown) (@test_tidiers_stl.R#3)  -------------------------------
  package 'lubridate' could not be loaded
  1: library(tidyquant) at testthat/test_tidiers_stl.R:3
  2: .getRequiredPackages2(pkgInfo, quietly = quietly)
  3: stop(gettextf("package %s could not be loaded", sQuote(pkg)), call. = FALSE, domain = NA)
  
  == testthat results  ===========================================================
  OK: 0 SKIPPED: 0 FAILED: 11
  1. Error: (unknown) (@test_sw_sweep.R#3) 
  2. Error: (unknown) (@test_tidiers_StructTS.R#3) 
  3. Error: (unknown) (@test_tidiers_arima.R#3) 
  4. Error: (unknown) (@test_tidiers_bats_tbats.R#3) 
  5. Error: (unknown) (@test_tidiers_decomposed_ts.R#3) 
  6. Error: (unknown) (@test_tidiers_ets.R#3) 
  7. Error: (unknown) (@test_tidiers_hw.R#3) 
  8. Error: (unknown) (@test_tidiers_lm.R#3) 
  9. Error: (unknown) (@test_tidiers_nnetar.R#3) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted