- using R Under development (unstable) (2025-08-10 r88559)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b1)
Debian flang-new version 19.1.7 (3+b1)
- running under: Debian GNU/Linux 13 (trixie)
- 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 CRAN incoming feasibility ... [2s/3s] OK
- 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 ‘emmeans’ 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/2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking whether startup messages can be suppressed ... [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 ... [48s/59s] OK
- checking Rd files ... [1s/1s] 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 ... [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 ... [12s/17s] ERROR
Running examples in ‘emmeans-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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 ... [5s/6s] OK
Running ‘testthat.R’ [4s/5s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [113s/152s] 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/rlang_error>
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
[WARNING] Div at vignette-topics.knit.md line 10 column 1 unclosed at vignette-topics.knit.md line 804 column 1, closing implicitly.
--- 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 ... [9s/13s] OK
- checking HTML version of manual ... [6s/9s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs