Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mrf2d)
  > 
  > test_check("mrf2d")
  -- 1. Error: basis function list to data.frame conversion (@test-basis_functions
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(...)
    4. mrf2d:::basis_function_df(fouri, N = 10, M = 10)
    5. dplyr::mutate
    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)
  
  -- 2. Error: fit_ghm works (@test-fit_ghm.R#5)  --------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(...)
    4. mrf2d::fit_ghm(...)
    5. mrf2d:::basis_function_df(fixed_fn, N, M, standardize = TRUE)
    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)
  
  -- 3. Error: fit_ghm works on subregions (@test-fit_ghm.R#28)  -----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(...)
    4. mrf2d::fit_ghm(...)
    5. mrf2d:::basis_function_df(fixed_fn, N, M, standardize = TRUE)
    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)
  
  -- 4. Error: hmrfout methods work (@test-hmrfout.R#4)  -------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. mrf2d::fit_ghm(...)
   2. mrf2d:::basis_function_df(fixed_fn, N, M, standardize = TRUE)
   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)
  
  -- 5. Error: mrfout methods work (@test-mrfout.R#11)  --------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(plot(a), "ggplot")
    5. mrf2d:::plot.mrfout(a)
    6. tidyr::pivot_longer
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   13. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   14. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 135 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
  1. Error: basis function list to data.frame conversion (@test-basis_functions.R#20) 
  2. Error: fit_ghm works (@test-fit_ghm.R#5) 
  3. Error: fit_ghm works on subregions (@test-fit_ghm.R#28) 
  4. Error: hmrfout methods work (@test-hmrfout.R#4) 
  5. Error: mrfout methods work (@test-mrfout.R#11) 
  
  Error: testthat unit tests failed
  Execution halted