- using R version 4.5.2 Patched (2026-01-31 r89374)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘psycho/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘psycho’ version ‘0.6.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘psycho’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [2s/3s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [10s/15s] OK
- checking Rd files ... [0s/1s] NOTE
checkRd: (-1) dprime.Rd:37: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) dprime.Rd:38: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) dprime.Rd:39: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) dprime.Rd:40: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) dprime.Rd:41: Lost braces in \itemize; \value handles \item{}{} directly
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [3s/3s] ERROR
Running examples in ‘psycho-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: assess
> ### Title: Compare a patient's score to a control group
> ### Aliases: assess
>
> ### ** Examples
>
> result <- assess(patient = 124, mean = 100, sd = 15, n = 100)
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(patient = 124, mean = 100, sd = 15, n = 100)
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(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [5s/6s] ERROR
Running ‘testthat.R’ [4s/6s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/6s] OK
- checking PDF version of manual ... [5s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE