* using log directory 'd:/Rcompile/CRANpkg/local/4.6/emmeans.Rcheck' * using R Under development (unstable) (2025-08-09 r88550 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'emmeans/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'emmeans' version '1.11.2' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'emmeans' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [2s] 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 ... [26s] OK * checking Rd files ... [2s] OK * checking Rd metadata ... 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] 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 ... [11s] ERROR Running examples in 'emmeans-Ex.R' failed The error most likely occurred in: > ### Name: emmip > ### Title: Interaction-style plots for estimated marginal means > ### Aliases: emmip emmip.default emmip_ggplot emmip_lattice > > ### ** Examples > > #--- Three-factor example > noise.lm = lm(noise ~ size * type * side, data = auto.noise) > > # Separate interaction plots of size by type, for each side > emmip(noise.lm, type ~ size | side) > > # One interaction plot, using combinations of size and side as the x factor > # ... with added confidence intervals and some formatting changes > emmip(noise.lm, type ~ side * size, CIs = TRUE, + CIarg = list(lwd = 1, alpha = 1, color = "cyan"), + dotarg = list(color = "black")) > > # Create a black-and-white version of above with different linetypes > # (Let the linetypes and symbols default to the palette) > emmip(noise.lm, type ~ side * size, CIs = TRUE, col = "black", + linearg = list(), dotarg = list(size = 2), CIarg = list(alpha = 1)) + + ggplot2::theme_bw() > > # One interaction plot using combinations of type and side as the trace factor > emmip(noise.lm, type * side ~ size) > > # Individual traces in panels > emmip(noise.lm, ~ size | type * side) > > # Example for the 'style' argument > fib.lm = lm(strength ~ machine * sqrt(diameter), data = fiber) > fib.rg = ref_grid(fib.lm, at = list(diameter = c(3.5, 4, 4.5, 5, 5.5, 6)^2)) > emmip(fib.rg, machine ~ diameter) # curves (because diameter is numeric) > emmip(fib.rg, machine ~ diameter, style = "factor") # points and lines > > # For an example using extra ggplot2 code, see 'vignette("messy-data")', > # in the section on nested models. > > ### Options with transformations or link functions > neuralgia.glm <- glm(Pain ~ Treatment * Sex + Age, family = binomial(), + data = neuralgia) > > # On link scale: > emmip(neuralgia.glm, Treatment ~ Sex) > > # On response scale: > emmip(neuralgia.glm, Treatment ~ Sex, type = "response") > > # With transformed axis scale and custom scale divisions > emmip(neuralgia.glm, Treatment ~ Sex, type = "scale", + breaks = seq(0.10, 0.90, by = 0.10)) Failed with error: 'unused argument (quiet = TRUE)' Error in .make.scale(emmo@misc) : type = "scale" requires the 'scales' package to be installed Calls: emmip -> emmip.default -> .make.scale Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [4s] OK Running 'testthat.R' [4s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [101s] ERROR Error(s) in re-building vignettes: --- re-building 'AQuickStart.Rmd' using rmarkdown --- finished re-building 'AQuickStart.Rmd' --- re-building 'FAQs.Rmd' using rmarkdown --- finished re-building 'FAQs.Rmd' --- re-building 'basics.Rmd' using rmarkdown --- finished re-building 'basics.Rmd' --- re-building 'comparisons.Rmd' using rmarkdown --- finished re-building 'comparisons.Rmd' --- re-building 'confidence-intervals.Rmd' using rmarkdown --- finished re-building 'confidence-intervals.Rmd' --- re-building 'interactions.Rmd' using rmarkdown --- finished re-building 'interactions.Rmd' --- re-building 'messy-data.Rmd' using rmarkdown --- finished re-building 'messy-data.Rmd' --- re-building 'models.Rmd' using rmarkdown --- finished re-building 'models.Rmd' --- re-building 'predictions.Rmd' using rmarkdown --- finished re-building 'predictions.Rmd' --- re-building 're-engineering-clds.rmd' using rmarkdown --- finished re-building 're-engineering-clds.rmd' --- re-building 'sophisticated.Rmd' using rmarkdown --- finished re-building 'sophisticated.Rmd' --- re-building 'transformations.Rmd' using rmarkdown Failed with error: 'unused argument (quiet = TRUE)' Quitting from transformations.Rmd:255-257 [unnamed-chunk-14] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `.make.scale()`: ! type = "scale" requires the 'scales' package to be installed --- Backtrace: ▆ 1. ├─base::plot(neur.Trt.emm, type = "scale") 2. └─emmeans:::plot.emmGrid(neur.Trt.emm, type = "scale") 3. └─emmeans:::.make.scale(object@misc) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'transformations.Rmd' failed with diagnostics: type = "scale" requires the 'scales' package to be installed --- failed re-building 'transformations.Rmd' --- re-building 'utilities.Rmd' using rmarkdown --- finished re-building 'utilities.Rmd' --- re-building 'vignette-topics.Rmd' using rmarkdown --- finished re-building 'vignette-topics.Rmd' --- re-building 'xplanations.Rmd' using rmarkdown --- finished re-building 'xplanations.Rmd' --- re-building 'xtending.Rmd' using rmarkdown --- finished re-building 'xtending.Rmd' SUMMARY: processing the following file failed: 'transformations.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... [14s] OK * DONE Status: 2 ERRORs