Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(iNZightTS)
  
  Attaching package: 'iNZightTS'
  
  The following object is masked from 'package:stats':
  
      decompose
  
  > 
  > test_check("iNZightTS")
  -- 1. Error: Basic ts graph works (@test_plots.R#8)  ---------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(t), "ggplot")
    5. iNZightTS:::plot.iNZightTS(t)
   11. tidyr::gather(...)
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   21. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   22. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: Smoother can be disabled (@test_plots.R#13)  ----------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(t, smoother = FALSE), "ggplot")
    5. iNZightTS:::plot.iNZightTS(t, smoother = FALSE)
   11. tidyr::gather(...)
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   21. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   22. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: Decomposition and recomposition plots work (@test_plots.R#18)  ----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(d), "inzdecomp")
    5. iNZightTS:::plot.inzdecomp(d)
    6. dplyr::filter
    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: Season plot is OK (@test_plots.R#31)  -----------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(seasonplot(t), "gtable")
    5. iNZightTS:::seasonplot.iNZightTS(t)
    6. dplyr::mutate
    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)
  
  -- 5. Error: Forecast is fine (@test_plots.R#40)  ------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(t, forecast = 8), "ggplot")
    5. iNZightTS:::plot.iNZightTS(t, forecast = 8)
   11. tidyr::gather(...)
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   21. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   22. base::library.dynam(lib, package, package.lib)
  
  -- 6. Error: Multi series graph works (@test_plots.R#49)  ----------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(tm), "gtable")
    7. iNZightTS:::plot.iNZightTS(...)
   11. tidyr::gather(...)
   17. base::getExportedValue(pkg, name)
   18. base::asNamespace(ns)
   19. base::getNamespace(ns)
   20. base::loadNamespace(name)
   23. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   24. base::library.dynam(lib, package, package.lib)
  
  -- 7. Error: Unsupported plots error  ------------------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. iNZightTS::forecastplot(tm)
    5. iNZightTS:::plot.iNZightTS(...)
   11. tidyr::gather(...)
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   21. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   22. base::library.dynam(lib, package, package.lib)
  
  -- 8. Error: Decomposition doesn't subset what's actually drawn (@test_submodel.
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(p <- plot(t, model.lim = c(2000, 2010)))
   10. iNZightTS:::plot.iNZightTS(t, model.lim = c(2000, 2010))
   11. tidyr::gather(...)
   20. base::getExportedValue(pkg, name)
   21. base::asNamespace(ns)
   22. base::getNamespace(ns)
   23. base::loadNamespace(name)
   26. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   27. base::library.dynam(lib, package, package.lib)
  
  -- 9. Error: Season plots use sub-set of data (@test_submodel.R#20)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(seasonplot(t))
   10. iNZightTS:::seasonplot.iNZightTS(t)
   11. dplyr::mutate
   12. base::getExportedValue(pkg, name)
   13. base::asNamespace(ns)
   14. base::getNamespace(ns)
   15. base::loadNamespace(name)
   16. base::library.dynam(lib, package, package.lib)
  
  -- 10. Error: Forecasts uses specified region (@test_submodel.R#26)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::plot(t, forecast = 8)
    2. iNZightTS:::plot.iNZightTS(t, forecast = 8)
   11. tidyr::gather(...)
   12. base::getExportedValue(pkg, name)
   13. base::asNamespace(ns)
   14. base::getNamespace(ns)
   15. base::loadNamespace(name)
   18. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   19. base::library.dynam(lib, package, package.lib)
  
  -- 11. Error: Decomposition uses sub-portion of the plots (multi) (@test_submode
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(plot(tm))
   12. iNZightTS:::plot.iNZightTS(...)
   11. tidyr::gather(...)
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::loadNamespace(name)
   28. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   29. base::library.dynam(lib, package, package.lib)
  
  -- 12. Error: Subset of time series can be viewed (@test_subset.R#8)  ----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(p <- plot(t, xlim = c(2000, 2011)))
   10. iNZightTS:::plot.iNZightTS(t, xlim = c(2000, 2011))
   11. tidyr::gather(...)
   20. base::getExportedValue(pkg, name)
   21. base::asNamespace(ns)
   22. base::getNamespace(ns)
   23. base::loadNamespace(name)
   26. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   27. base::library.dynam(lib, package, package.lib)
  
  -- 13. Error: Subset of decomposition plot can be shown (@test_subset.R#20)  ---
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::plot(decompose(t), xlim = c(2000, 2011))
   2. iNZightTS:::plot.inzdecomp(decompose(t), xlim = c(2000, 2011))
   3. dplyr::filter
   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)
  
  -- 14. Error: Subset of season plot (@test_subset.R#36)  -----------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. iNZightTS::seasonplot(t, model.lim = c(2000, 2011))
   2. iNZightTS:::seasonplot.iNZightTS(t, model.lim = c(2000, 2011))
   3. dplyr::mutate
   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)
  
  -- 15. Error: Subset of forecast plot (@test_subset.R#41)  ---------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(...)
    5. iNZightTS:::plot.iNZightTS(...)
   11. tidyr::gather(...)
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   21. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   22. base::library.dynam(lib, package, package.lib)
  
  -- 16. Error: Subset of multi series graph works (@test_subset.R#56)  ----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::plot(tm, xlim = c(2000, 2011))
    4. iNZightTS:::plot.iNZightTS(...)
   11. tidyr::gather(...)
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   20. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   21. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 24 | SKIPPED: 1 | WARNINGS: 2 | FAILED: 16 ]
  1. Error: Basic ts graph works (@test_plots.R#8) 
  2. Error: Smoother can be disabled (@test_plots.R#13) 
  3. Error: Decomposition and recomposition plots work (@test_plots.R#18) 
  4. Error: Season plot is OK (@test_plots.R#31) 
  5. Error: Forecast is fine (@test_plots.R#40) 
  6. Error: Multi series graph works (@test_plots.R#49) 
  7. Error: Unsupported plots error 
  8. Error: Decomposition doesn't subset what's actually drawn (@test_submodel.R#15) 
  9. Error: Season plots use sub-set of data (@test_submodel.R#20) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted