Running 'testthat.R' [105s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(eRTG3D)
  > 
  > test_check("eRTG3D")
  -- 1. Error: test.eRTG.3d() works  ---------------------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. eRTG3D::test.eRTG.3d(...)
    2. eRTG3D::plot3d(crw, cerw)
    3. plotly::plot_ly
    4. base::getExportedValue(pkg, name)
    5. base::asNamespace(ns)
    6. base::getNamespace(ns)
    7. base::loadNamespace(name)
   10. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: plot3d.tldCube works (@test-plot3d-tldCube.R#3)  ------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot3d.tldCube(P$tldCube), c("plotly", "htmlwidget"))
    4. eRTG3D::plot3d.tldCube(P$tldCube)
    5. plotly::plot_ly
    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: plot3d works (@test-plot3d.R#2)  ----------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot3d(origTrack = niclas), c("plotly", "htmlwidget"))
    4. eRTG3D::plot3d(origTrack = niclas)
    5. plotly::plot_ly
    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: reproduce.track.3d works  -----------------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. eRTG3D::reproduce.track.3d(...)
    2. eRTG3D::plot3d(origTrack = track, simTrack = cerwList, DEM = DEM)
    3. plotly::plot_ly
    4. base::getExportedValue(pkg, name)
    5. base::asNamespace(ns)
    6. base::getNamespace(ns)
    7. base::loadNamespace(name)
   10. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 90 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 4 ]
  1. Error: test.eRTG.3d() works 
  2. Error: plot3d.tldCube works (@test-plot3d-tldCube.R#3) 
  3. Error: plot3d works (@test-plot3d.R#2) 
  4. Error: reproduce.track.3d works 
  
  Error: testthat unit tests failed
  Execution halted