Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(psycho)
  > 
  > test_check("psycho")
  Saving _problems/test-assess-10.R
  Saving _problems/test-assess-45.R
  The Crawford-Howell (1998) t-test suggests no dissociation between test X and test Y (t(5) = 2.10, p p = 0.090). The patient's score on test X is not significantly altered compared to its score on test Y.
  
  .0.00%
  .33.00%
  .67.00%
  .100.00%
  1
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 17 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-assess.R:7:3'): assess ─────────────────────────────────────────
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `mutate_()` was deprecated in dplyr 0.7.0 and is now defunct.
  ℹ Please use `mutate()` instead.
  ℹ See vignette('programming') for more help
  Backtrace:
      ▆
   1. ├─psycho::assess(...) at test-assess.R:7:3
   2. │ └─psycho::crawford.test(...)
   3. │   └─... %>% ggplot(aes_string(x = "x", ymin = 0, ymax = "y"))
   4. ├─ggplot2::ggplot(., aes_string(x = "x", ymin = 0, ymax = "y"))
   5. └─dplyr::mutate_(., x = "scales::rescale(x, from=c(0, 1), to = c(sample_mean, sample_mean+sample_sd))")
   6.   └─dplyr:::lazy_defunct("mutate")
   7.     └─lifecycle::deprecate_stop(...)
   8.       └─lifecycle:::deprecate_stop0(msg)
   9.         └─rlang::cnd_signal(...)
  ── Error ('test-assess.R:42:3'): crawford.test ─────────────────────────────────
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `mutate_()` was deprecated in dplyr 0.7.0 and is now defunct.
  ℹ Please use `mutate()` instead.
  ℹ See vignette('programming') for more help
  Backtrace:
      ▆
   1. ├─psycho::crawford.test(...) at test-assess.R:42:3
   2. │ └─... %>% ggplot(aes_string(x = "x", ymin = 0, ymax = "y"))
   3. ├─ggplot2::ggplot(., aes_string(x = "x", ymin = 0, ymax = "y"))
   4. └─dplyr::mutate_(., x = "scales::rescale(x, from=c(0, 1), to = c(sample_mean, sample_mean+sample_sd))")
   5.   └─dplyr:::lazy_defunct("mutate")
   6.     └─lifecycle::deprecate_stop(...)
   7.       └─lifecycle:::deprecate_stop0(msg)
   8.         └─rlang::cnd_signal(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 17 ]
  Error:
  ! Test failures.
  Execution halted