Package: psycho Check: examples New result: 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 Package: psycho Check: tests New result: ERROR Running ‘testthat.R’ [3s/3s] 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 ───────────────────────────────────────── 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 ───────────────────────────────── 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 Package: statsExpressions Check: tests New result: ERROR Running ‘testthat.R’ [276s/154s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(patrick) > library(statsExpressions) > > test_check("statsExpressions") Starting 2 test processes. > test-oneway-anova-bayes.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from > test-oneway-anova-bayes.R: the first numerator model. > test-oneway-anova-bayes.R: See help("get_parameters > test-oneway-anova-bayes.R: ", package = "insight"). > test-oneway-anova-bayes.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from > test-oneway-anova-bayes.R: the first numerator model. > test-oneway-anova-bayes.R: See help("get_parameters", package = "insight"). > test-oneway-anova-bayes.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from > test-oneway-anova-bayes.R: the first numerator model. > test-oneway-anova-bayes.R: See help("get_parameters", package = "insight"). > test-oneway-anova-bayes.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from > test-oneway-anova-bayes.R: the first numerator model. > test-oneway-anova-bayes.R: See help("get_parameters", package = "insight"). Saving _problems/test-oneway-anova-bayes-18.R [ FAIL 1 | WARN 4 | SKIP 64 | PASS 28 ] ══ Skipped tests (64) ══════════════════════════════════════════════════════════ • On CRAN (63): 'test-centrality-description.R:1:1', 'test-centrality-description.R:49:1', 'test-corr-test.R:3:1', 'test-corr-test.R:39:1', 'test-corr-test.R:74:1', 'test-corr-test.R:110:1', 'test-long-to-wide-converter.R:3:1', 'test-long-to-wide-converter.R:53:1', 'test-contingency-table.R:1:1', 'test-contingency-table.R:49:1', 'test-contingency-table.R:108:1', 'test-contingency-table.R:156:1', 'test-contingency-table.R:184:1', 'test-meta-random-parametric.R:1:1', 'test-meta-random-bayes.R:1:1', 'test-meta-random-robust.R:1:1', 'test-one-two-sample-dataframes.R:1:1', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-oneway-anova-nonparametric.R:5:1', 'test-oneway-anova-nonparametric.R:41:1', 'test-oneway-anova-bayes.R:39:1', 'test-oneway-anova-parametric.R:1:1', 'test-oneway-anova-parametric.R:35:1', 'test-oneway-anova-parametric.R:53:1', 'test-pairwise-comparisons.R:3:1', 'test-pairwise-comparisons.R:98:1', 'test-pairwise-comparisons.R:131:1', 'test-pairwise-comparisons.R:152:1', 'test-pairwise-comparisons.R:218:1', 'test-pairwise-comparisons.R:318:1', 'test-tidy-model-expressions.R:1:1', 'test-tidy-model-expressions.R:33:1', 'test-tidy-model-expressions.R:57:1', 'test-tidy-model-expressions.R:78:1', 'test-two-sample-bayes.R:1:1', 'test-two-sample-bayes.R:18:1', 'test-two-sample-nonparametric.R:1:1', 'test-two-sample-nonparametric.R:22:1', 'test-two-sample-parametric.R:1:1', 'test-two-sample-parametric.R:23:1', 'test-two-sample-parametric.R:45:1', 'test-two-sample-parametric.R:66:1', 'test-two-sample-robust.R:3:1', 'test-two-sample-robust.R:25:1', 'test-two-sample-robust.R:45:1', 'test-two-sample-robust.R:68:1', 'test-oneway-anova-robust.R:1:1', 'test-oneway-anova-robust.R:40:1' • On Linux (1): 'test-centrality-description.R:27:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-oneway-anova-bayes.R:13:5'): bayesian (between-subjects - anova) ── Error in `data$method[[1L]]`: subscript out of bounds Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-oneway-anova-bayes.R:13:5 2. │ └─base::withCallingHandlers(...) 3. └─statsExpressions::oneway_anova(...) 4. └─statsExpressions::add_expression_col(...) 5. └─base::grepl("contingency", data$method[[1L]], fixed = TRUE) 6. └─base::is.factor(x) [ FAIL 1 | WARN 4 | SKIP 64 | PASS 28 ] Error: ! Test failures. Execution halted