Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(thurstonianIRT)
  Loading required package: Rcpp
  > 
  > test_check("thurstonianIRT")
  
  SAMPLING FOR MODEL 'thurstonian_irt_model' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.015 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 150 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: Iteration:   1 / 500 [  0%]  (Warmup)
  Chain 1: Iteration:  50 / 500 [ 10%]  (Warmup)
  Chain 1: Iteration: 100 / 500 [ 20%]  (Warmup)
  Chain 1: Iteration: 150 / 500 [ 30%]  (Warmup)
  Chain 1: Iteration: 200 / 500 [ 40%]  (Warmup)
  Chain 1: Iteration: 250 / 500 [ 50%]  (Warmup)
  Chain 1: Iteration: 251 / 500 [ 50%]  (Sampling)
  Chain 1: Iteration: 300 / 500 [ 60%]  (Sampling)
  Chain 1: Iteration: 350 / 500 [ 70%]  (Sampling)
  Chain 1: Iteration: 400 / 500 [ 80%]  (Sampling)
  Chain 1: Iteration: 450 / 500 [ 90%]  (Sampling)
  Chain 1: Iteration: 500 / 500 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 2.353 seconds (Warm-up)
  Chain 1:                1.474 seconds (Sampling)
  Chain 1:                3.827 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'thurstonian_irt_model' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: Iteration:   1 / 500 [  0%]  (Warmup)
  Chain 1: Iteration:  50 / 500 [ 10%]  (Warmup)
  Chain 1: Iteration: 100 / 500 [ 20%]  (Warmup)
  Chain 1: Iteration: 150 / 500 [ 30%]  (Warmup)
  Chain 1: Iteration: 200 / 500 [ 40%]  (Warmup)
  Chain 1: Iteration: 250 / 500 [ 50%]  (Warmup)
  Chain 1: Iteration: 251 / 500 [ 50%]  (Sampling)
  Chain 1: Iteration: 300 / 500 [ 60%]  (Sampling)
  Chain 1: Iteration: 350 / 500 [ 70%]  (Sampling)
  Chain 1: Iteration: 400 / 500 [ 80%]  (Sampling)
  Chain 1: Iteration: 450 / 500 [ 90%]  (Sampling)
  Chain 1: Iteration: 500 / 500 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 5.782 seconds (Warm-up)
  Chain 1:                3.363 seconds (Sampling)
  Chain 1:                9.145 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'thurstonian_irt_model' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: Iteration:   1 / 500 [  0%]  (Warmup)
  Chain 1: Iteration:  50 / 500 [ 10%]  (Warmup)
  Chain 1: Iteration: 100 / 500 [ 20%]  (Warmup)
  Chain 1: Iteration: 150 / 500 [ 30%]  (Warmup)
  Chain 1: Iteration: 200 / 500 [ 40%]  (Warmup)
  Chain 1: Iteration: 250 / 500 [ 50%]  (Warmup)
  Chain 1: Iteration: 251 / 500 [ 50%]  (Sampling)
  Chain 1: Iteration: 300 / 500 [ 60%]  (Sampling)
  Chain 1: Iteration: 350 / 500 [ 70%]  (Sampling)
  Chain 1: Iteration: 400 / 500 [ 80%]  (Sampling)
  Chain 1: Iteration: 450 / 500 [ 90%]  (Sampling)
  Chain 1: Iteration: 500 / 500 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 2.725 seconds (Warm-up)
  Chain 1:                2.18 seconds (Sampling)
  Chain 1:                4.905 seconds (Total)
  Chain 1: 
  [ FAIL 5 | WARN 0 | SKIP 1 | PASS 7 ]
  
  == Skipped tests ===============================================================
  * Mplus is not open source software (1)
  
  == Failed tests ================================================================
  -- Error ('tests.lavaan.R:15'): lavaan code for bernoulli responses works ------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-base::suppressWarnings(fit_TIRT_lavaan(sdata)) at tests.lavaan.R:15:2
    2. | \-base::withCallingHandlers(...)
    3. +-thurstonianIRT::fit_TIRT_lavaan(sdata)
    4. | \-thurstonianIRT::make_sem_data(data)
    5. |   \-... %>% select(-.data$person)
    6. +-dplyr::select(., -.data$person)
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('tests.lavaan.R:42'): lavaan code for gaussian responses works -------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-base::suppressWarnings(fit_TIRT_lavaan(sdata)) at tests.lavaan.R:42:2
    2. | \-base::withCallingHandlers(...)
    3. +-thurstonianIRT::fit_TIRT_lavaan(sdata)
    4. | \-thurstonianIRT::make_sem_data(data)
    5. |   \-... %>% select(-.data$person)
    6. +-dplyr::select(., -.data$person)
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('tests.stan.R:17'): Stan code for bernoulli responses works ----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-stats::predict(fit) at tests.stan.R:17:2
    2. +-thurstonianIRT:::predict.TIRTfit(fit)
    3. | \-thurstonianIRT:::predict_stan(object, newdata = newdata, ...)
    4. |   \-thurstonianIRT:::predict_stan_old_data(object, ...)
    5. |     \-... %>% arrange(.data$id)
    6. +-dplyr::arrange(., .data$id)
    7. +-dplyr::mutate(., trait = as.character(factor(.data$trait, labels = traits)))
    8. +-dplyr::select(., -.data$par)
    9. +-dplyr::mutate(., id = as.integer(.data$id), trait = as.integer(.data$trait))
   10. \-base::loadNamespace(x)
   11.   +-base::namespaceImportFrom(...)
   12.   | \-base::asNamespace(ns)
   13.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   14.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('tests.stan.R:50'): Stan code for ordinal responses works ------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-stats::predict(fit) at tests.stan.R:50:2
    2. +-thurstonianIRT:::predict.TIRTfit(fit)
    3. | \-thurstonianIRT:::predict_stan(object, newdata = newdata, ...)
    4. |   \-thurstonianIRT:::predict_stan_old_data(object, ...)
    5. |     \-... %>% arrange(.data$id)
    6. +-dplyr::arrange(., .data$id)
    7. +-dplyr::mutate(., trait = as.character(factor(.data$trait, labels = traits)))
    8. +-dplyr::select(., -.data$par)
    9. +-dplyr::mutate(., id = as.integer(.data$id), trait = as.integer(.data$trait))
   10. \-base::loadNamespace(x)
   11.   +-base::namespaceImportFrom(...)
   12.   | \-base::asNamespace(ns)
   13.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   14.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('tests.stan.R:76'): Stan code for gaussian responses works -----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-stats::predict(fit) at tests.stan.R:76:2
    2. +-thurstonianIRT:::predict.TIRTfit(fit)
    3. | \-thurstonianIRT:::predict_stan(object, newdata = newdata, ...)
    4. |   \-thurstonianIRT:::predict_stan_old_data(object, ...)
    5. |     \-... %>% arrange(.data$id)
    6. +-dplyr::arrange(., .data$id)
    7. +-dplyr::mutate(., trait = as.character(factor(.data$trait, labels = traits)))
    8. +-dplyr::select(., -.data$par)
    9. +-dplyr::mutate(., id = as.integer(.data$id), trait = as.integer(.data$trait))
   10. \-base::loadNamespace(x)
   11.   +-base::namespaceImportFrom(...)
   12.   | \-base::asNamespace(ns)
   13.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   14.     \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 5 | WARN 0 | SKIP 1 | PASS 7 ]
  Error: Test failures
  Execution halted