Running 'spelling.R' [0s]
  Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rstanemax)
  Loading required package: Rcpp
  > 
  > # options(lifecycle_verbosity = "error")
  > test_check("rstanemax")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  
  == Failed tests ================================================================
  -- Error ('test-create_model_frame.R:5'): (code run outside of `test_that()`) --
  <dplyr:::mutate_error/rlang_error/error/condition>
  Error in `dplyr::mutate(., Covariates = "", Covariates = purrr::map2_chr(Covariates, 
      covemaxstr, ~ifelse(is.null(param.cov$emax), .x, paste(.x, 
          .y))), Covariates = purrr::map2_chr(Covariates, covec50str, 
      ~ifelse(is.null(param.cov$ec50), .x, paste(.x, .y))), Covariates = purrr::map2_chr(Covariates, 
      cove0str, ~ifelse(is.null(param.cov$e0), .x, paste(.x, .y))), 
      Covariates = trimws(Covariates))`: Problem while computing `Covariates = purrr::map2_chr(...)`.
  Caused by error in `library.dynam()`:
  ! DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rstanemax:::create_model_frame(resp ~ conc, test.data, cov.levels = covs_get_levels(test.data)) at test-create_model_frame.R:5:0
    2. | \-rstanemax:::create_cov_groups(df.cov, param.cov)
    3. |   \-... %>% dplyr::select(-(covemaxstr:cove0str))
    4. +-dplyr::select(., -(covemaxstr:cove0str))
    5. +-dplyr::mutate(...)
    6. +-dplyr:::mutate.data.frame(...)
    7. | \-dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
    8. |   +-base::withCallingHandlers(...)
    9. |   \-mask$eval_all_mutate(quo)
   10. +-base::loadNamespace(x)
   11. | \-base::library.dynam(lib, package, package.lib)
   12. |   \-base::stop(...)
   13. \-base::.handleSimpleError(...)
   14.   \-dplyr (local) h(simpleError(msg, call))
   15.     \-rlang::abort(...)
  -- Error ('test-posterior_predict.R:9'): (code run outside of `test_that()`) ---
  <dplyr:::mutate_error/rlang_error/error/condition>
  Error in `dplyr::mutate(., Covariates = "", Covariates = purrr::map2_chr(Covariates, 
      covemaxstr, ~ifelse(is.null(param.cov$emax), .x, paste(.x, 
          .y))), Covariates = purrr::map2_chr(Covariates, covec50str, 
      ~ifelse(is.null(param.cov$ec50), .x, paste(.x, .y))), Covariates = purrr::map2_chr(Covariates, 
      cove0str, ~ifelse(is.null(param.cov$e0), .x, paste(.x, .y))), 
      Covariates = trimws(Covariates))`: Problem while computing `Covariates = purrr::map2_chr(...)`.
  Caused by error in `library.dynam()`:
  ! DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rstanemax::stan_emax(...) at test-posterior_predict.R:9:0
    2. | \-rstanemax:::stan_emax_prep(...)
    3. |   \-rstanemax:::create_model_frame(formula, data, param.cov, cov.levels)
    4. |     \-rstanemax:::create_cov_groups(df.cov, param.cov)
    5. |       \-... %>% dplyr::select(-(covemaxstr:cove0str))
    6. +-dplyr::select(., -(covemaxstr:cove0str))
    7. +-dplyr::mutate(...)
    8. +-dplyr:::mutate.data.frame(...)
    9. | \-dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
   10. |   +-base::withCallingHandlers(...)
   11. |   \-mask$eval_all_mutate(quo)
   12. +-base::loadNamespace(x)
   13. | \-base::library.dynam(lib, package, package.lib)
   14. |   \-base::stop(...)
   15. \-base::.handleSimpleError(...)
   16.   \-dplyr (local) h(simpleError(msg, call))
   17.     \-rlang::abort(...)
  -- Error ('test-set_prior.R:27'): (code run outside of `test_that()`) ----------
  <dplyr:::mutate_error/rlang_error/error/condition>
  Error in `dplyr::mutate(., Covariates = "", Covariates = purrr::map2_chr(Covariates, 
      covemaxstr, ~ifelse(is.null(param.cov$emax), .x, paste(.x, 
          .y))), Covariates = purrr::map2_chr(Covariates, covec50str, 
      ~ifelse(is.null(param.cov$ec50), .x, paste(.x, .y))), Covariates = purrr::map2_chr(Covariates, 
      cove0str, ~ifelse(is.null(param.cov$e0), .x, paste(.x, .y))), 
      Covariates = trimws(Covariates))`: Problem while computing `Covariates = purrr::map2_chr(...)`.
  Caused by error in `library.dynam()`:
  ! DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rstanemax:::create_model_frame(...) at test-set_prior.R:27:0
    2. | \-rstanemax:::create_cov_groups(df.cov, param.cov)
    3. |   \-... %>% dplyr::select(-(covemaxstr:cove0str))
    4. +-dplyr::select(., -(covemaxstr:cove0str))
    5. +-dplyr::mutate(...)
    6. +-dplyr:::mutate.data.frame(...)
    7. | \-dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
    8. |   +-base::withCallingHandlers(...)
    9. |   \-mask$eval_all_mutate(quo)
   10. +-base::loadNamespace(x)
   11. | \-base::library.dynam(lib, package, package.lib)
   12. |   \-base::stop(...)
   13. \-base::.handleSimpleError(...)
   14.   \-dplyr (local) h(simpleError(msg, call))
   15.     \-rlang::abort(...)
  -- Error ('test-stan_emax.R:7'): (code run outside of `test_that()`) -----------
  <dplyr:::mutate_error/rlang_error/error/condition>
  Error in `dplyr::mutate(., Covariates = "", Covariates = purrr::map2_chr(Covariates, 
      covemaxstr, ~ifelse(is.null(param.cov$emax), .x, paste(.x, 
          .y))), Covariates = purrr::map2_chr(Covariates, covec50str, 
      ~ifelse(is.null(param.cov$ec50), .x, paste(.x, .y))), Covariates = purrr::map2_chr(Covariates, 
      cove0str, ~ifelse(is.null(param.cov$e0), .x, paste(.x, .y))), 
      Covariates = trimws(Covariates))`: Problem while computing `Covariates = purrr::map2_chr(...)`.
  Caused by error in `library.dynam()`:
  ! DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-rstanemax::stan_emax(...) at test-stan_emax.R:7:0
    2. | \-rstanemax:::stan_emax_prep(...)
    3. |   \-rstanemax:::create_model_frame(formula, data, param.cov, cov.levels)
    4. |     \-rstanemax:::create_cov_groups(df.cov, param.cov)
    5. |       \-... %>% dplyr::select(-(covemaxstr:cove0str))
    6. +-dplyr::select(., -(covemaxstr:cove0str))
    7. +-dplyr::mutate(...)
    8. +-dplyr:::mutate.data.frame(...)
    9. | \-dplyr:::mutate_cols(.data, dplyr_quosures(...), caller_env = caller_env())
   10. |   +-base::withCallingHandlers(...)
   11. |   \-mask$eval_all_mutate(quo)
   12. +-base::loadNamespace(x)
   13. | \-base::library.dynam(lib, package, package.lib)
   14. |   \-base::stop(...)
   15. \-base::.handleSimpleError(...)
   16.   \-dplyr (local) h(simpleError(msg, call))
   17.     \-rlang::abort(...)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted