* using log directory 'd:/RCompile/CRANincoming/R-devel/esci.Rcheck' * using R Under development (unstable) (2025-02-20 r87772 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'esci/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'esci' version '1.0.7' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [13s] NOTE Maintainer: 'Robert Calin-Jageman ' Unknown, possibly misspelled, fields in DESCRIPTION: 'Remotes' Found the following URLs which should use \doi (with the DOI name only): File 'CI_smd_ind_contrast.Rd': https://doi.org/10.31234/osf.io/tu6mp * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'esci' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... WARNING '::' or ':::' import not declared from: 'legendry' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [35s] OK * checking Rd files ... OK * 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 ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [14s] ERROR Running examples in 'esci-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: meta_d1 > ### Title: Estimate a meta-analytic Cohen's d1 across multiple studies > ### Aliases: meta_d1 > > ### ** Examples > > # example code > original_7 <- data.frame( + study_name = c( + "Aden (1993)" , + "Buggs (1995)" , + "Crazed (1999)" , + "Dudley (2003)" , + "Evers (2005)" , + "Fox (2009)", + "Mine (2011)" + ), + rt_mean = c( + 454 , + 317 , + 430 , + 525 , + 479 , + 387, + 531 + ), + rt_sd = c( + 142 , + 158 , + 137 , + 260 , + 144 , + 165, + 233 + ), + rt_n = c( + 24 , + 7 , + 20 , + 8 , + 14 , + 13, + 18 + ), + subset = as.factor( + c( + "90s", + "90s", + "90s", + "00s", + "00s", + "00s", + "00s" + ) + ), + d1_unbiased = c( + 3.091587, + 1.742751, + 3.012857, + 1.793487, + 3.130074, + 2.195209, + 2.17667 + ) + ) > > > # Fixed effect, 95% CI > estimate <- esci::meta_d1( + original_7, + d1_unbiased, + rt_n, + study_name, + random_effects = FALSE + ) > > # Forest plot > myplot_forest <- esci::plot_meta(estimate) > > > # Add a moderator > estimate_moderator <- esci::meta_d1( + data = original_7, + ds = d1_unbiased, + ns = rt_n, + moderator = subset, + labels = study_name, + random_effects = FALSE + ) > > # Forest plot > myplot_forest_moderator <- esci::plot_meta(estimate_moderator) Scale for x is already present. Adding another scale for x, which will replace the existing scale. Error in loadNamespace(x) : there is no package called 'legendry' Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [30s] ERROR Running 'testthat.R' [30s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(esci) > > test_check("esci") [1] "WARNING: ratio-scale scores cannot be negative" [1] "WARNING: ratio-scale scores cannot be negative" [1] "WARNING: ratio-scale scores cannot be negative" [1] "WARNING: ratio-scale scores cannot be negative" Scale for x is already present. Adding another scale for x, which will replace the existing scale. [ FAIL 1 | WARN 0 | SKIP 52 | PASS 2891 ] ══ Skipped tests (52) ══════════════════════════════════════════════════════════ • On CRAN (52): 'test_CI_diamond_ratio.R:45:3', 'test_CI_smd_ind_contrast.R:25:3', 'test_estimate_magnitude.R:12:3', 'test_estimate_magnitude.R:32:3', 'test_estimate_magnitude.R:74:3', 'test_estimate_mdiff_2x2between.R:25:3', 'test_estimate_mdiff_2x2between.R:98:3', 'test_estimate_mdiff_2x2between.R:353:3', 'test_estimate_mdiff_2x2mixed.R:54:2', 'test_estimate_mdiff_2x2mixed.R:318:3', 'test_estimate_mdiff_ind_contrast.R:28:3', 'test_estimate_mdiff_ind_contrast.R:206:3', 'test_estimate_mdiff_ind_contrast.R:364:3', 'test_estimate_mdiff_one.R:31:3', 'test_estimate_mdiff_one.R:56:3', 'test_estimate_mdiff_paired.R:14:3', 'test_estimate_mdiff_paired.R:63:3', 'test_estimate_mdiff_paired.R:275:5', 'test_estimate_mdiff_paired.R:360:3', 'test_estimate_mdiff_two.R:20:3', 'test_estimate_mdiff_two.R:67:3', 'test_estimate_mdiff_two.R:157:3', 'test_estimate_mdiff_two.R:212:3', 'test_estimate_mdiff_two.R:286:3', 'test_estimate_mdiff_two.R:320:5', 'test_estimate_meta_d1.R:76:3', 'test_estimate_meta_d2.R:27:3', 'test_estimate_meta_mdiff_two.R:38:3', 'test_estimate_meta_mean.R:77:3', 'test_estimate_meta_pdiff_two.R:61:3', 'test_estimate_meta_r.R:94:3', 'test_estimate_pdiff_ind_contrast.R:21:3', 'test_estimate_pdiff_ind_contrast.R:194:3', 'test_estimate_pdiff_one.R:32:3', 'test_estimate_pdiff_one.R:107:3', 'test_estimate_pdiff_one.R:174:3', 'test_estimate_pdiff_paired.R:23:3', 'test_estimate_pdiff_paired.R:63:3', 'test_estimate_pdiff_paired.R:99:3', 'test_estimate_pdiff_paired.R:135:3', 'test_estimate_pdiff_two.R:20:3', 'test_estimate_proportion.R:29:3', 'test_estimate_proportion.R:94:3', 'test_estimate_proportion.R:160:3', 'test_estimate_r.R:24:3', 'test_estimate_r.R:87:3', 'test_estimate_r.R:141:3', 'test_estimate_rdiff_two.R:54:3', 'test_estimate_rdiff_two.R:145:3', 'test_estimate_rdiff_two.R:210:3', 'test_overview.R:21:3', 'test_overview_nominal.R:26:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_estimate_meta_proportion.R:59:3'): Some tests for meta_proportion; needs development ── Error in `loadNamespace(x)`: there is no package called 'legendry' Backtrace: ▆ 1. ├─base::suppressWarnings(myplot <- esci::plot_meta(estimate)) at test_estimate_meta_proportion.R:59:3 2. │ └─base::withCallingHandlers(...) 3. ├─esci::plot_meta(estimate) 4. │ └─esci::esci_plot_difference_axis_x(...) 5. │ └─ggplot2::guides(...) 6. │ └─rlang::list2(...) 7. └─base::loadNamespace(x) 8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 9. └─base (local) withOneRestart(expr, restarts[[1L]]) 10. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 1 | WARN 0 | SKIP 52 | PASS 2891 ] Error: Test failures Execution halted * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [21s] OK * DONE Status: 2 ERRORs, 1 WARNING, 1 NOTE