- using R Under development (unstable) (2025-10-13 r88918 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 'ez/DESCRIPTION' ... OK
- this is package 'ez' version '4.4-0'
- 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 'ez' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [3s] OK
- checking whether the package can be unloaded cleanly ... [3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] OK
- checking loading without being on the library search path ... [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 ... [13s] OK
- checking Rd files ... [1s] NOTE
checkRd: (-1) ez-package.Rd:19: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:20: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:21: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:22: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:23: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:24: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:25: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:26: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:27: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:28: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:29: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:30: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:32: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ez-package.Rd:33: Lost braces in \itemize; meant \describe ?
- 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 data for ASCII and uncompressed saves ... OK
- checking examples ... [19s] ERROR
Running examples in 'ez-Ex.R' failed
The error most likely occurred in:
> ### Name: ezPlot
> ### Title: Plot data from a factorial experiment
> ### Aliases: ezPlot
> 
> ### ** Examples
> 
> #Read in the ANT data (see ?ANT).
> data(ANT)
> head(ANT)
  subnum     group block trial     cue     flank location direction       rt
1      1 Treatment     1     1    None   Neutral       up      left 398.6773
2      1 Treatment     1     2  Center   Neutral       up      left 389.1822
3      1 Treatment     1     3  Double   Neutral       up      left 333.2186
4      1 Treatment     1     4 Spatial   Neutral       up      left 419.7640
5      1 Treatment     1     5    None Congruent       up      left 446.4754
6      1 Treatment     1     6  Center Congruent       up      left 338.9766
  error
1     0
2     0
3     0
4     0
5     0
6     0
> ezPrecis(ANT)
Data frame dimensions: 5760 rows, 10 columns
             type missing values      min         max
subnum     factor       0     20        1          20
group      factor       0      2  Control   Treatment
block     numeric       0      6        1           6
trial     numeric       0     48        1          48
cue        factor       0      4     None     Spatial
flank      factor       0      3  Neutral Incongruent
location   factor       0      2     down          up
direction  factor       0      2     left       right
rt        numeric       0   5760 179.5972    657.6986
error     numeric       0      2        0           1
> 
> 
> ## Not run: 
> ##D #Run an ANOVA on the mean correct RT data.
> ##D mean_rt_anova = ezANOVA(
> ##D     data = ANT[ANT$error==0,]
> ##D     , dv = .(rt)
> ##D     , wid = .(subnum)
> ##D     , within = .(cue,flank)
> ##D     , between = .(group)
> ##D )
> ##D 
> ##D #Show the ANOVA and assumption tests.
> ##D print(mean_rt_anova)
> ## End(Not run)
> 
> #Plot the main effect of group.
> group_plot = ezPlot(
+     data = ANT[ANT$error==0,]
+     , dv = .(rt)
+     , wid = .(subnum)
+     , between = .(group)
+     , x = .(group)
+     , do_lines = FALSE
+     , x_lab = 'Group'
+     , y_lab = 'RT (ms)'
+ )
Warning: Collapsing data to cell means. *IF* the requested effects are a subset of the full design, you must use the "within_full" argument, else results may be inaccurate.
Coefficient covariances computed by hccm()
> 
> #Show the plot.
> print(group_plot)
> 
> #tweak the plot
> # group_plot = group_plot +
> # theme(
> #     panel.grid.major = element_blank()
> #     , panel.grid.minor = element_blank()
> # )
> # print(group_plot)
> 
> 
> 
> #use the "print_code" argument to print the
> # code for creating the plot and return the
> # data to plot. This is useful when you want
> # to learn how to create plots from scratch
> # (which can in turn be useful when you can't
> # get a combination of ezPlot and tweaking to
> # achieve what you want)
> group_plot_data = ezPlot(
+     data = ANT[ANT$error==0,]
+     , dv = .(rt)
+     , wid = .(subnum)
+     , between = .(group)
+     , x = .(group)
+     , do_lines = FALSE
+     , x_lab = 'Group'
+     , y_lab = 'RT (ms)'
+     , print_code = TRUE
+ )
Warning: Collapsing data to cell means. *IF* the requested effects are a subset of the full design, you must use the "within_full" argument, else results may be inaccurate.
Coefficient covariances computed by hccm()
ggplot(
 data = stats
 , mapping = aes(
  y = Mean
  , x = group
 )
)+
geom_point()+
geom_errorbar(
 mapping = aes(
  ymin = lo
  , ymax = hi
 )
 , linetype = 1
 , show.legend = FALSE
 , width = 0.25
 , alpha = .5
)+
labs(
 x = 'Group'
 , y = 'RT (ms)'
)> 
> 
> #Re-plot the main effect of group, using the levels
> ##argument to re-arrange/rename levels of group
> group_plot = ezPlot(
+     data = ANT[ANT$error==0,]
+     , dv = .(rt)
+     , wid = .(subnum)
+     , between = .(group)
+     , x = .(group)
+     , do_lines = FALSE
+     , x_lab = 'Group'
+     , y_lab = 'RT (ms)'
+     , levels = list(
+         group = list(
+             new_order = c('Treatment','Control')
+             , new_names = c('Treatment\nGroup','Control\nGroup')
+         )
+     )
+ )
Warning: Collapsing data to cell means. *IF* the requested effects are a subset of the full design, you must use the "within_full" argument, else results may be inaccurate.
Coefficient covariances computed by hccm()
> 
> #Show the plot.
> print(group_plot)
> 
> 
> #Plot the cue*flank interaction.
> cue_by_flank_plot = ezPlot(
+     data = ANT[ANT$error==0,]
+     , dv = .(rt)
+     , wid = .(subnum)
+     , within = .(cue,flank)
+     , x = .(flank)
+     , split = .(cue)
+     , x_lab = 'Flanker'
+     , y_lab = 'RT (ms)'
+     , split_lab = 'Cue'
+ )
Warning: Collapsing data to cell means. *IF* the requested effects are a subset of the full design, you must use the "within_full" argument, else results may be inaccurate.
> 
> #Show the plot.
> print(cue_by_flank_plot)
> 
> 
> #Plot the cue*flank interaction by collapsing the cue effect to
> ##the difference between None and Double
> cue_by_flank_plot2 = ezPlot(
+     data = ANT[ ANT$error==0 & (ANT$cue %in% c('None','Double')) ,]
+     , dv = .(rt)
+     , wid = .(subnum)
+     , within = .(flank)
+     , diff = .(cue)
+     , reverse_diff = TRUE
+     , x = .(flank)
+     , x_lab = 'Flanker'
+     , y_lab = 'RT Effect (None - Double, ms)'
+ )
Warning: Collapsing data to cell means. *IF* the requested effects are a subset of the full design, you must use the "within_full" argument, else results may be inaccurate.
Warning: Collapsing "cue" to a difference score ("None"-"Double") prior to computing statistics.
> 
> #Show the plot.
> print(cue_by_flank_plot2)
> 
> 
> 
> #Plot the group*cue*flank interaction.
> group_by_cue_by_flank_plot = ezPlot(
+     data = ANT[ANT$error==0,]
+     , dv = .(rt)
+     , wid = .(subnum)
+     , within = .(cue,flank)
+     , between = .(group)
+     , x = .(flank)
+     , split = .(cue)
+     , col = .(group)
+     , x_lab = 'Flanker'
+     , y_lab = 'RT (ms)'
+     , split_lab = 'Cue'
+ )
Warning: Collapsing data to cell means. *IF* the requested effects are a subset of the full design, you must use the "within_full" argument, else results may be inaccurate.
Warning: Mixed within-and-between-Ss effect requested; FLSD is only appropriate for within-Ss comparisons (see warning in ?ezStats or ?ezPlot).
Error:
! The `facets` argument of `facet_grid()` was deprecated in ggplot2
  2.2.0 and is now defunct.
ℹ Please use the `rows` argument instead.
Backtrace:
    ▆
 1. └─ez::ezPlot(...)
 2.   ├─base::eval(parse(text = p))
 3.   │ └─base::eval(parse(text = p))
 4.   └─ggplot2::facet_grid(facets = . ~ group, scales = "free_y")
 5.     └─lifecycle::deprecate_stop("2.2.0", "facet_grid(facets)", "facet_grid(rows)")
 6.       └─lifecycle:::deprecate_stop0(msg)
 7.         └─rlang::cnd_signal(...)
Execution halted
- checking PDF version of manual ... [27s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR, 1 NOTE