- using R version 4.4.3 (2025-02-28 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 'gapclosing/DESCRIPTION' ... OK
- this is package 'gapclosing' version '1.0.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 'gapclosing' can be installed ... OK
See the install log for details.
- 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 ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [0s] 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 ... [5s] OK
- checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [8s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [23s] OK
Running 'spelling.R' [0s]
Running 'testthat.R' [23s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [235s] ERROR
Error(s) in re-building vignettes:
--- re-building 'gapclosing.Rmd' using rmarkdown
Quitting from gapclosing.Rmd:113-115 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `dplyr::summarize()`:
ℹ In argument: `x = ifelse(gapclosing.category == category_A, 0.8,
2.2)`.
ℹ In group 1: `gapclosing.category = A`.
Caused by error:
! `x` must be size 1, not 2.
ℹ To return more or less than 1 row per group, use `reframe()`.
---
Backtrace:
▆
1. ├─base::plot(estimate, return_plots = TRUE)
2. ├─gapclosing:::plot.gapclosing(estimate, return_plots = TRUE)
3. │ └─base::lapply(...)
4. │ └─gapclosing (local) FUN(X[[i]], ...)
5. │ └─gapclosing::disparityplot(...)
6. │ ├─ggplot2::geom_text(...)
7. │ │ └─ggplot2::layer(...)
8. │ │ └─ggplot2::fortify(data)
9. │ └─means %>% dplyr::group_by(gapclosing.category) %>% ...
10. ├─dplyr::summarize(...)
11. ├─dplyr:::summarise.grouped_df(...)
12. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
13. │ └─base::withCallingHandlers(...)
14. └─dplyr:::dplyr_internal_error(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'gapclosing.Rmd' failed with diagnostics:
ℹ In argument: `x = ifelse(gapclosing.category == category_A, 0.8,
2.2)`.
ℹ In group 1: `gapclosing.category = A`.
Caused by error:
! `x` must be size 1, not 2.
ℹ To return more or less than 1 row per group, use `reframe()`.
--- failed re-building 'gapclosing.Rmd'
SUMMARY: processing the following file failed:
'gapclosing.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [17s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR